Skip to main content

get

get(request: GetWorkspaceTemplatesManifestRequest): Promise<GetWorkspaceTemplatesManifestResponse>
Accepted keys: Control plane fine-grained API key Get a workspace’s templates manifest Return the latest version of a workspace’s templates manifest: the YAML that defines the metrics and charts that new projects in the workspace start with. The workspace is identified by the workspace_id path parameter alone. The x-hh-workspace-id header does not participate. A workspace starts with a copy of its organization’s manifest. Its projects use the workspace’s manifest, together with the organization’s only when the workspace’s manifest sets config.merge_strategy to merge.

update

update(request: UpdateWorkspaceTemplatesManifestRequest): Promise<UpdateWorkspaceTemplatesManifestResponse>
Accepted keys: Control plane fine-grained API key Replace a workspace’s templates manifest Save a new version of a workspace’s templates manifest, which becomes the latest version. It decides the metrics and charts that projects created afterward in the workspace start with. Existing projects are not changed. The workspace is identified by the workspace_id path parameter alone. The x-hh-workspace-id header does not participate. A workspace manifest cannot define workspace_templates. When an API key makes the request and the workspace’s latest version already has this content, nothing is saved and that version is returned, so applying the same manifest repeatedly is safe.