Read one integration
How one provider is doing: its state and why, when it last answered, what depends on it, what happens if it fails, and how its deliveries have gone. The state is worked out from the provider guard's breaker and call times, so it is what Wardn's own calls have seen, not a guess.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
provider*stringThe provider's name, such as github, slack, prometheus, servicenow or jira.
1 <= length <= 40The integration.
application/json- response
provider*stringconfigured*booleanWhether this organization has the provider connected.
status*IntegrationStatus"not_configured""connected""degraded""down""paused"lastEventAt*|date-timelastEventResult*|nulldetail*Provider specific counts. For github, installations, suspended and paused.
health?usedBy?array<>What depends on the integration, and whether it reads ok or wait now.
ifItFails?stringIn a sentence, what happens while the provider is down.
canDisconnect?booleaninbound?booleanWhether the provider sends Wardn webhooks or clicks, so receipts are listed.
deliveries?backlog?Events still to go to the provider.
curl -X GET 'https://wardn.example.com/api/v1/integrations/string'{ "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" }}Resume an integration POST
Previous Page
Disconnect an integration DELETE
Removes the connection and its credentials from the secret store. Rules that need the integration then wait. An integration the server's configuration sets up (Prometheus) or one that is removed on the provider's side (the GitHub App) is a conflict. Disconnecting what is not connected changes nothin