Patch Using PATCH

Patch Using PATCH

Updates the state of the action based only on the supplied properties

Request
URI
PATCH
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


Request Body

Properties of the action to patch

Action of type(s) application/json
Required
{
    "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)

Responses
200

Action updated

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)


404

Action to update not found

Operation doesn't return any data structure