Sunglasses manufacturer
list
GET /api/v2/sunglasses/manufacturers/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?name=test |
|
{
"content" : [ {
"name" : "-",
"deleted" : false
}, {
"name" : "Kering",
"deleted" : false
}, {
"name" : "Дания",
"deleted" : false
}, {
"name" : "Италия",
"deleted" : false
}, {
"name" : "Китай",
"deleted" : false
}, {
"name" : "Польша",
"deleted" : false
}, {
"name" : "Россия",
"deleted" : false
}, {
"name" : "Франция",
"deleted" : false
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 20,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : true,
"totalElements" : 8,
"totalPages" : 1,
"first" : true,
"size" : 20,
"number" : 0,
"sort" : {
"empty" : true,
"sorted" : false,
"unsorted" : true
},
"numberOfElements" : 8,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
sunglasses manufacturer name |
|
|
is sunglasses manufacturer deleted? |
create
POST /api/v2/sunglasses/manufacturers HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
sunglasses manufacturer name |
Must not be blank. |
deleted |
Boolean |
is sunglasses manufacturer deleted? |
Must not be null |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
sunglasses manufacturer name |
|
|
is sunglasses manufacturer deleted? |
get
GET /api/v2/sunglasses/manufacturers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
sunglasses manufacturer name |
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
sunglasses manufacturer name |
|
|
is sunglasses manufacturer deleted? |
update
PUT /api/v2/sunglasses/manufacturers?name=Test HTTP/1.1
{
"name" : "Test",
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
sunglasses manufacturer name |
Must not be blank. |
deleted |
Boolean |
is sunglasses manufacturer deleted? |
Must not be null |
Parameter | Description |
---|---|
|
sunglasses manufacturer name |
HTTP/1.1 200 OK
delete
DELETE /api/v2/sunglasses/manufacturers?name=Test HTTP/1.1
Parameter | Description |
---|---|
|
sunglasses manufacturer name |
HTTP/1.1 200 OK