Reference
Find channel to tag relations
Find all tags assigned to a channel
GET/v5/channelToTag/:channelId
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| channelId | integer | ✓ | Finds all tags for the given channelId |
| channelIds | base64 | ✗ | Finds all tags for the given channelIds |
Response
| Field | Type | Description |
|---|---|---|
| channelId | integer | ChannelId the tag is related to |
| flag | integer | flag of the channel tag |
| lastEditorId | integer | Id of the user who last edited this entry |
| tagId | integer | Id of the channel tag |
Batch update
Add tags to a channel
PUT/v5/channelToTag
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| ids | array | ✓ | TagIds to add to the channel |
| remove | boolean | ✗ | Set to true to remove the tagIds from the given channelId |
| updateParams | object | ✓ | Object with additional data for this request |
| └ channelId | integer | ✓ | ChannelId to use for this relation |
Response
| Field | Type | Description |
|---|---|---|
| error | array | Rrrored items of this operation |
| └ id | integer | tagId for the relation |
| └ channelId | integer | channelId for the relation |
| └ message | string | error message for the relation |
| ignored | array | Ignored items of this operation |
| └ id | integer | tagId for the relation |
| └ channelId | integer | channelId for the relation |
| processed | array | Result of this operation |
| └ id | integer | tagId for the relation |
| └ channelId | integer | channelId for the relation |
| └ message | string | Result of operation allowed values: createdupdateddeleted |