ServicesApplicationsHTTP APIDiscovery

List your Application installations

POST
/api/apps/self/installations/list

Requires an app token. Includes only this app's requested, active and suspended installations.

This operation returns results in pages. To get the next page, send the nextPageToken value of the response as pageToken in a new request with the same parameters. When the response has no nextPageToken, there are no more pages. A page can have an empty installations list before the last page.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
pageSize?|null
pageToken?string|null

Response Body

Success

application/json
  1. response
installations*array<>
nextPageToken?string|null
curl -X POST 'https://api.spiraldb.dev/api/apps/self/installations/list' \  -H 'Content-Type: application/json' \  -d '{}'
{  "installations": [    {      "applicationId": "string",      "approved": {        "projects": {          "all": true,          "projectIds": [            "string"          ]        },        "scopes": [          "string"        ]      },      "id": "string",      "organizationId": "string",      "requested": {        "projects": {          "all": true,          "projectIds": [            "string"          ]        },        "scopes": [          "string"        ]      },      "status": "requested"    }  ],  "nextPageToken": "string"}