Create
Creates a new action
Show optional properties
{
"name": "string",
"runtime": "string",
"entrypoint": "string",
"actionType": "string",
"orgId": "string"
}
{
"name": "string",
"metadata": {
"metadata": {}
},
"runtime": "string",
"source": "string",
"entrypoint": "string",
"description": "string",
"inputs": {
"inputs": {}
},
"memoryInMB": 0,
"prePolyglotMemoryLimitInMB": 0,
"showMemoryAlert": false,
"timeoutSeconds": 0,
"dependencies": "string",
"compressedContent": "string",
"actionType": "string",
"provider": "string",
"contentId": "string",
"configuration": {
"configuration": {}
},
"system": false,
"shared": false,
"scalable": false,
"asyncDeployed": false,
"runtimeVersion": "string",
"id": "string",
"orgId": "string",
"projectId": "string",
"selfLink": "string"
}
name
metadata
runtime
source
entrypoint
description
inputs
memoryInMB
prePolyglotMemoryLimitInMB
showMemoryAlert
timeoutSeconds
dependencies
compressedContent
actionType
provider
contentId
configuration
system
shared
scalable
asyncDeployed
runtimeVersion
id
orgId
projectId
selfLink
Action created successfully
"Action Object"
name
metadata
runtime
source
entrypoint
description
inputs
memoryInMB
prePolyglotMemoryLimitInMB
showMemoryAlert
timeoutSeconds
dependencies
compressedContent
actionType
provider
contentId
configuration
system
shared
scalable
asyncDeployed
runtimeVersion
id
orgId
projectId
selfLink
Invalid action
"Action Object"
name
metadata
runtime
source
entrypoint
description
inputs
memoryInMB
prePolyglotMemoryLimitInMB
showMemoryAlert
timeoutSeconds
dependencies
compressedContent
actionType
provider
contentId
configuration
system
shared
scalable
asyncDeployed
runtimeVersion
id
orgId
projectId
selfLink
Unauthorized to make the request
"Action Object"
name
metadata
runtime
source
entrypoint
description
inputs
memoryInMB
prePolyglotMemoryLimitInMB
showMemoryAlert
timeoutSeconds
dependencies
compressedContent
actionType
provider
contentId
configuration
system
shared
scalable
asyncDeployed
runtimeVersion
id
orgId
projectId
selfLink
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"actionType:"string","entrypoint:"string","name:"string","orgId:"string","runtime:"string"}' https://{api_host}/abx/api/resources/actions