A record that maps content (e.g. a sequence) to a content category.
createdAt | string <date-time>
The date and time the content category membership was created. |
updatedAt | string <date-time>
The date and time the content category membership was last updated. |
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
(sequence (data (object) or links (object))) or (snippet (data (object) or links (object))) or (template (data (object) or links (object))) The record in the content category. Must be a sequence, snippet, or template. Relationship content cannot be used as a filter. | |
data (object) or links (object) (contentCategory) The content category the record is part of. You can use only the attribute id to filter contentCategoryMemberships by contentCategory (e.g. filter[contentCategory][id]=X). | |
(user (data (object) or links (object))) The creator of the content category membership. Relationship creator cannot be used as a filter. |
{- "content": {
- "data": {
- "id": 0,
- "type": "template"
}
}, - "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
OK
JSON error message
{- "data": [
- {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "content": {
- "data": {
- "id": 0,
- "type": "template"
}
}, - "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "content": {
- "data": {
- "id": 0,
- "type": "template"
}
}, - "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "content": {
- "data": {
- "id": 0,
- "type": "template"
}
}, - "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
Deleted
JSON error message
{- "errors": [
- {
- "detail": "string",
- "id": "string",
- "title": "string"
}
]
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "content": {
- "data": {
- "id": 0,
- "type": "template"
}
}, - "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}