ASI/channels/:channel_id
GET ^top
Returns the details of this channel.
Returns
- 200 - OK
Response example
{
"entry": {
"name": "Chanel 9 1",
"channel_type": null,
"created_at": null,
"updated_at": null,
"owner_id": "cqviyq6Cir4juJeJfcaj6R",
"id": "cqvhu66Cir4juJeJfcaj6R",
"message_count": 0,
"owner_name": "Essi Esimerkki",
"updated_by": {
"name": "Essi Esimerkki",
"link": {
"href": "/people/cqviyq6Cir4juJeJfcaj6R/@self"
}
},
"description": "Hethethethethethe",
"hidden": false
}
}
PUT ^top
Updates the details of this channel.
Channel description.
Parameters
- channel
- name
Channel name. Must be at least two characters long.
- owner_id
The new channel owner.
- description
Channel description.
Returns
- 200 - OK
Response example
{
"entry": {
"name": "Chanel 9 2",
"channel_type": null,
"created_at": null,
"updated_at": null,
"owner_id": "cqwwZu6Cir4juJeJfcaj6R",
"id": "cqwv-m6Cir4juJeJfcaj6R",
"message_count": 0,
"owner_name": "Essi Esimerkki",
"updated_by": {
"name": "Essi Esimerkki",
"link": {
"href": "/people/cqwwZu6Cir4juJeJfcaj6R/@self"
}
},
"description": "Hethethethethethe",
"hidden": false
}
}
DELETE ^top
Deletes this channel.
Returns
- 200 - OK