ServicesApplicationsHTTP APIDiscovery

Read your Application installation

GET
/api/apps/self/installations/{installation_id}

Requires an app token. Installations belonging to another app return NotFound.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

installation_id*string

Response Body

Success

application/json
  1. response

Installation metadata and its API audience. configurationUrl is absent until the deployment supplies an installation management UI.

apiUrl*string
configurationUrl?string|null
installation*

An Application installed in one Organization, where it acts as its own identity. requested is the latest request. approved is what an Organization owner approved, and it is the only grant that Spiral enforces. A request for more access takes effect only when an owner approves it.

curl -X GET 'https://api.spiraldb.dev/api/apps/self/installations/string'
{  "apiUrl": "string",  "configurationUrl": "string",  "installation": {    "applicationId": "string",    "approved": {      "projects": {        "all": true,        "projectIds": [          "string"        ]      },      "scopes": [        "string"      ]    },    "id": "string",    "organizationId": "string",    "requested": {      "projects": {        "all": true,        "projectIds": [          "string"        ]      },      "scopes": [        "string"      ]    },    "status": "requested"  }}