Lenses cover

list

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

name

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

pageable

Pageable description

response
{
  "content" : [ {
    "name" : "-",
    "deleted" : false
  }, {
    "name" : "Blue Cut",
    "deleted" : false
  }, {
    "name" : "Blue Shild",
    "deleted" : false
  }, {
    "name" : "CC STOK",
    "deleted" : false
  }, {
    "name" : "Clar's",
    "deleted" : false
  }, {
    "name" : "Combi NT",
    "deleted" : false
  }, {
    "name" : "Crizal A2",
    "deleted" : false
  }, {
    "name" : "Crizal Alize",
    "deleted" : false
  }, {
    "name" : "Crizal Alize UV",
    "deleted" : false
  }, {
    "name" : "Crizal Alize+",
    "deleted" : false
  }, {
    "name" : "Crizal Alize+ UV",
    "deleted" : false
  }, {
    "name" : "Crizal Alize+ UVX",
    "deleted" : false
  }, {
    "name" : "Crizal Easy",
    "deleted" : false
  }, {
    "name" : "Crizal Easy UV",
    "deleted" : false
  }, {
    "name" : "Crizal Forte",
    "deleted" : false
  }, {
    "name" : "Crizal Forte UV",
    "deleted" : false
  }, {
    "name" : "Crizal Prevencia",
    "deleted" : false
  }, {
    "name" : "DVBP UV",
    "deleted" : false
  }, {
    "name" : "DVDS UV",
    "deleted" : false
  }, {
    "name" : "DVP UV",
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : false,
  "totalElements" : 68,
  "totalPages" : 4,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 20,
  "empty" : false
}
Table 731. response description
Path Type Description

name

String

lenses cover name

deleted

Boolean

is lenses cover deleted?

create

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

{
  "name" : "Test",
  "deleted" : false
}
Table 732. request description
Path Type Description Constraints

name

String

lenses cover name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is lenses cover deleted?

Must not be null

response
{
  "name" : "Test",
  "deleted" : false
}
Table 733. response description
Path Type Description

name

String

lenses cover name

deleted

Boolean

is lenses cover deleted?

get

request
GET /api/v2/lenses/covers?name=Test HTTP/1.1
Table 734. request description
Parameter Description

name

lenses cover name

response
{
  "name" : "Test",
  "deleted" : false
}
Table 735. response description
Path Type Description

name

String

lenses cover name

deleted

Boolean

is lenses cover deleted?

update

request
PUT /api/v2/lenses/covers?name=Test HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 736. request description
Path Type Description Constraints

name

String

lenses cover name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is lenses cover deleted?

Must not be null

Parameter Description

name

lenses cover name

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/lenses/covers?name=Test HTTP/1.1
Table 737. request description
Parameter Description

name

lenses cover name

response
HTTP/1.1 200 OK