Skip to main content

Channels

Messages are sent in channels in order to differenciate them by topic.

Channel Creation​

This route creates a new textchannel.

Request​

POST /channel

{
"name": "String", // "azuma-dev"
"description": "String" // "Everything about azumas development". This field is nullable!
}

Response​

{
"id": "Uuid", // "8bd3784a-0f32-4c71-b9f2-380021d2b83f"
}

Channel Deletion​

Delete a channel and all of its content from the database.

Request​

DELETE /channel

{
"id": "Uuid", // "8bd3784a-0f32-4c71-b9f2-380021d2b83f"
}

Response​

204 No Content

Possible Errors​

CodeMessageDescription
404 Not FoundNOT_FOUNDThe provided channel does not exist.