nexlink/docs/api/channel.md
2025-12-28 04:29:04 +01:00

41 lines
505 B
Markdown

## GET /api/v1/channel/{id}
_Requires an authorization header_
Returns a channel with id = {id}
### Response:
```json
{
"id": "string",
"name": "string",
"communityId": "string",
"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"
}
```