Lenses diameter

list

request
GET /api/v2/lenses/diameters/list HTTP/1.1
Parameter Description

value

String to search by name. EX: ?value=test

pageable

Pageable description

response
{
  "content" : [ {
    "value" : 50,
    "deleted" : false
  }, {
    "value" : 52,
    "deleted" : false
  }, {
    "value" : 55,
    "deleted" : false
  }, {
    "value" : 56,
    "deleted" : false
  }, {
    "value" : 60,
    "deleted" : false
  }, {
    "value" : 65,
    "deleted" : false
  }, {
    "value" : 67,
    "deleted" : false
  }, {
    "value" : 70,
    "deleted" : false
  }, {
    "value" : 72,
    "deleted" : false
  }, {
    "value" : 73,
    "deleted" : false
  }, {
    "value" : 74,
    "deleted" : false
  }, {
    "value" : 75,
    "deleted" : false
  }, {
    "value" : 76,
    "deleted" : false
  }, {
    "value" : 80,
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 14,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 14,
  "empty" : false
}
Table 738. response description
Path Type Description

value

Number

lenses diameter value

deleted

Boolean

is lenses diameter deleted?

create

request
POST /api/v2/lenses/diameters HTTP/1.1

{
  "value" : 11,
  "deleted" : false
}
Table 739. request description
Path Type Description Constraints

value

Number

lenses diameter value

Must be at least 0.
Must be at most 999.
Must not be null

deleted

Boolean

is lenses diameter deleted?

Must not be null

response
{
  "value" : 11,
  "deleted" : false
}
Table 740. response description
Path Type Description

value

Number

lenses diameter value

deleted

Boolean

is lenses diameter deleted?

get

request
GET /api/v2/lenses/diameters?value=11 HTTP/1.1
Table 741. request description
Parameter Description

value

lenses diameter value

response
{
  "value" : 11,
  "deleted" : false
}
Table 742. response description
Path Type Description

value

Number

lenses diameter value

deleted

Boolean

is lenses diameter deleted?

update

request
PUT /api/v2/lenses/diameters?value=11 HTTP/1.1

{
  "value" : 11,
  "deleted" : false
}
Table 743. request description
Path Type Description Constraints

value

Number

lenses diameter value

Must be at least 0.
Must be at most 999.
Must not be null

deleted

Boolean

is lenses diameter deleted?

Must not be null

Parameter Description

value

lenses diameter value

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/lenses/diameters?value=11 HTTP/1.1
Table 744. request description
Parameter Description

value

lenses diameter value

response
HTTP/1.1 200 OK