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