Content can be grouped into content categories to help discoverability.
allowSequences | boolean Can this category be used to group sequences? |
allowSnippets | boolean Can this category be used to group snippets? |
allowTemplates | boolean Can this category be used to group templates? |
color | string <= 255 characters Color of the content category to be used as a background |
createdAt | string <date-time>
The date and time the content category was created. |
name | string <= 255 characters
The name of the content category. |
updatedAt | string <date-time>
The date and time the content category was last updated. |
{- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}
(user (data (object) or links (object))) The creator of the content category. Relationship creator cannot be used as a filter. |
{- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
{- "data": [
- {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "allowSequences": true,
- "allowSnippets": true,
- "allowTemplates": true,
- "color": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}