Categories
List agricultural service categories
List the category catalogue, returning each category's ID, name and type. Use the exact name as the category filter for service or task searches. Results are paginated with page and per_page; meta provides current_page, next_page and prev_page. This lookup does not change data.
get/categories
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/categories
- Auth: none declared
Query parameters
pageinteger
Select within paginated results
per_pageinteger
Number results to return
Response
Success.
Example response
{
"data": [
{
"type": "category"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.