Channels
Channel abrufen
http
GET /api/channels/:channelId
Authorization: TOKENChannel erstellen
http
POST /api/servers/:serverId/channels
Authorization: TOKEN
Content-Type: application/json
{
"name": "general",
"type": 1
}Channel Types:
| Wert | Typ |
|---|---|
0 | DM |
1 | Server Text |
2 | Kategorie |
Channel bearbeiten
http
PATCH /api/channels/:channelId
Authorization: TOKEN
Content-Type: application/json
{
"name": "neuer-name"
}Channel löschen
http
DELETE /api/channels/:channelId
Authorization: TOKEN