Variables

Get a list of Variable names.

List the names of variables that can be used in deployment actions. If a project is specified, this will include variables in that project. If a project environments filter is specified, project variables which are scoped to an unspecified environment will be excluded.

get/variables/names

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/variables/names
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Query parameters

gitRefstring

GitRef for the project variables

projectstring

ID of the Project

projectEnvironmentsFilterstring[]

ID of the Deployment Environments to filter on

runbookstring

ID of the Runbook

Response

The requested list of Variable names

string[] required

Changes

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