The server's version
Works without credentials. `hart` compares `api_version` with the version it was generated from and warns about a skew; every API response also carries the header `Harthelm-Version: <version>`.
openapi/harthelm.yaml at v1.5.0The versions.
application/json- response
version*stringThe release (1.0.2), or dev-<commit> for a build that is no release.
api_version*stringinfo.version of the OpenAPI document the server implements.
commit?stringcurl -X GET 'https://console.example.com/api/v1/version'{ "version": "string", "api_version": "string", "commit": "string"}This API's OpenAPI document
This document as built into the binary; the API reference at `/api/docs` (Scalar, bundled, outside `/api/v1`) reads it from here. Works without credentials. The `ETag` is the quoted SHA-256 of the document; send it back in `If-None-Match` to get `304` while the server still implements the same document.
Delete a secret
Removes every revision of the key. Needs `landscape.manage` on the workspace that uses the vault.