Create Action Version

Create Action Version

Creates a new version for the specified action

Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/abx/api/resources/actions/{id}/versions
COPY
Path Parameters
string
id
Required

ID of the action

Query Parameters
string
projectId
Required

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


Request Body
ActionVersion of type(s) application/json
Required
{
    "id": "string",
    "name": "string",
    "createdMillis": 0,
    "orgId": "string",
    "description": "string",
    "actionId": "string",
    "projectId": "string",
    "createdBy": "string",
    "released": false,
    "action": {
        "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"
    },
    "contentId": "string",
    "gitCommitId": "string"
}
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

string
description
Optional

description

string
actionId
Optional

actionId

string
projectId
Optional

projectId

string
createdBy
Optional

createdBy

boolean
released
Optional

released

object
action
Optional

Properties of the action to patch

string
contentId
Optional

contentId

string
gitCommitId
Optional

gitCommitId

Authentication
This operation uses the following authentication methods.
Responses
200

Action version created

Returns ActionVersion of type(s) */*
"ActionVersion Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

string
description
Optional

description

string
actionId
Optional

actionId

string
projectId
Optional

projectId

string
createdBy
Optional

createdBy

boolean
released
Optional

released

object
action
Optional

Properties of the action to patch

string
contentId
Optional

contentId

string
gitCommitId
Optional

gitCommitId


401

Unauthorized to make the request

Returns ActionVersion of type(s) */*
"ActionVersion Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

string
description
Optional

description

string
actionId
Optional

actionId

string
projectId
Optional

projectId

string
createdBy
Optional

createdBy

boolean
released
Optional

released

object
action
Optional

Properties of the action to patch

string
contentId
Optional

contentId

string
gitCommitId
Optional

gitCommitId


403

Forbidden

Returns ActionVersion of type(s) */*
"ActionVersion Object"
string
id
Optional

id

string
name
Optional

name

integer As int64 As int64
createdMillis
Optional

createdMillis

string
orgId
Optional

orgId

string
description
Optional

description

string
actionId
Optional

actionId

string
projectId
Optional

projectId

string
createdBy
Optional

createdBy

boolean
released
Optional

released

object
action
Optional

Properties of the action to patch

string
contentId
Optional

contentId

string
gitCommitId
Optional

gitCommitId


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/abx/api/resources/actions/{id}/versions