/3.0/rubricator/get
List if categories (3.0)
2GIS API Support: api@2gis.ru URL: https://docs.2gis.com/
Getting category
Displays detailed information about the category by its unique identifier.
query Parameters
| key required | string Unique key of API user. |
| region_id | integer Region ID. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region. |
| point | string Examples:
The coordinate for the region of the rubricator detection. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region. |
| geometry_id | integer Geographical object (city, settlement, etc.) identifier thart will be used to detect rubricator region. You must specify one of the parameters: the region ID, the coordinate, or the city ID to determine the region. |
| id required | integer Category ID. |
| locale | string The locale with which the search is performed and given results. |
Responses
Response Schema: application/json
required | object (ObjMeta) Response metadata |
required | object |
Response samples
- 200
- 400
- 403
- 404
- 500
Content type
application/json
{- "meta": {
- "issue_date": "string",
- "code": 200,
- "api_version": "dev"
}, - "result": {
- "items": [
- {
- "id": "4503719886454906",
- "type": "rubric",
- "org_count": "10",
- "branch_count": "25",
- "title": "Eat out",
- "owner_id": "string",
- "caption": "string",
- "name": "Emergency services",
- "seo_name": "Emergency (emergency on-call) service",
- "icon_url": "string",
- "tag": "appartments"
}
], - "total": 1
}
}