Link a GitHub login to a member
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.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
login*stringA GitHub login. It is not told apart by case.
length <= 39Idempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
userId*stringThe member the login is.
The link.
application/json- response
login*stringuserId*stringlinkedBy*stringlinkedAt*stringdate-timecurl -X PUT 'https://wardn.example.com/api/v1/github/logins/string' \ -H 'Content-Type: application/json' \ -d '{ "userId": "string"}'{ "login": "string", "userId": "string", "linkedBy": "string", "linkedAt": "2019-08-24T14:15:22Z"}Unlink a GitHub login DELETE
Forgets which member the login is. Pushes by it are held again until it is linked. Writes an Activity entry. Needs `integration:manage`.
Get a deploy marker integration GET
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