v2

latestOpenAPI 3.0.02026-08-013312111.4 MB
Pipelines

Get a variable for a repository

Retrieve a repository level variable.

get/repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

variable_uuidstring required

The UUID of the variable to retrieve.

Response

The variable.

typestring required
uuidstring

The UUID identifying the variable.

keystring

The unique name of the variable.

valuestring

The value of the variable. If the variable is secured, this will be empty.

securedboolean

If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.