Integrations
Preview

Get the Sentry integration

Whether Sentry is connected and believed, where its credentials are kept and whether they are there (never their values), the signing token as its last four characters, which Sentry projects report for which deployments and how many Sentry shows (`projectsSeen`), and what Wardn does with it (`settin

GET
/sentry
cookiebetter-auth.session_token<token>

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

Response Body

The integration.

application/json
  1. response
standing*SentryStanding
Value in"not_connected""ok""stale"
connection?
syncedAt?string
Formatdate-time
syncError?string
lastEventAt?string

When the last webhook was believed.

Formatdate-time
tokenMask?string

The signing token as its prefix and last four characters, such as whtok_••••3b9e.

paused*boolean
refs*array<>
projects*array<>
settings*
projectsSeen*integer

How many projects Sentry showed at the last read.

projectsMapped*integer
projectsNotMapped*integer

Projects Sentry shows that are not mapped to a deployment.

Example Request
curl -X GET 'https://wardn.example.com/api/v1/sentry'
Example Response
{  "standing": "not_connected",  "connection": {    "name": "string",    "baseUrl": "string",    "organization": "string",    "webhookPath": "string",    "signingToken": "string",    "connectedAt": "2019-08-24T14:15:22Z"  },  "syncedAt": "2019-08-24T14:15:22Z",  "syncError": "string",  "lastEventAt": "2019-08-24T14:15:22Z",  "tokenMask": "string",  "paused": true,  "refs": [    {      "field": "string",      "ref": "string",      "found": true    }  ],  "projects": [    {      "slug": "string",      "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",      "environments": [        "string"      ]    }  ],  "settings": {    "releaseTracking": true,    "resolveFixed": true,    "releaseNameFormat": "{deployment}@{sha7}",    "environments": [      "string"    ],    "spikeEnabled": true,    "spikeMultiple": 2,    "spikeMinutes": 1,    "openIncident": true  },  "projectsSeen": 0,  "projectsMapped": 0,  "projectsNotMapped": 0}