Rework role and channel api

This commit is contained in:
Aslan 2026-01-03 14:32:25 +01:00
parent a8ede76571
commit ea8c175f75
3 changed files with 20 additions and 24 deletions

View file

@ -10,6 +10,7 @@ Returns a channel with id = {id}
{
"id": "string",
"name": "string",
"description": "string",
"communityId": "string",
"creationDate": "number"
}
@ -36,7 +37,9 @@ Creates a new channel and returns it
{
"id": "string",
"name": "string",
"communityId": "string"
"description": "string",
"communityId": "string",
"creationDate": "number"
}
```
@ -48,7 +51,8 @@ _Requires an authorization header_
```json
{
"name": "string?"
"name": "string?",
"description": "string?"
}
```
@ -60,7 +64,9 @@ Updates a channel with id = {id}
{
"id": "string",
"name": "string",
"communityId": "string"
"description": "string",
"communityId": "string",
"creationDate": "number"
}
```