ServicesAuthorizationHTTP APIResource installations

Read_installation

GET
/api/authorization/installations/{installation_id}

Read an installation and its requested resource permissions as an authorized resource owner.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

installation_id*string

Response Body

Success

application/json
  1. response

The installation and its resource permission edges.

installation*

One batch of resource permission edges reviewed together.

curl -X GET 'https://api.spiraldb.dev/api/authorization/installations/string'
{  "installation": {    "createdAt": "string",    "createdBy": "string",    "id": "string",    "resourceMounts": [      {        "createdAt": "string",        "createdBy": "string",        "id": "string",        "installationId": "string",        "permission": "string",        "source": "string",        "status": "requested",        "statusChangedAt": "string",        "statusChangedBy": "string",        "target": "string"      }    ],    "source": "string"  }}