Lenses technology
list
request
GET /api/v2/lenses/technologies/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
response
{
"content" : [ {
"name" : "Blue Zero",
"deleted" : false
}, {
"name" : "Blue-Shield",
"deleted" : false
}, {
"name" : "BlueControl",
"deleted" : false
}, {
"name" : "DEG-1.0",
"deleted" : false
}, {
"name" : "DEG-1.5",
"deleted" : false
}, {
"name" : "Deg-2.0",
"deleted" : false
}, {
"name" : "Degression Power",
"deleted" : false
}, {
"name" : "DriveWear",
"deleted" : false
}, {
"name" : "Office Degression Power 1.00",
"deleted" : false
}, {
"name" : "Office Degression Power 1.33",
"deleted" : false
}, {
"name" : "PhotoFusion",
"deleted" : false
}, {
"name" : "Polarising",
"deleted" : false
}, {
"name" : "Progressive Fpal",
"deleted" : false
}, {
"name" : "SunSwift",
"deleted" : false
}, {
"name" : "Suntech",
"deleted" : false
}, {
"name" : "Transitions",
"deleted" : false
}, {
"name" : "Transitions 7",
"deleted" : false
}, {
"name" : "Transitions V",
"deleted" : false
}, {
"name" : "Transitions VI",
"deleted" : false
}, {
"name" : "Transitions VII",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : false,
"totalElements" : 28,
"totalPages" : 2,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 20,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
lenses technology name |
|
|
is lenses technology deleted? |
create
request
POST /api/v2/lenses/technologies HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
lenses technology name |
Must not be blank. |
deleted |
Boolean |
is lenses technology deleted? |
Must not be null |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
lenses technology name |
|
|
is lenses technology deleted? |
get
request
GET /api/v2/lenses/technologies?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
lenses technology name |
response
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
lenses technology name |
|
|
is lenses technology deleted? |
update
request
PUT /api/v2/lenses/technologies?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
lenses technology name |
Must not be blank. |
deleted |
Boolean |
is lenses technology deleted? |
Must not be null |
Parameter | Description |
---|---|
|
lenses technology name |
response
HTTP/1.1 200 OK
delete
request
DELETE /api/v2/lenses/technologies?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
lenses technology name |
response
HTTP/1.1 200 OK