Get Action 1
The returned definition contains base data for the action, as well the input parameter's definitions and the output type. When a request is sent to this endpoint with "application/zip" or "application/octet-stream" as the desired response content type, this operation is the equivalent to "Export an action with given id":
Exports an action by its ID. If the request is successful, the action binary content is available as an attachment with MIME type application/zip (that is, a normal ZIP file) with a default file name {actionname}.action.
It is up to the client application to properly fetch and process this attachment, i.e. by saving it to the local file system.
The exported action has the same internal format as the actions exported by using the VCF Operations Orchestrator client.
actionId
The request is successful
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"id": "string",
"name": "string",
"module": "string",
"description": "string",
"version": "string",
"fqn": "string",
"script": "string",
"runtime": "string",
"outputParameterType": "string",
"href": "string",
"input-parameters": [
{
"name": "string",
"type": "Example types are: SecureString, MimeAttachment, Regexp, Array/VC:VirtualMachine, boolean, string and etc.",
"description": "string",
"scope": "string",
"updated": false,
"encrypt-value": false
}
],
"output-type": "string",
"iconId": "string",
"bundleHasContent": false,
"runtimeMemoryLimit": 0,
"runtimeTimeout": 0,
"entryPoint": "string",
"actionEnvironmentId": "string",
"actionEnvironmentName": "string",
"validationMessage": "string"
}
relations
id
name
module
description
version
fqn
script
runtime
outputParameterType
href
input-parameters
output-type
iconId
bundleHasContent
runtimeMemoryLimit
runtimeTimeout
entryPoint
actionEnvironmentId
actionEnvironmentName
validationMessage
The user is not authorized
"Action Object"
relations
id
name
module
description
version
fqn
script
runtime
outputParameterType
href
input-parameters
output-type
iconId
bundleHasContent
runtimeMemoryLimit
runtimeTimeout
entryPoint
actionEnvironmentId
actionEnvironmentName
validationMessage
Can not find an action with the specified name
"Action Object"
relations
id
name
module
description
version
fqn
script
runtime
outputParameterType
href
input-parameters
output-type
iconId
bundleHasContent
runtimeMemoryLimit
runtimeTimeout
entryPoint
actionEnvironmentId
actionEnvironmentName
validationMessage
curl -H 'Authorization: <value>' https://{api_host}/vco/api/actions/{actionId}