/api/movies/movie_555/categories
Total calls: 0
Category List
Get available categories (main categories / sub-categories / specials).
- Use it to build site navigation: main holds the primary categories and sub holds the TV-series sub-categories; every returned id can be passed to the list endpoint as type_id.
| Field | Type | Description |
|---|---|---|
| main | array | Main category list |
| main[].id | int | Category ID, pass to the list API as type_id |
| main[].name | string | Category name |
| sub | array | Sub-categories of TV series |
| sub[].id | int | Sub-category ID, also usable as type_id |
| sub[].name | string | Sub-category name |
| labels | array | Homepage topic (label) list |
| labels[].key | string | Topic key |
| labels[].name | string | Topic name |
{
"main": [
{"id": 1, "name": "电影"},
{"id": 2, "name": "连续剧"}
],
"sub": [
{"id": 13, "name": "热门连续剧"}
],
"labels": [
{"key": "netflix", "name": "Netflix 专区"}
]
}