REST API Documentation
/blog/categories
Create a blog category
This endpoint is only available for requests made using an API Key or the Client Credentials Grant Type, not using an OAuth Access Token for a particular member.
Parameters
Name | Type | Description |
---|---|---|
Required
name
|
string | The category name |
parent
|
int|null | The ID number of the parent the category should be created in. NULL for root. |
position
|
int | The category position |
Exceptions
Code | Message | Description |
---|---|---|
1B408/1 |
NO_TITLE |
A name for the category must be supplied |
Response
Name | Type | Description |
---|---|---|
id
|
int | ID number |
name
|
string | Name |
url
|
string | URL |
class
|
string | Node class |