Data api categories list - movabletype/Documentation GitHub Wiki
Retrieve a list of categories.
This method accepts GET only.
GET https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/categories
| Parameter | Type | Description |
|---|---|---|
| blog_id | unsigned integer | The blog ID. |
| Parameter | Type | Description |
|---|---|---|
| sortBy | string | This is an optional parameter.
|
| sortOrder | string | This is an optional parameter.
|
Do not supply a request body.
If successful, this method will return list of Categories resource as the response body.
| Code | Description |
|---|---|
| 200 | no error |
| 403 | Do not have permission to retrieve the list of categories. |
| 404 | Site not found |