A record that maps content categories to owners. This allows categories to be linked to one or more teams.
createdAt | string <date-time>
The date and time the content category ownership was created. |
updatedAt | string <date-time>
The date and time the content category ownership was last updated. |
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
data (object) or links (object) (contentCategory) The content category the owner is linked to. You can use only the attribute id to filter contentCategoryOwnerships by contentCategory (e.g. filter[contentCategory][id]=X). | |
(user (data (object) or links (object))) The creator of the content category ownership. Relationship creator cannot be used as a filter. | |
(team (data (object) or links (object))) The record the content category is tied to. Must a team for now. Relationship owner cannot be used as a filter. |
{- "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "team"
}
}
}
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": {
- "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "team"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "team"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategory": {
- "data": {
- "id": 0,
- "type": "contentCategory"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "team"
}
}
}, - "type": "string"
}
}
Deleted
JSON error message
{- "errors": [
- {
- "detail": "string",
- "id": "string",
- "title": "string"
}
]
}