Русский
cURL
curl --request GET \ --url http://dev-backend-1.guestme.space/api/v1/external/restaurant \ --header 'Authorization: Bearer <token>'
{ "totalPages": 123, "totalElements": 123, "pageable": { "unpaged": true, "paged": true, "pageNumber": 123, "pageSize": 123, "offset": 123, "sort": { "unsorted": true, "sorted": true, "empty": true } }, "numberOfElements": 123, "size": 123, "content": [ { "id": 123, "name": "Gussi", "status": "ACTIVE", "description": "Gussi is a good restaurant", "address": { "country": "Russia", "countryCode": "RU", "city": "Moscow", "home": 123, "street": "Lenina", "point": { "x": 123, "y": 123 } }, "info": { "phone": "+79998887766", "site": "<string>", "telegram": "<string>", "vk": "<string>", "iikoUid": "123-456-789", "iikoCrmId": 123456789, "taxNumber": 123456789 }, "properties": { "phoneConfirmationEnabled": true, "guestAcquisitionChannelEnabled": true } } ], "number": 123, "sort": { "unsorted": true, "sorted": true, "empty": true }, "first": true, "last": true, "empty": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Search string for filtering restaurants by name and address
List of restaurant IDs to exclude from results
OK
The response is of type object.
object