/api-router/api/users/<id>[/<foo>-<bar>]
GET
public secured
/api-router/api/users/8?__apiDocu=

Description

Get user detail
You can also write example json in the description

{
"name": "John",
"surname": "Doe",
"age": 23,
"hairCount": 123456,
"parents": {{
"name": "John",
"surname": "Doe",
"age": 53,
"hairCount": 456
}}
}

Format

json (application/json)

Methods

GET

Mask parameters

<id>
  • requirement: \d+
  • type: integer
  • description: User ID
  • default: 10
"8"
<foo>
null
<bar>
null

Response codes

200 (Success)
400 (Error in authentication process)
401 (Invalid authentication)

Query parameters

__apiDocu
""

Example response

{
    "name": "John",
    "surname": "Doe",
    "age": 23,
    "hairCount": 123456,
    "parents": [
        {
            "name": "John",
            "surname": "Doe",
            "age": 53,
            "hairCount": 456
        }
    ]
}