Security
BearerPartner
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/cities
- Productionhttps://api.alteg.io/api/v1/cities
curl -i -X GET \
'https://developer.alteg.io/_mock/en/developers/openapi/cities?country_id=0&company_id=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
Example:
[ { "id": 2, "country_id": 7, "title": "New York" }, { "id": 1040, "country_id": 30, "title": "Belfast" }, { "id": 1201, "country_id": 38, "title": "București" }, { "id": 1334, "country_id": 31, "title": "Budapest" } ]
Response
{ "success": true, "data": [ { … }, { … }, { … }, { … } ], "meta": [] }