This widget returns all video categories of one channel at a time. The domain would be channel domain, will determine channel context for this widget. Since VIDIZMO supports nested categories, these categories will be displayed in a tree view control.

The widget uses the action parameter "get_categories" and "response_format" while "display_categories" can be used optionally. The values to select against each parameter are provided in the table below.

Request



Parameters


Parameter

Description

response_format
optional

The format of response.

Possible values: html, json

display_categories

It should always be true in that case.

 

Response

 

{
  "result": {
    "categories": [
      {
        "added_by": 409,
        "updated_by": 0,
        "added_date": "2008-10-10T08:50:57.767",
        "updated_date": "0001-01-01T00:00:00",
        "id": 443,


        "parent_category_id": 441,
        "name": "Adds creating",
        "description": ""
      },
      {
        "added_by": 84118,
        "updated_by": 0,
        "added_date": "2012-06-26T23:49:02.02",
        "updated_date": "0001-01-01T00:00:00",
        "id": 2535,
        "parent_category_id": 0,
        "name": "Government",
        "description": ""
      },
      {
        "added_by": 0,
        "updated_by": 0,
        "added_date": "2008-07-21T17:20:43.407",
        "updated_date": "0001-01-01T00:00:00",
        "id": 143,
        "parent_category_id": 0,
        "name": "Marketing Training",
        "description": "Marketing Training"
      }
    ],
    "categories_html": "",
    "mashup_format": []
  },
  "status": 1,
  "status_code": 200,
  "message": null
}

 


To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.