v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-2381210.5 KB
permissions

Returns the permissions bundle

Returns the permissions bundle, an optimised format for evaluating permissions

get/permissions-bundle

Response

Successfully retrieved the permissions bundle

Bundle required

A map of permission ID to entity lookup map

Example response

{
  "legacy.read": {
    "group/publisher": [
      {
        "id": "publisher",
        "condition": {
          "attribute": "",
          "operator": "",
          "values": []
        }
      }
    ],
    "group/viewer": [
      {
        "id": "viewer",
        "entities": [
          "group/viewer"
        ],
        "role": "viewer",
        "condition": {
          "attribute": "collection-id",
          "operator": "StringEquals",
          "values": [
            "collection-765"
          ]
        }
      }
    ]
  }
}