ServicesAuthorizationHTTP APIResource installations

Review_installation

POST
/api/authorization/installations/{installation_id}/review

Review requested resource permissions as an authorized resource owner.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

installation_id*string

Request Body

application/json
  1. body

Decisions keyed by resource mount ID. Omitted edges remain requested.

decisions*

Response Body

Success

application/json
  1. response

The resource permission edges transitioned by this decision.

resourceMounts*array<>
curl -X POST 'https://api.spiraldb.dev/api/authorization/installations/string/review' \  -H 'Content-Type: application/json' \  -d '{  "decisions": {    "property1": "approve",    "property2": "approve"  }}'
{  "resourceMounts": [    {      "createdAt": "string",      "createdBy": "string",      "id": "string",      "installationId": "string",      "permission": "string",      "source": "string",      "status": "requested",      "statusChangedAt": "string",      "statusChangedBy": "string",      "target": "string"    }  ]}