API Sections Auth (User) Permitted resource types Permitted resource type

Permitted resource type resources - GET

View the resources for a resource type you have access to.

Request

URL : /v3/auth/user/permitted-resource-types/{permitted_resource_type_id}/resources

Method : GET

Parameters : None

Responses

Success

Code : 200 OK

Content :

[
    {
        "id": "a56kbWV82n",
        "name": "Niall",
        "description": "Niall James Blackborough, born on the 22nd April 2019 at 17:46, these are all the expenses we have recorded for him.",
        "data": {
            "birth": "2019-04-22"
        },
        "created": "2019-04-07 11:26:10",
        "item_subtype": {
            "uri": "/v3/item-types/OqZwKX16bW/item-subtypes/a56kbWV82n",
            "id": "a56kbWV82n",
            "name": "default",
            "description": "Default behaviour for the allocated-expense type"
        }
    }
]

Not authourised

Code : 403

Content :

{
    "message": "Authentication required, please try again with a Bearer."
}

Not found

Code : 404

Content :

{
    "message": "The requested `Resource Type` does not exist."
}