Get category
GET/api/v2/google/categories/:category_id
This endpoint lets you retrieve the data of a specific category.
Request
Path Parameters
category_id stringrequired
Query Parameters
lang locale
Default value: en
Get results in a specific language
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
Unique google category id
name stringrequired
Category name in given language or user's language
{
"id": "gcid:climbing_gym",
"name": "Home insurance agency"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
statusCode integerrequired
HTTP status code
message string
Error message
errors
object[]
required
path stringrequired
Possible values: non-empty
Path to the property with the error
errors
object[]
required
type stringrequired
Possible values: non-empty
Error type
message stringrequired
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"errors": [
{
"path": "business.id",
"errors": [
{
"type": "object_required_property",
"message": "Required property"
}
]
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
Loading...