WorkFlowUsers

GET /{tenant}/workflowusers

The WorkFlowUsers endpoint returns a list of registered EMU users. The list is minimal as it only contains the user name for each registered user. The call is similar to the standard GET /{tenant}/users?select=data.username request except that the user name returned is a single value in an array of the un property.

Example URI

GET /museum/users

Headers

Authorization: Bearer {token}
Prefer: representation=minimal

Response 200

{
    "@namespaces": {
        "emu": {
            "name": "http://axiell.com/emu#"
        }
    },
    "@controls": {
        "self": {
            "href": "http://swanston.melbourne.axiell.com:8084/museum/workflowusers"
        },
        "start": {
            "method": "GET",
            "href": "http://swanston.melbourne.axiell.com:8084/"
        },
        "search": {
            "method": "GET",
            "href": "http://swanston.melbourne.axiell.com:8084/museum/workflowusers"
        }
    },
    "matches": [
        {
            "id": "emu:/museum/users/emu",
            "version": 1,
            "data": {
                "un": [
                    "emu"
                ]
            },
            "@controls": {
                "self": {
                    "href": "http://swanston.melbourne.axiell.com:8084/museum/users/emu"
                }
            }
        },
        {
            "id": "emu:/museum/users/philip",
            "version": 1,
            "data": {
                "un": [
                    "philip"
                ]
            },
            "@controls": {
                "self": {
                    "href": "http://swanston.melbourne.axiell.com:8084/museum/users/philip"
                }
            }
        },
        {
            "id": "emu:/museum/users/barney",
            "version": 1,
            "data": {
                "un": [
                    "barney"
                ]
            },
            "@controls": {
                "self": {
                    "href": "http://swanston.melbourne.axiell.com:8084/museum/users/barney"
                }
            }
        },
    ]
}

Response Headers

Content-Type: application/vnd.mason+json; charset=UTF-8
Authorization: Bearer {token}