Get By Id Using GET

Get By Id Using GET

Retrieves an action entity with a specific ID

Request
URI
GET
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/abx/api/resources/actions/{id}
COPY
Path Parameters
string
id
Required

ID of the action

Query Parameters
string
projectId
Optional

Project ID of action (required for non-system actions)


Responses
200

Action found

Returns Action of type(s) application/json
{
    "actionType": "string",
    "compressedContent": "string",
    "contentId": "string",
    "dependencies": "string",
    "description": "string",
    "entrypoint": "string",
    "id": "string",
    "memoryInMB": 0,
    "name": "string",
    "orgId": "string",
    "projectId": "string",
    "provider": "string",
    "runtime": "string",
    "source": "string",
    "system": false,
    "timeoutSeconds": 0
}
string
actionType
Required

Type of the action

Possible values are : SCRIPT, REST_CALL, REST_POLL, FLOW,
string As byte As byte
compressedContent
Optional

base64encoded ZIP of action content (source & dependencies)

object
configuration
Optional

Configuration of the action for specific providers

string
contentId
Optional

ID of the actions saved compressed content

string
dependencies
Optional

A list of libraries to import, delimited by a comma

string
description
Optional

Description of the action

string
entrypoint
Required

Name of the entry function of the action

string
id
Optional

ID of the action

object
inputs
Optional

Map defining the inputs of the action

integer As int32 As int32
memoryInMB
Optional

Runtime RAM constraints in megabytes

string
name
Required

Name of the action

string
orgId
Required

Organization ID of the action.

string
projectId
Optional

Project Id of the action (required for non-system actions)

string
provider
Optional

Provider used for code execution

string
runtime
Required

Runtime of the action (python, nodejs, etc...)

string
source
Optional

Source of the action as string

boolean
system
Optional

Flag indicating if the action is a system action

integer As int32 As int32
timeoutSeconds
Optional

Defines how long an action can run (default 180)


401

Unauthorized to make the request

Operation doesn't return any data structure

404

Action not found

Operation doesn't return any data structure