-
Notifications
You must be signed in to change notification settings - Fork 0
User Service
Cody Ley-Han edited this page Apr 5, 2018
·
6 revisions
{
"id": {
"description": "Unique identifier",
"type": "string"
},
"email": {
"description": "user's email",
"type": "string"
},
"profile_image": {
"description": "profile image",
"type": "string"
},
"auth_level": {
"description": "the level at which the user is authorized",
"type": "int"
},
"created_at": {
"type": "string",
"format": "date-time in RFC3339 format"
},
"updated_at": {
"type": "string",
"format": "date-time in RFC3339 format"
}
}
Authorization: Admin
Response
{
"data": ["User"]
}
Response
{
"data": "User"
}
Get information about the current user
Response
{
"data": "User"
}
Request Query Param:
token: token provided by google oAuth
Response
{
"data": "JWT token string"
}