Categories
Category information
This endpoint lets you retrieve the data of a specific category.
get/categories/{category_id}
Path parameters
Query parameters
lang'fr' | 'en' | 'es' | 'it' | 'pt-br' | 'de' | 'ar' | 'nl' | 'pl' | 'cs' | 'ca' | 'sk' | 'pt' | 'lv' | 'ro' | 'bg' | 'hu'
Available language in the application
Example:fr
Language to get the category name. If not given, the user's language is used.
return_liveboolean
Return the corresponding live category instead of the requested category
with_namesboolean
Returns an object representing the list of translations in the available languages for the requested category. See example on the right.
If with_names is true, the translations will appear in the field names
with_countriesboolean
Returns an array of strings representing the list of country codes in which the requested category is available.
If with_countries is true, the country list will appear in the field countries
Response
OK
Example response
{
"id": 42,
"gmb_id": "gcid:climbing_gym",
"name": "Cabinet d'expertise comptable",
"names": [
{
"name": "salle d'escalade",
"lang": "FR"
}
],
"state": "OK",
"countries": [
"FR",
"GB",
"IT",
"ES"
],
"live_id": "gcid:sport_club"
}