Endpoints
Production: https://api.gismenu.ru
Stage: https://api-stage.gismenu.ru
Cities
Cities get all
GET /1/p/cities HTTP/1.1
| Name | Type | Optional | Default |
|---|---|---|---|
from |
int |
Optional |
0 |
size |
int |
Optional |
100 |
code |
string |
Optional |
|
whiteLabel |
string |
Optional |
Whitelabel name for search |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 1,
"code" : null,
"country" : "RUR",
"name" : "Paris",
"fullName" : "Paris is cool",
"bounds" : null,
"center" : {
"lat" : 0.0,
"lng" : 0.0
},
"zoom" : null,
"whiteLabels" : [ ]
}, {
"id" : 2,
"code" : "Ekaterinburg",
"country" : "RU",
"name" : "Екатеринбург",
"fullName" : "Екатеринбург",
"bounds" : [ {
"lat" : 60.491959,
"lng" : 56.783399
}, {
"lat" : 60.710298,
"lng" : 56.783399
}, {
"lat" : 60.710298,
"lng" : 56.904786
}, {
"lat" : 60.491959,
"lng" : 56.904786
}, {
"lat" : 60.491959,
"lng" : 56.783399
} ],
"center" : {
"lat" : 60.6038352,
"lng" : 56.839783
},
"zoom" : 12.19,
"whiteLabels" : [ ]
}, {
"id" : 3,
"code" : null,
"country" : "RU",
"name" : "Санкт-Петербург",
"fullName" : "Санкт-Петербург",
"bounds" : null,
"center" : {
"lat" : 0.0,
"lng" : 0.0
},
"zoom" : null,
"whiteLabels" : [ "summer-patio" ]
} ]
Find city by code
GET /1/p/cities?code=ekaterinburg HTTP/1.1
Cities get by id
GET /1/p/cities/2 HTTP/1.1
HTTP/1.1 200 OK
content-type: application/json
{
"id" : 2,
"code" : "Ekaterinburg",
"country" : "RU",
"name" : "Екатеринбург",
"fullName" : "Екатеринбург",
"bounds" : [ {
"lat" : 60.491959,
"lng" : 56.783399
}, {
"lat" : 60.710298,
"lng" : 56.783399
}, {
"lat" : 60.710298,
"lng" : 56.904786
}, {
"lat" : 60.491959,
"lng" : 56.904786
}, {
"lat" : 60.491959,
"lng" : 56.783399
} ],
"center" : {
"lat" : 60.6038352,
"lng" : 56.839783
},
"zoom" : 12.19,
"whiteLabels" : [ ]
}
Position groups
Position groups find by menu id
GET /1/p/menus/2/position-groups HTTP/1.1
menuId |
int |
from |
int |
Optional |
Default 0 |
size |
int |
Optional |
Default 10000 |
q |
string |
Optional |
Filter by name field |
| Response items sorted by order ASC |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 2,
"name" : "position group",
"order" : 1,
"menuId" : 2,
"photos" : [ ]
}, {
"id" : 3,
"name" : "position group with photos",
"order" : 2,
"menuId" : 2,
"photos" : [ "https://api-stage.gismenu.ru/1/photos/5", "https://api-stage.gismenu.ru/1/photos/6" ]
} ]
Positions
Positions find by menu id
GET /1/p/menus/2/positions HTTP/1.1
menuId |
int |
from |
int |
Optional |
Default 0 |
size |
int |
Optional |
Default 10000 |
q |
string |
Optional |
Filter by name field |
| Response items sorted by order ASC |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 4,
"name" : "position in group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.570Z",
"order" : 3,
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/7", "https://api-stage.gismenu.ru/1/photos/8" ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : {
"id" : 2,
"name" : "position group",
"order" : 1
},
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 1,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 2,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 3,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 5,
"name" : "шаверма without group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.628Z",
"order" : 4,
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/9", "https://api-stage.gismenu.ru/1/photos/10" ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 4,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 5,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 6,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 6,
"name" : "шаурма without photos and group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.641Z",
"order" : 5,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 9,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
}, {
"id" : 8,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 7,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 7,
"name" : "шава without photos and group and tags",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.660Z",
"order" : 6,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 10,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 11,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 12,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 8,
"name" : "Блюдо для теста синонимов содержит искомый тег",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.677Z",
"order" : 7,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 50,
"type" : "POSITION",
"code" : null,
"name" : "шаверма",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 14,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 15,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
}, {
"id" : 13,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 11,
"name" : "Блюдо для группы с фото",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.716Z",
"order" : 10,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : {
"id" : 3,
"name" : "position group with photos",
"order" : 2
},
"tags" : [ ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 19,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 20,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 21,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : true,
"availableForPreOrder" : true
} ]
Positions find by params
GET /1/p/positions?from=0&size=20&q=%D1%88%D0%B0%D0%B2%D0%B5%D1%80%D0%BC%D0%B0&cityId=3&priceMin=5000&priceMax=15000&hasPhotos=true HTTP/1.1
cityId |
int |
||
from |
int |
Optional |
Default 0 |
size |
int |
Optional |
Default 30 |
q |
string |
Optional |
Filter by fields name, positionGroup.name, tags.name |
hasPhoto |
boolean |
Optional |
|
priceMin |
int |
Optional |
Position price min |
priceMax |
int |
Optional |
Position price max |
tagIds |
int[] |
Optional |
Array of tag ids |
| Response items sorted by _score DESC, name ASC |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 5,
"name" : "шаверма without group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.628Z",
"order" : 4,
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/9", "https://api-stage.gismenu.ru/1/photos/10" ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 4,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 5,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 6,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 8,
"name" : "Блюдо для теста синонимов содержит искомый тег",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.677Z",
"order" : 7,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 50,
"type" : "POSITION",
"code" : null,
"name" : "шаверма",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 14,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 15,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
}, {
"id" : 13,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 10,
"name" : "Блюдо для теста синонимов состоит в искомой группе",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.706Z",
"order" : 9,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 4,
"name" : "menu synonym",
"delivery" : false
},
"positionGroup" : {
"id" : 9,
"name" : "Шаверма",
"order" : 8
},
"tags" : [ ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 16,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 17,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 18,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 7,
"name" : "шава without photos and group and tags",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.660Z",
"order" : 6,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 10,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 11,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 12,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}, {
"id" : 6,
"name" : "шаурма without photos and group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.641Z",
"order" : 5,
"cityIds" : [ 3 ],
"photos" : [ ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : null,
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 9,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
}, {
"id" : 8,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 7,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
} ]
Positions get by id
GET /1/p/positions/4 HTTP/1.1
HTTP/1.1 200 OK
content-type: application/json
{
"id" : 4,
"name" : "position in group",
"description" : null,
"price" : 10000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T06:21:42.570Z",
"order" : 3,
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/7", "https://api-stage.gismenu.ru/1/photos/8" ],
"menu" : {
"id" : 2,
"name" : "menu moderating",
"delivery" : false
},
"positionGroup" : {
"id" : 2,
"name" : "position group",
"order" : 1
},
"tags" : [ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 0
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 0
} ],
"restos" : [ {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"delivery" : false
}, {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"delivery" : false
} ],
"yields" : [ {
"id" : 1,
"order" : 1,
"yieldType" : "KG",
"value" : 100000
}, {
"id" : 2,
"order" : 2,
"yieldType" : "KG",
"value" : 110000
}, {
"id" : 3,
"order" : 3,
"yieldType" : "KG",
"value" : 120000
} ],
"hasModifiers" : false,
"availableForPreOrder" : true
}
Position modifiers get by position id
GET /1/p/positions/11/modifiers HTTP/1.1
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 1,
"minCount" : 0,
"maxCount" : 5,
"name" : "modifier-name-0",
"items" : [ {
"id" : 1,
"order" : 0,
"name" : "modifier-item-0",
"price" : 100,
"minCount" : 1,
"maxCount" : 5,
"yields" : [ {
"order" : 0,
"yieldType" : "LITER",
"value" : 1
} ]
} ]
}, {
"id" : 2,
"minCount" : 2,
"maxCount" : 3,
"name" : "modifier-name-1",
"items" : [ {
"id" : 2,
"order" : 0,
"name" : "modifier-item-1",
"price" : 400,
"minCount" : 2,
"maxCount" : 55,
"yields" : [ {
"order" : 0,
"yieldType" : "LITER",
"value" : 1
} ]
} ]
} ]
Restos
Restos find by params
GET /1/p/restos?from=0&size=20&cityId=3 HTTP/1.1
cityId |
int |
Required |
City id |
from |
int |
Optional |
Default 0 |
size |
int |
Optional |
Default 10000 |
lang |
string |
Optional |
Language for search, default 'ru' |
q |
string |
Optional |
Filter by resto name field and tag name field |
hasPhoto |
boolean |
Optional |
Filter restos with photos |
averageCheckMin |
integer |
Optional |
Minimum AverageCheck |
averageCheckMax |
integer |
Optional |
Maximum AverageCheck |
payIds |
array of integer |
Optional |
id of resto pays. Фильтр по вариантам оплаты, работает через OR |
tagIds |
array of integer |
Optional |
id of tags. Фильтр по тегам заведений |
whiteLabel |
string |
Optional |
Whitelabel name for search |
deliveryLocation |
String |
Optional |
Used only with whiteLabel request query parameter. For search by deliveryLocation and whiteLabel /1/p/restos?whiteLabel=summer-patio&deliveryLocation=56.839783%2C60.6038352 |
| Response items sorted by _score DESC, name ASC |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 2,
"name" : "вторая шаурмачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/3" ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 200000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:41.919Z",
"openingHours" : [ {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
} ],
"tags" : [ {
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ]
} ],
"pays" : [ {
"id" : 30,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Наличные",
"photos" : [ ]
} ],
"menus" : [ {
"id" : 2,
"name" : "menu moderating",
"order" : 0,
"isDelivery" : true,
"isOnline" : true,
"isTable" : true,
"isTakeAway" : false
}, {
"id" : 4,
"name" : "menu synonym",
"order" : 2,
"isDelivery" : false,
"isOnline" : true,
"isTable" : true,
"isTakeAway" : false
} ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"delivery" : true,
"isDelivery" : true
}, {
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 100000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:41.870Z",
"openingHours" : [ {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
} ],
"tags" : [ {
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ]
}, {
"id" : 2,
"type" : "RESTO",
"code" : null,
"name" : "Суши",
"photos" : [ ]
}, {
"id" : 3,
"type" : "RESTO",
"code" : null,
"name" : "Пицца",
"photos" : [ ]
}, {
"id" : 4,
"type" : "RESTO",
"code" : null,
"name" : "Здоровая еда",
"photos" : [ ]
}, {
"id" : 5,
"type" : "RESTO",
"code" : null,
"name" : "Лапша Box",
"photos" : [ ]
}, {
"id" : 6,
"type" : "RESTO",
"code" : null,
"name" : "Вегетарианское меню",
"photos" : [ ]
}, {
"id" : 7,
"type" : "RESTO",
"code" : null,
"name" : "Шаверма",
"photos" : [ ]
}, {
"id" : 8,
"type" : "RESTO",
"code" : null,
"name" : "Стейки",
"photos" : [ ]
}, {
"id" : 9,
"type" : "RESTO",
"code" : null,
"name" : "Десерты",
"photos" : [ ]
}, {
"id" : 10,
"type" : "RESTO",
"code" : null,
"name" : "Грузинская кухня",
"photos" : [ ]
}, {
"id" : 11,
"type" : "RESTO",
"code" : null,
"name" : "Абхазкая кухня",
"photos" : [ ]
}, {
"id" : 12,
"type" : "RESTO",
"code" : null,
"name" : "Австралийская кухня",
"photos" : [ ]
}, {
"id" : 13,
"type" : "RESTO",
"code" : null,
"name" : "Австрийская кухня",
"photos" : [ ]
}, {
"id" : 14,
"type" : "RESTO",
"code" : null,
"name" : "Авторская кухня",
"photos" : [ ]
}, {
"id" : 15,
"type" : "RESTO",
"code" : null,
"name" : "Адыгская кухня",
"photos" : [ ]
}, {
"id" : 16,
"type" : "RESTO",
"code" : null,
"name" : "Азербайджанская кухня",
"photos" : [ ]
}, {
"id" : 17,
"type" : "RESTO",
"code" : null,
"name" : "Американская кухня",
"photos" : [ ]
}, {
"id" : 18,
"type" : "RESTO",
"code" : null,
"name" : "Английская кухня",
"photos" : [ ]
}, {
"id" : 19,
"type" : "RESTO",
"code" : null,
"name" : "Арабская кухня",
"photos" : [ ]
}, {
"id" : 20,
"type" : "RESTO",
"code" : null,
"name" : "Аргентинская кухня",
"photos" : [ ]
}, {
"id" : 21,
"type" : "RESTO",
"code" : null,
"name" : "Китайская кухня",
"photos" : [ ]
}, {
"id" : 22,
"type" : "RESTO",
"code" : null,
"name" : "Завтраки",
"photos" : [ ]
}, {
"id" : 23,
"type" : "RESTO",
"code" : null,
"name" : "Русская",
"photos" : [ ]
}, {
"id" : 24,
"type" : "RESTO",
"code" : null,
"name" : "Сирийская кухня",
"photos" : [ ]
}, {
"id" : 25,
"type" : "RESTO",
"code" : null,
"name" : "Домашняя кухня",
"photos" : [ ]
}, {
"id" : 26,
"type" : "RESTO",
"code" : null,
"name" : "Для детей",
"photos" : [ ]
}, {
"id" : 27,
"type" : "RESTO",
"code" : null,
"name" : "Пироги",
"photos" : [ ]
}, {
"id" : 28,
"type" : "RESTO",
"code" : null,
"name" : "Шашлык",
"photos" : [ ]
}, {
"id" : 29,
"type" : "RESTO",
"code" : null,
"name" : "Халяль",
"photos" : [ ]
}, {
"id" : 43,
"type" : "RESTO",
"code" : null,
"name" : "Итальянская кухня",
"photos" : [ ]
}, {
"id" : 44,
"type" : "RESTO",
"code" : null,
"name" : "Европейская кухня",
"photos" : [ ]
}, {
"id" : 45,
"type" : "RESTO",
"code" : null,
"name" : "Японская кухня",
"photos" : [ ]
}, {
"id" : 46,
"type" : "RESTO",
"code" : null,
"name" : "Украинская кухня",
"photos" : [ ]
}, {
"id" : 47,
"type" : "RESTO",
"code" : null,
"name" : "Кофе",
"photos" : [ ]
} ],
"pays" : [ {
"id" : 30,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Наличные",
"photos" : [ ]
}, {
"id" : 31,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Безналичные",
"photos" : [ ]
} ],
"menus" : [ {
"id" : 2,
"name" : "menu moderating",
"order" : 0,
"isDelivery" : true,
"isOnline" : true,
"isTable" : false,
"isTakeAway" : true
}, {
"id" : 4,
"name" : "menu synonym",
"order" : 2,
"isDelivery" : false,
"isOnline" : true,
"isTable" : false,
"isTakeAway" : true
} ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"delivery" : true,
"isDelivery" : true
}, {
"id" : 4,
"name" : "ресторан Синонимов",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 400000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:41.974Z",
"openingHours" : [ {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
} ],
"tags" : [ ],
"pays" : [ ],
"menus" : [ ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"delivery" : true,
"isDelivery" : true
}, {
"id" : 5,
"name" : "ресторан без среднего чека",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/4" ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 0,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:42.001Z",
"openingHours" : [ {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
} ],
"tags" : [ ],
"pays" : [ ],
"menus" : [ ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"delivery" : true,
"isDelivery" : true
}, {
"id" : 3,
"name" : "шаверма для всех",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 300000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:41.949Z",
"openingHours" : [ {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}, {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
} ],
"tags" : [ {
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ]
}, {
"id" : 2,
"type" : "RESTO",
"code" : null,
"name" : "Суши",
"photos" : [ ]
}, {
"id" : 3,
"type" : "RESTO",
"code" : null,
"name" : "Пицца",
"photos" : [ ]
} ],
"pays" : [ {
"id" : 30,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Наличные",
"photos" : [ ]
}, {
"id" : 31,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Безналичные",
"photos" : [ ]
} ],
"menus" : [ ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"delivery" : true,
"isDelivery" : true
} ]
Restos get by id
GET /1/p/restos/1 HTTP/1.1
HTTP/1.1 200 OK
content-type: application/json
{
"id" : 1,
"name" : "первая шавермачная",
"description" : "setDescription",
"street" : "Туристская улица, 28 корпус 1",
"cityIds" : [ 3 ],
"photos" : [ "https://api-stage.gismenu.ru/1/photos/1", "https://api-stage.gismenu.ru/1/photos/2" ],
"address" : "197082, Россия, Санкт-Петербург, Туристская улица, 28 корпус 1",
"averageCheck" : 100000,
"currency" : "RUB",
"updatedAt" : "2024-10-05T09:21:41.870Z",
"openingHours" : {
"FRIDAY" : {
"dayOfWeek" : "FRIDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"SUNDAY" : {
"dayOfWeek" : "SUNDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"THURSDAY" : {
"dayOfWeek" : "THURSDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"MONDAY" : {
"dayOfWeek" : "MONDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"WEDNESDAY" : {
"dayOfWeek" : "WEDNESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"TUESDAY" : {
"dayOfWeek" : "TUESDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
},
"SATURDAY" : {
"dayOfWeek" : "SATURDAY",
"open" : "12:21",
"close" : "12:21",
"active" : true
}
},
"tags" : [ {
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ]
}, {
"id" : 2,
"type" : "RESTO",
"code" : null,
"name" : "Суши",
"photos" : [ ]
}, {
"id" : 3,
"type" : "RESTO",
"code" : null,
"name" : "Пицца",
"photos" : [ ]
}, {
"id" : 4,
"type" : "RESTO",
"code" : null,
"name" : "Здоровая еда",
"photos" : [ ]
}, {
"id" : 5,
"type" : "RESTO",
"code" : null,
"name" : "Лапша Box",
"photos" : [ ]
}, {
"id" : 6,
"type" : "RESTO",
"code" : null,
"name" : "Вегетарианское меню",
"photos" : [ ]
}, {
"id" : 7,
"type" : "RESTO",
"code" : null,
"name" : "Шаверма",
"photos" : [ ]
}, {
"id" : 8,
"type" : "RESTO",
"code" : null,
"name" : "Стейки",
"photos" : [ ]
}, {
"id" : 9,
"type" : "RESTO",
"code" : null,
"name" : "Десерты",
"photos" : [ ]
}, {
"id" : 10,
"type" : "RESTO",
"code" : null,
"name" : "Грузинская кухня",
"photos" : [ ]
}, {
"id" : 11,
"type" : "RESTO",
"code" : null,
"name" : "Абхазкая кухня",
"photos" : [ ]
}, {
"id" : 12,
"type" : "RESTO",
"code" : null,
"name" : "Австралийская кухня",
"photos" : [ ]
}, {
"id" : 13,
"type" : "RESTO",
"code" : null,
"name" : "Австрийская кухня",
"photos" : [ ]
}, {
"id" : 14,
"type" : "RESTO",
"code" : null,
"name" : "Авторская кухня",
"photos" : [ ]
}, {
"id" : 15,
"type" : "RESTO",
"code" : null,
"name" : "Адыгская кухня",
"photos" : [ ]
}, {
"id" : 16,
"type" : "RESTO",
"code" : null,
"name" : "Азербайджанская кухня",
"photos" : [ ]
}, {
"id" : 17,
"type" : "RESTO",
"code" : null,
"name" : "Американская кухня",
"photos" : [ ]
}, {
"id" : 18,
"type" : "RESTO",
"code" : null,
"name" : "Английская кухня",
"photos" : [ ]
}, {
"id" : 19,
"type" : "RESTO",
"code" : null,
"name" : "Арабская кухня",
"photos" : [ ]
}, {
"id" : 20,
"type" : "RESTO",
"code" : null,
"name" : "Аргентинская кухня",
"photos" : [ ]
}, {
"id" : 21,
"type" : "RESTO",
"code" : null,
"name" : "Китайская кухня",
"photos" : [ ]
}, {
"id" : 22,
"type" : "RESTO",
"code" : null,
"name" : "Завтраки",
"photos" : [ ]
}, {
"id" : 23,
"type" : "RESTO",
"code" : null,
"name" : "Русская",
"photos" : [ ]
}, {
"id" : 24,
"type" : "RESTO",
"code" : null,
"name" : "Сирийская кухня",
"photos" : [ ]
}, {
"id" : 25,
"type" : "RESTO",
"code" : null,
"name" : "Домашняя кухня",
"photos" : [ ]
}, {
"id" : 26,
"type" : "RESTO",
"code" : null,
"name" : "Для детей",
"photos" : [ ]
}, {
"id" : 27,
"type" : "RESTO",
"code" : null,
"name" : "Пироги",
"photos" : [ ]
}, {
"id" : 28,
"type" : "RESTO",
"code" : null,
"name" : "Шашлык",
"photos" : [ ]
}, {
"id" : 29,
"type" : "RESTO",
"code" : null,
"name" : "Халяль",
"photos" : [ ]
}, {
"id" : 43,
"type" : "RESTO",
"code" : null,
"name" : "Итальянская кухня",
"photos" : [ ]
}, {
"id" : 44,
"type" : "RESTO",
"code" : null,
"name" : "Европейская кухня",
"photos" : [ ]
}, {
"id" : 45,
"type" : "RESTO",
"code" : null,
"name" : "Японская кухня",
"photos" : [ ]
}, {
"id" : 46,
"type" : "RESTO",
"code" : null,
"name" : "Украинская кухня",
"photos" : [ ]
}, {
"id" : 47,
"type" : "RESTO",
"code" : null,
"name" : "Кофе",
"photos" : [ ]
} ],
"pays" : [ {
"id" : 30,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Наличные",
"photos" : [ ]
}, {
"id" : 31,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Безналичные",
"photos" : [ ]
} ],
"menus" : [ {
"id" : 2,
"name" : "menu moderating",
"order" : 0,
"isDelivery" : true,
"isOnline" : true,
"isTable" : false,
"isTakeAway" : true
}, {
"id" : 4,
"name" : "menu synonym",
"order" : 2,
"isDelivery" : false,
"isOnline" : true,
"isTable" : false,
"isTakeAway" : true
} ],
"links" : [ ],
"phones" : [ ],
"emails" : [ ],
"whiteLabel" : "summer-patio",
"deliveryZones" : [ {
"name" : "dz",
"polygon" : [ {
"lat" : 60.49195999,
"lng" : 56.783391234
}, {
"lat" : 60.71029899,
"lng" : 56.783391234
}, {
"lat" : 60.71029899,
"lng" : 56.904786999
}, {
"lat" : 60.49195999,
"lng" : 56.904786999
}, {
"lat" : 60.49195999,
"lng" : 56.783391234
} ],
"rules" : null
} ],
"location" : {
"lat" : 60.0032089,
"lng" : 30.2094682
},
"isDelivery" : true
}
Tags
Tags find by params
GET /1/p/tags?from=0&size=30 HTTP/1.1
from |
int |
Optional |
Default 0 |
size |
int |
Optional |
Default 30 |
hasPhoto |
boolean |
Optional |
|
q |
string |
Optional |
Filter by name field |
tagType |
enum |
Optional |
RESTO, RESTO_PAY, POSITION, ALCOHOL |
| Response items sorted by itemsCount DESC |
HTTP/1.1 200 OK
content-type: application/json
[ {
"id" : 32,
"type" : "POSITION",
"code" : null,
"name" : "Вегетарианское блюдо",
"photos" : [ ],
"itemsCount" : 3,
"special" : null
}, {
"id" : 33,
"type" : "POSITION",
"code" : null,
"name" : "Острое",
"photos" : [ ],
"itemsCount" : 3,
"special" : null
}, {
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ],
"itemsCount" : 3,
"special" : null
}, {
"id" : 30,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Наличные",
"photos" : [ ],
"itemsCount" : 3,
"special" : null
}, {
"id" : 2,
"type" : "RESTO",
"code" : null,
"name" : "Суши",
"photos" : [ ],
"itemsCount" : 2,
"special" : null
}, {
"id" : 3,
"type" : "RESTO",
"code" : null,
"name" : "Пицца",
"photos" : [ ],
"itemsCount" : 2,
"special" : null
}, {
"id" : 31,
"type" : "RESTO_PAY",
"code" : null,
"name" : "Безналичные",
"photos" : [ ],
"itemsCount" : 2,
"special" : null
}, {
"id" : 50,
"type" : "POSITION",
"code" : null,
"name" : "шаверма",
"photos" : [ "https://api-stage.gismenu.ru/1/photos/11" ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 4,
"type" : "RESTO",
"code" : null,
"name" : "Здоровая еда",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 5,
"type" : "RESTO",
"code" : null,
"name" : "Лапша Box",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 6,
"type" : "RESTO",
"code" : null,
"name" : "Вегетарианское меню",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 7,
"type" : "RESTO",
"code" : null,
"name" : "Шаверма",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 8,
"type" : "RESTO",
"code" : null,
"name" : "Стейки",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 9,
"type" : "RESTO",
"code" : null,
"name" : "Десерты",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 10,
"type" : "RESTO",
"code" : null,
"name" : "Грузинская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 11,
"type" : "RESTO",
"code" : null,
"name" : "Абхазкая кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 12,
"type" : "RESTO",
"code" : null,
"name" : "Австралийская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 13,
"type" : "RESTO",
"code" : null,
"name" : "Австрийская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 14,
"type" : "RESTO",
"code" : null,
"name" : "Авторская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 15,
"type" : "RESTO",
"code" : null,
"name" : "Адыгская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 16,
"type" : "RESTO",
"code" : null,
"name" : "Азербайджанская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 17,
"type" : "RESTO",
"code" : null,
"name" : "Американская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 18,
"type" : "RESTO",
"code" : null,
"name" : "Английская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 19,
"type" : "RESTO",
"code" : null,
"name" : "Арабская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 20,
"type" : "RESTO",
"code" : null,
"name" : "Аргентинская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 21,
"type" : "RESTO",
"code" : null,
"name" : "Китайская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 22,
"type" : "RESTO",
"code" : null,
"name" : "Завтраки",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 23,
"type" : "RESTO",
"code" : null,
"name" : "Русская",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 24,
"type" : "RESTO",
"code" : null,
"name" : "Сирийская кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
}, {
"id" : 25,
"type" : "RESTO",
"code" : null,
"name" : "Домашняя кухня",
"photos" : [ ],
"itemsCount" : 1,
"special" : null
} ]
Tag get by id
GET /1/p/tags/1 HTTP/1.1
HTTP/1.1 200 OK
content-type: application/json
{
"id" : 1,
"type" : "RESTO",
"code" : null,
"name" : "Бургеры",
"photos" : [ ],
"itemsCount" : 3,
"special" : null
}