Get a deploy marker integration
Whether Datadog or Grafana is connected, how it stands, what Wardn posts to it, and where its credentials are kept. A credential is never returned: `credentials` says where each one is kept (a reference such as `Wardn · integrations/datadog/<id>/api-key`) and whether the secret store has it. For Dat
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
provider*stringThe tool markers go to.
"datadog""grafana"The integration.
application/json- response
provider*DeployMarkerProviderIdThe tool markers go to.
"datadog""grafana"connected*booleanconnection?credentials*array<>settings?paused*booleanA person paused the tool. Nothing is posted meanwhile and wave checks that read it wait.
waveCheckDeployments?integerDatadog only. How many deployments sit in waves still to run whose checks read Datadog.
latestMarker?sites*array<>Datadog's sites, to choose one from.
counts?How the last day's markers stand.
curl -X GET 'https://wardn.example.com/api/v1/deploy-markers/datadog'{ "provider": "datadog", "connected": true, "connection": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "site": "string", "url": "string", "createdAt": "2019-08-24T14:15:22Z", "probedAt": "2019-08-24T14:15:22Z", "probeOk": true, "probeError": "string", "monitors": 0 }, "credentials": [ { "field": "api-key", "ref": "Wardn · integrations/datadog/6f1c/api-key", "found": true } ], "settings": { "releaseFinished": true, "syncApplied": true, "releaseFailed": true, "environments": [ "string" ], "tags": [ "string" ], "title": "{deployment} {release} landed in {environment}", "shownOn": "all", "dashboardTag": "string" }, "paused": true, "waveCheckDeployments": 0, "latestMarker": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "release_landed", "title": "string", "environment": "string", "deployment": "string", "release": "string", "sha7": "string", "link": "string", "state": "queued", "attempts": 0, "status": 0, "label": "202 · event accepted", "externalId": "string", "createdAt": "2019-08-24T14:15:22Z", "postedAt": "2019-08-24T14:15:22Z" }, "sites": [ { "key": "us1", "label": "US1 · datadoghq.com" } ], "counts": { "queued": 0, "delivered": 0, "failed": 0, "expired": 0 }}Link a GitHub login to a member PUT
Says the login is that member, replacing what it was linked to. Pushes by the login from now on are raised by the member. Writes an Activity entry. Needs `integration:manage`, since the link decides who may not approve what.
Disconnect Datadog or Grafana DELETE
Removes the connection, its record of what was posted and its credentials. Events and annotations already posted stay in the tool. Disconnecting what is not connected changes nothing. Needs `integration:manage`.