ServicesApplicationsHTTP APIInstallations

List the installations of an Application

POST
/api/apps/{application_id}/installations

List the Organizations where your Application is installed. A viewer of the Application's Project can list them.

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>

Path Parameters

application_id*string

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/string/installations' \  -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"}