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}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Returns a channel with id = {id}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Returns a community with id = {id}
|
|||
|
||||
## UPDATE /api/v1/community/{id}/name
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ Updates name for a community with id = {id}
|
|||
|
||||
## PATCH /api/v1/community/{id}/description
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ Updates description for a community with id = {id}
|
|||
|
||||
## GET /api/v1/community/{id}/members
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
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
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
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
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
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
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ Creates an invite to a community with id = {id}
|
|||
|
||||
## POST /api/v1/community/{id}/join
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Returns an invite with id = {id}
|
|||
|
||||
## DELETE /api/v1/invite/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Removes an invite with id = {id}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
## GET /api/v1/role/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Returns a role with id = {id}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
## GET /api/v1/session/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Returns a session with id = {id}
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ Returns a session with id = {id}
|
|||
|
||||
## DELETE /api/v1/session/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Revokes a session with id = {id}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
## GET /api/v1/user/{id}
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
Returns a user with id = {id}
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ Returns a user with id = {id}
|
|||
|
||||
## GET /api/v1/user/{id}/sessions
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
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
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ Updates email for a user with id = {id}
|
|||
|
||||
## PATCH /api/v1/user/{id}/description
|
||||
|
||||
_Requires an authentication header_
|
||||
_Requires an authorization header_
|
||||
|
||||
### Request:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue