User

Contain data reffered to user.


Receive a list of all Users

GET /services/users

Returns all users

HTTP/1.1 200 OK
{
    "users": [
        {
            "id" : 1,
            "email" : "[email protected]",
            "first_name" : "Jan",
            "last_name" : "Kowalski",
            "account_owner" : "true",
            "permissions" : ["dashboard", "product", "order", "client",
                    "marketing", "layout", "reports", "apps", "settings"]
        },
        {
            "id" : 2,
            "email" : "[email protected]",
            "first_name" : "Piotr",
            "last_name" : "Nowak",
            "account_owner" : "false",
            "permissions" : ["product", "order"]
        }
    ]
}

Receive a single User

GET services/users/{id}

Receive a single User

Response
HTTP/1.1 200 OK
{
    "user": [
        {
            "id" : 1,
            "email" : "[email protected]",
            "first_name" : "Jan",
            "last_name" : "Kowalski",
            "account_owner" : "true",
            "permissions" : ["dashboard", "product", "order", "client",
                        "marketing", "layout", "reports", "apps", "settings"]
        }
    ]
}