Rework role and channel api
This commit is contained in:
parent
a8ede76571
commit
ea8c175f75
3 changed files with 20 additions and 24 deletions
|
|
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue