Environments

List all the variable set names (projects and library variable sets) that have variables that are scoped to only the given environment

get/spaces/{spaceIdentifier}/environments/{environmentId}/singlyScopedVariableDetails

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/environments/{environmentId}/singlyScopedVariableDetails
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

environmentIdstring required

Response

The names of LibraryVariableSets and VariableSets which contain one or more variables scoped to the requested environment. Along with boolean indication to show that there are unviewable/editable projects/libraries which also contain scoped variables.

HasUnauthorizedLibraryVariableSetVariablesboolean required
HasUnauthorizedProjectVariablesboolean required
VariableMapobject required

Changes

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