Update docs
This commit is contained in:
parent
acda25d410
commit
56b05a7131
@ -45,4 +45,20 @@ Authenticate one user to access protected routing.
|
|||||||
+ Attributes (Token)
|
+ Attributes (Token)
|
||||||
|
|
||||||
+ Response 401 (application/json)
|
+ Response 401 (application/json)
|
||||||
+ Attributes (InvalidCredentials)
|
+ Attributes (InvalidCredentials)
|
||||||
|
|
||||||
|
## Get User Info [/user/me]
|
||||||
|
Receive the username and email from the currently logged in user
|
||||||
|
|
||||||
|
### Get User Info [GET]
|
||||||
|
|
||||||
|
+ Request (application/json)
|
||||||
|
+ Headers
|
||||||
|
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
|
||||||
|
|
||||||
|
|
||||||
|
+ Response 200 (application/json)
|
||||||
|
+ Attributes
|
||||||
|
+ user: (object)
|
||||||
|
+ username: Jean (string)
|
||||||
|
+ email: abc@def.ghi
|
||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user