Directories
OpenAPI Specification
Public API (0.0.0)
2GIS GeoFlow Public API
Getting a list of directories
Returns a page with a list of directories and their objects.
Authorizations:
BearerAuth
query Parameters
| limit required | integer Maximum number of directories in the response, from 1 to 100. |
| cursor | string Cursor for getting the next or previous page of results. |
Responses
Response Schema: application/json
required | object (CursorResponse) Cursors for the next and previous result pages. |
required | Array of objects (DictionaryResponse) Current page items. |
Response samples
- 200
- 400
- 401
- 500
Content type
application/json
{- "cursor": {
- "next": "string",
- "prev": "string"
}, - "items": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "items": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "ordering": 0,
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}