ci_variables

List all instance variables

Lists all instance-level variables. Use the page and per_page pagination parameters to control the pagination of results.

get/api/v4/admin/ci/variables

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Query parameters

pageinteger

Current page number

per_pageinteger

Number of items per page

Response

List all instance variables

variable_typestring required
keystring required
valuestring required
hiddenboolean
protectedboolean
maskedboolean
rawboolean
environment_scopestring
descriptionstring

Example response

{
  "variable_type": "env_var",
  "key": "TEST_VARIABLE_1",
  "value": "TEST_1",
  "environment_scope": "*",
  "description": "This variable is being used for ..."
}

Changes

No recorded changes to this operation across all 5 revisions of this API.