Harthelm Docs

Get the workspace env vars

Variables every terminal, `prepare`, `test` and every service see. They are not secret; use the vault for secrets. Needs `workspace.view`.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/workspaces/{ws}/env

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

ws*integer

Numeric resource id.

Formatint64
Range1 <= value

Response Body

The variables, sorted by name.

application/json
  1. response
vars*array<>

At most 256 KiB of names and values together (422 otherwise).

Itemsitems <= 500
curl -X GET 'https://console.example.com/api/v1/workspaces/1/env'
{  "vars": [    {      "name": "string",      "value": "string"    }  ]}