Requires the scoped-variables-view
capability.
Returns a list of scoped variables.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": { },
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
]
}
Requires the scoped-variables-manage
capability.
Parameters for creating a Scoped Variable.
Returns a Scoped Variable.
General error response from the platform
{- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": {
- "type": "raw",
- "details": {
- "value": "string",
- "blob": true,
- "secret": {
- "iv": "string",
- "hint": "string"
}
}
}
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": { },
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requires the scoped-variables-view
capability.
Returns a Scoped Variable.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": { },
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requires the scoped-variables-manage
capability.
Parameters for updating a Scoped Variable.
Returns a Scoped Variable.
General error response from the platform
{- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": {
- "type": "raw",
- "details": {
- "value": "string",
- "blob": true,
- "secret": {
- "iv": "string",
- "hint": "string"
}
}
}
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "environment_id": "string",
- "identifier": "string",
- "scope": {
- "containers": {
- "global": true,
- "ids": [
- "string"
], - "identifiers": [
- "string"
]
}
}, - "access": {
- "env_variable": {
- "key": "string"
}, - "internal_api": {
- "duration": "72h45m2s"
}, - "file": {
- "decode": true,
- "path": "/var/run/cycle/variables/<myVariable>"
}
}, - "source": { },
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Requires the scoped-variables-manage
capability.
Returns a Job Descriptor.
General error response from the platform
{- "data": {
- "action": "string",
- "job": {
- "id": "string",
- "accepted": true,
- "queue": "string",
- "schedule": "2021-01-30T08:30:00Z",
- "parallel": {
- "sub_queue": "string",
- "tasks": true
}, - "tasks": [
- {
- "caption": "string",
- "header": "string",
- "steps": [
- {
- "caption": "string",
- "description": "string",
- "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z"
}
], - "input": {
- "property1": null,
- "property2": null
}
}
]
}
}
}