Lenses cover
list
request
GET /api/v2/lenses/covers/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
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
}
Path | Type | Description |
---|---|---|
|
|
lenses cover name |
|
|
is lenses cover deleted? |
create
request
POST /api/v2/lenses/covers HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
lenses cover name |
Must not be blank. |
deleted |
Boolean |
is lenses cover deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
lenses cover name |
|
|
is lenses cover deleted? |
get
request
GET /api/v2/lenses/covers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
lenses cover name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
lenses cover name |
|
|
is lenses cover deleted? |
update
request
PUT /api/v2/lenses/covers?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
lenses cover name |
Must not be blank. |
deleted |
Boolean |
is lenses cover deleted? |
Must not be null |
Parameter | Description |
---|---|
|
lenses cover name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/lenses/covers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
lenses cover name |
response
HTTP/1.1 200 OK