Release Action Version Using PUT

Release Action Version Using PUT

Marks an exisiting version of an action as released

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

ID of the action

Query Parameters
string
projectId
Optional

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


Request Body

Name of the version to release

ActionVersionReleaseRequest of type(s) application/json
Required
{
    "version": "string"
}
string
version
Required

Name of the version to be released

Responses
200

Action version released

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

action

string
actionId
Optional

ID of the action

string
createdBy
Optional

Name of the version creator

integer As int64 As int64
createdMillis
Optional

Creation time in millis

string
description
Optional

Description of the version

string
gitCommitId
Optional

Commit ID of the version if pushed to git

string
id
Optional

ID of the resource

string
name
Optional

Name of the resource

string
orgId
Optional

Org ID of the resource

string
projectId
Optional

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

boolean
released
Optional

Flag indicating if the version is released (only 1 released version allowed per action)


404

Action version not found

Operation doesn't return any data structure