Gamma API
ProjectsIntegrations

List integrations

GET
/api/projects/{projectId}/integrations

The project's integrations, oldest first, each with how its syncs are doing: its last success, its periodic runs failed in a row, the last error, the next run, paused, conflicts waiting.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Response Body

OK.

application/json
  1. response
integrations*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/integrations'
Example Response
{  "integrations": [    {      "id": "string",      "connectionId": "string",      "externalProjectId": "string",      "externalProjectName": "string",      "conflictPolicy": "prefer_internal",      "pausedAt": "2019-08-24T14:15:22Z",      "entities": [        {          "entity": "issues",          "direction": "inbound",          "importNew": true,          "mirrorFolders": true,          "categoryIds": [            "string"          ],          "modelIds": [            "string"          ]        }      ],      "checkpoints": [        {          "entity": "issues",          "side": "internal",          "updatedAt": "2019-08-24T14:15:22Z"        }      ],      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "health": {        "lastSucceededAt": "2019-08-24T14:15:22Z",        "failures": -9007199254740991,        "lastError": "string",        "failedRecords": {          "count": -9007199254740991,          "jobId": "string",          "lanes": {            "property1": -9007199254740991,            "property2": -9007199254740991          }        },        "nextAt": "2019-08-24T14:15:22Z",        "paused": true,        "conflicts": -9007199254740991      }    }  ]}