Authorization

This commit is contained in:
Aslan 2025-12-25 02:38:12 +01:00
parent 2b8e2a54a2
commit f8c5a5521b
6 changed files with 16 additions and 16 deletions

View file

@ -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: