User

GET /users

List all users of this account.

Response

Status: 200
[
    {
        "id": 1,
        "name": "User Name 1",
        "email": "[email protected]",
        "worktime": "Default 8x5 - 09:00 - 18:00",
        "created_at": "2015-07-27 09:58:56 -0300",
        "updated_at": "2015-09-29 03:50:59 -0300",
        "can_request": true,
        "can_execute": true,
        "can_manage": true
    },
    {
        "id": 2,
        "name": "User Name 1",
        "email": "[email protected]",
        "worktime": "Default 8x5 - 09:00 - 18:00",
        "created_at": "2015-07-27 09:58:56 -0300",
        "updated_at": "2015-09-29 03:50:59 -0300",
        "can_request": true,
        "can_execute": true,
        "can_manage": true
    }
]

GET /users/{id}

Get details of one user.

Response

Status: 200
{
    "id": 1,
    "name": "User Name 1",
    "email": "[email protected]",
    "worktime": "Default 9x5 - 09:00 - 18:00",
    "created_at": "2015-07-27 09:58:56 -0300",
    "updated_at": "2015-09-29 03:50:59 -0300",
    "can_request": true,
    "can_execute": true,
    "can_manage": true,
    "groups": [
        {
            "id": 1,
            "name": "Developers"
        }
    ],
    "managed_groups": [
        {
            "id": 2,
            "name": "Quality Team"
        }
    ],
    "request_groups": [
        {
            "id": 1,
            "name": "Human Resources"
        }
    ]
}