For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Variable Set by identifier on project level

Get Variable Set by identifier on project level.

get
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: df
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: e
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: sei
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: j7a
Responses
200

OK response.

application/json

Get-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: l
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: vlPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: o
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: p
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
get/api/orgs/{org}/projects/{project}/variable-set/{identifier}
GET /api/orgs/{org}/projects/{project}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: j7a
Accept: */*
{
  "account": "wi",
  "connectors": [
    {
      "connector_ref": "g6e",
      "created": 1627590400,
      "id": 8962279363599500000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "g6e",
      "created": 1627590400,
      "id": 8962279363599500000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "g6e",
      "created": 1627590400,
      "id": 8962279363599500000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "g6e",
      "created": 1627590400,
      "id": 8962279363599500000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Aspernatur vero similique quod molestiae.": {
      "created": 1627590400,
      "id": 6039675868838002000,
      "key": "a3",
      "updated": 1627686800,
      "value": "Reprehenderit autem aut reiciendis.",
      "value_type": "json"
    },
    "Quia vel id.": {
      "created": 1627590400,
      "id": 6039675868838002000,
      "key": "a3",
      "updated": 1627686800,
      "value": "Reprehenderit autem aut reiciendis.",
      "value_type": "json"
    },
    "Sed cumque modi voluptatibus perferendis accusantium unde.": {
      "created": 1627590400,
      "id": 6039675868838002000,
      "key": "a3",
      "updated": 1627686800,
      "value": "Reprehenderit autem aut reiciendis.",
      "value_type": "json"
    }
  },
  "identifier": "3v2",
  "name": "resource name",
  "org": "0",
  "project": "a3",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 7266046153789191000,
      "repository": "Error quisquam fugit.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Nemo deleniti eos reprehenderit.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 7266046153789191000,
      "repository": "Error quisquam fugit.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Nemo deleniti eos reprehenderit.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Dolor qui fuga sed illum.": {
      "created": 1627590400,
      "id": 6039675868838002000,
      "key": "a3",
      "updated": 1627686800,
      "value": "Reprehenderit autem aut reiciendis.",
      "value_type": "json"
    },
    "Quasi exercitationem nam esse quidem ipsam.": {
      "created": 1627590400,
      "id": 6039675868838002000,
      "key": "a3",
      "updated": 1627686800,
      "value": "Reprehenderit autem aut reiciendis.",
      "value_type": "json"
    }
  },
  "updated": 1627686800
}

Last updated

Was this helpful?