New endpoints

This commit is contained in:
Aslan 2025-12-28 04:29:04 +01:00
parent 983623dff2
commit c37a81e8fd
4 changed files with 80 additions and 10 deletions

View file

@ -14,3 +14,28 @@ Returns a channel with id = {id}
"creationDate": 0
}
```
## POST /api/v1/channel
_Requires an authorization header_
### Request:
```json
{
"name": "string",
"communityId": "string"
}
```
Creates a new channel and returns it
### Response:
```json
{
"id": "string",
"name": "string",
"communityId": "string"
}
```