Hosted gateway

Read one of the workspace's hosted gateways and the list of all of them

GET
/v1/public/account/workspace/deployments

Account session scoped to the current workspace; reads require membership. The organization comes only from the session. Without deployment_id the answer is the workspace's primary gateway; with it, that gateway, or 404 GATEWAY_NOT_FOUND when the workspace holds no gateway with that id (never the primary). deployments lists every gateway the workspace holds and deployment_limit the capacity an operator granted it (default 1). Reservation is a name allocation, never evidence of DNS, TLS or runtime readiness.

Authorization

AccountSessionCookie
decionis_account_session<token>

The signed HttpOnly account session the web app holds after sign-in (also accepted as a Bearer acct_ token).

In: cookie

Query Parameters

deployment_id?string

One of the current workspace's gateways; omitted, the workspace's primary. The organization always comes from the session, never from a parameter.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/v1/public/account/workspace/deployments"
{  "deployment": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "tenant_label": "string",    "tenant_host": "string",    "gateway_url": "string",    "status": "reserved",    "upstream_origin": "string",    "runtime_verified": true  },  "deployments": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "tenant_host": "acme.decionisedge.com",      "is_primary": true,      "status": "queued",      "running_mode": "SHADOW"    }  ],  "deployment_limit": 1,  "credentials": [    {}  ],  "gateway_token": {    "header": "AgentSafe-Gateway-Token",    "issued": true,    "revealable": true,    "sent": true,    "sent_at": "2019-08-24T14:15:22Z",    "pending_at": "2019-08-24T14:15:22Z"  },  "enforcement": {},  "networking": {},  "activation": {}}