Get Variable Set by identifier on project level
Get Variable Set by identifier on project level.
Org is the organisation identifier.
dfProject is the project identifier.
eIdentifier is the VariableSet identifier.
seiAccount is the internal customer account ID.
j7aOK response.
Get-Variable-Set-Account-LevelResponseBody result type (default view)
Account is the internal customer account ID.
lTimestamp when the variable set was created.
1627590400Description provides long-form text about the resource.
this is a more detailed explanation of the resource.Identifier is the VariableSet identifier.
vlPattern: ^[^/?#\s]+$Name is the human readable name for the resource.
resource nameOrg is the organisation identifier.
oProject is the project identifier.
pTimestamp when the variable set was last updated.
1627686800BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
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?