Fetch all categories
GET {{baseUrl}}/categories
This operation shows details for all categories available in Wowza Video.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | number | Returns a paginated view of results from the HTTP request. Specify a positive integer to indicate which page of the results should be displayed. The default is 1. | |
per_page | number | For use with the page parameter. Indicates how many records should be included in a page of results. A valid value is any positive integer. The default and maximum value is 1000. | |
query | string | ||
sort_column | string | ||
sort_direction | string | ||
only_top_level | boolean | ||
parent_id | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"categories":[{"category":{"id":"cb65a918-ad7d-406a-80d8-09c9c8d0dbbd","name":"My first category","description":"This is a category description.","parent_id":"cb65a918-ad7d-406a-80d8-09c9c8d0dbb"}},{"category":{"id":"cb65a918-ad7d-406a-80d8-09c9c8d0dbbd","name":"My first category","description":"This is a category description.","parent_id":"cb65a918-ad7d-406a-80d8-09c9c8d0dbb"}}],"pagination":{"payload_version":-77485181.6628376,"total_records":100,"page":1,"per_page":10,"total_pages":2,"page_first_index":10,"page_last_index":10}}