Deployments
Preview

Get where a deployment is reached

The address the deployment's last render came out with, `https` when it has a certificate. `url` is absent when there is none, and `note` says why, such as `No public address`. A deployment whose apps cannot be reached has neither.

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

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

deploymentId*string
Formatuuid

Response Body

The deployment's address.

application/json
  1. response
url?string

Where the deployment is reached.

note?string

Why there is no url, or what is wrong with it.

Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/address'
Example Response
{  "url": "string",  "note": "string"}