Add invites community api
This commit is contained in:
parent
7400c5335d
commit
39581eaa74
1 changed files with 20 additions and 0 deletions
|
|
@ -145,6 +145,26 @@ Returns roles for a community with id = {id}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## GET /api/v1/community/{id}/invites
|
||||||
|
|
||||||
|
_Requires an authorization header_
|
||||||
|
|
||||||
|
Returns invites for a community with id = {id}
|
||||||
|
|
||||||
|
### Response:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": "string",
|
||||||
|
"name": "string",
|
||||||
|
"invites": [
|
||||||
|
{
|
||||||
|
"id": "string"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## POST /api/v1/community/{id}/invite
|
## POST /api/v1/community/{id}/invite
|
||||||
|
|
||||||
_Requires an authorization header_
|
_Requires an authorization header_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue