Deployments
Preview

What to know before taking a shared deployment

Read-only checks for a person about to claim or ask for the deployment with `branch`: what runs now and whose it is, how many apps would move to other commits, whether the branch differs in database migration files from what runs (compared by file names in git, and by the names of the jobs that run;

GET
/deployments/{deploymentId}/share/checks
cookiebetter-auth.session_token<token>

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

deploymentId*string
Formatuuid
branch*string

The branch the person would use.

Lengthlength <= 255

Response Body

The checks.

application/json
  1. response
branch*string
checks*array<>
resetJobs*array<string>

The hand-over jobs that run before the next holder, which "Reset first" runs.

Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/share/checks?branch=string'
Example Response
{  "branch": "string",  "checks": [    {      "kind": "runs_now",      "level": "ok",      "title": "string",      "detail": "string",      "items": [        "string"      ],      "migration": {        "state": "not_checked",        "apps": [          {            "appId": "string",            "appName": "string",            "state": "not_checked",            "folder": "string",            "onlyRunning": [              "string"            ],            "onlyIncoming": [              "string"            ],            "reason": "string"          }        ],        "jobs": [          "string"        ],        "statusJob": true,        "reason": "string"      }    }  ],  "resetJobs": [    "string"  ]}