Authorization
This commit is contained in:
parent
2b8e2a54a2
commit
f8c5a5521b
6 changed files with 16 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
## GET /api/v1/channel/{id}
|
## GET /api/v1/channel/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns a channel with id = {id}
|
Returns a channel with id = {id}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ Returns a community with id = {id}
|
||||||
|
|
||||||
## UPDATE /api/v1/community/{id}/name
|
## UPDATE /api/v1/community/{id}/name
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@ Updates name for a community with id = {id}
|
||||||
|
|
||||||
## PATCH /api/v1/community/{id}/description
|
## PATCH /api/v1/community/{id}/description
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
@ -61,7 +61,7 @@ Updates description for a community with id = {id}
|
||||||
|
|
||||||
## GET /api/v1/community/{id}/members
|
## GET /api/v1/community/{id}/members
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns users for a community with id = {id}
|
Returns users for a community with id = {id}
|
||||||
|
|
||||||
|
|
@ -82,7 +82,7 @@ Returns users for a community with id = {id}
|
||||||
|
|
||||||
## GET /api/v1/community/{id}/channels
|
## GET /api/v1/community/{id}/channels
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns channels for a community with id = {id}
|
Returns channels for a community with id = {id}
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ Returns channels for a community with id = {id}
|
||||||
|
|
||||||
## GET /api/v1/community/{id}/roles
|
## GET /api/v1/community/{id}/roles
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns roles for a community with id = {id}
|
Returns roles for a community with id = {id}
|
||||||
|
|
||||||
|
|
@ -124,7 +124,7 @@ Returns roles for a community with id = {id}
|
||||||
|
|
||||||
## POST /api/v1/community/{id}/invite
|
## POST /api/v1/community/{id}/invite
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
@ -149,7 +149,7 @@ Creates an invite to a community with id = {id}
|
||||||
|
|
||||||
## POST /api/v1/community/{id}/join
|
## POST /api/v1/community/{id}/join
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ Returns an invite with id = {id}
|
||||||
|
|
||||||
## DELETE /api/v1/invite/{id}
|
## DELETE /api/v1/invite/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Removes an invite with id = {id}
|
Removes an invite with id = {id}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## GET /api/v1/role/{id}
|
## GET /api/v1/role/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns a role with id = {id}
|
Returns a role with id = {id}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## GET /api/v1/session/{id}
|
## GET /api/v1/session/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns a session with id = {id}
|
Returns a session with id = {id}
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ Returns a session with id = {id}
|
||||||
|
|
||||||
## DELETE /api/v1/session/{id}
|
## DELETE /api/v1/session/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Revokes a session with id = {id}
|
Revokes a session with id = {id}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
## GET /api/v1/user/{id}
|
## GET /api/v1/user/{id}
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns a user with id = {id}
|
Returns a user with id = {id}
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ Returns a user with id = {id}
|
||||||
|
|
||||||
## GET /api/v1/user/{id}/sessions
|
## GET /api/v1/user/{id}/sessions
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
Returns all sessions for a user with id = {id}
|
Returns all sessions for a user with id = {id}
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@ Returns all sessions for a user with id = {id}
|
||||||
|
|
||||||
## PATCH /api/v1/user/{id}/email
|
## PATCH /api/v1/user/{id}/email
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
@ -62,7 +62,7 @@ Updates email for a user with id = {id}
|
||||||
|
|
||||||
## PATCH /api/v1/user/{id}/description
|
## PATCH /api/v1/user/{id}/description
|
||||||
|
|
||||||
_Requires an authentication header_
|
_Requires an authorization header_
|
||||||
|
|
||||||
### Request:
|
### Request:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue