Integrations
Preview

List the integrations

One entry per provider this server can connect, with whether it is configured and how it is doing. GitHub is the first; other providers join the same list with the same fields.

GET
/integrations
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The integrations.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/integrations'
Example Response
{  "items": [    {      "provider": "github",      "configured": true,      "status": "not_configured",      "lastEventAt": "2019-08-24T14:15:22Z",      "lastEventResult": "accepted",      "detail": {        "property1": 0,        "property2": 0      },      "health": {        "state": "not_configured",        "reason": "string",        "since": "2019-08-24T14:15:22Z",        "retryAt": "2019-08-24T14:15:22Z",        "lastSuccessAt": "2019-08-24T14:15:22Z",        "responseMs": 0,        "usualMs": 0,        "rulesWait": true      },      "usedBy": [        {          "label": "string",          "href": "string",          "reading": "ok",          "rule": true,          "count": 0        }      ],      "ifItFails": "string",      "canDisconnect": true,      "inbound": true,      "deliveries": {        "windowHours": 0,        "delivered": 0,        "retrying": 0,        "dead": 0,        "accepted": 0,        "rejected": 0      },      "backlog": {        "pending": 0,        "retrying": 0,        "dead": 0,        "oldestAt": "2019-08-24T14:15:22Z"      }    }  ]}