EEG-Workflow-System

Back to API docs

User Details

Get user detials

URL : /api/users/details

Method : GET

Auth required : YES

Permissions required : None

Data constraints : Authentication token in the cookie header.

Success Response

Code : 200 SUCCESS

Content :
Return JSON format (mimetype: application/json) from server to client

{
    "id": "[user id]", 
    "email": "[user email]",
    "username": "[user Username]"
}

Error Responses

Codes :

Content :

{
    "error": "[whatever the error is]"
}