Import Actions Using POST

Import Actions Using POST

Imports an action bundle and saves all actions

Request
URI
POST
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/abx/api/resources/actions/import
COPY
Request Body

Bundle of actions to import

ActionsImportRequest of type(s) application/json
Required
{
    "bundleId": "string",
    "compressedBundle": "string",
    "option": "string",
    "projectId": "string",
    "system": false
}
string
bundleId
Optional

ID of the saved bundle used for import conflict resolution

string As byte As byte
compressedBundle
Optional

base64encoded ZIP bundle of actions to import

string
option
Optional

Conflict option when importing (CREATE on initial import)

Possible values are : FAIL, IGNORE, OVERWRITE, CREATE,
string
projectId
Optional

Project ID for where to create the actions

boolean
system
Optional

Flag indicating if the imported actions should be system actions

Responses
200

OK

Returns ResponseEntity of type(s) application/json
{
    "statusCode": "string",
    "statusCodeValue": 0
}
object
body
Optional

body

string
statusCode
Optional

statusCode

Possible values are : CONTINUE, SWITCHING_PROTOCOLS, PROCESSING, CHECKPOINT, OK, CREATED, ACCEPTED, NON_AUTHORITATIVE_INFORMATION, NO_CONTENT, RESET_CONTENT, PARTIAL_CONTENT, MULTI_STATUS, ALREADY_REPORTED, IM_USED, MULTIPLE_CHOICES, MOVED_PERMANENTLY, FOUND, MOVED_TEMPORARILY, SEE_OTHER, NOT_MODIFIED, USE_PROXY, TEMPORARY_REDIRECT, PERMANENT_REDIRECT, BAD_REQUEST, UNAUTHORIZED, PAYMENT_REQUIRED, FORBIDDEN, NOT_FOUND, METHOD_NOT_ALLOWED, NOT_ACCEPTABLE, PROXY_AUTHENTICATION_REQUIRED, REQUEST_TIMEOUT, CONFLICT, GONE, LENGTH_REQUIRED, PRECONDITION_FAILED, PAYLOAD_TOO_LARGE, REQUEST_ENTITY_TOO_LARGE, URI_TOO_LONG, REQUEST_URI_TOO_LONG, UNSUPPORTED_MEDIA_TYPE, REQUESTED_RANGE_NOT_SATISFIABLE, EXPECTATION_FAILED, I_AM_A_TEAPOT, INSUFFICIENT_SPACE_ON_RESOURCE, METHOD_FAILURE, DESTINATION_LOCKED, UNPROCESSABLE_ENTITY, LOCKED, FAILED_DEPENDENCY, TOO_EARLY, UPGRADE_REQUIRED, PRECONDITION_REQUIRED, TOO_MANY_REQUESTS, REQUEST_HEADER_FIELDS_TOO_LARGE, UNAVAILABLE_FOR_LEGAL_REASONS, INTERNAL_SERVER_ERROR, NOT_IMPLEMENTED, BAD_GATEWAY, SERVICE_UNAVAILABLE, GATEWAY_TIMEOUT, HTTP_VERSION_NOT_SUPPORTED, VARIANT_ALSO_NEGOTIATES, INSUFFICIENT_STORAGE, LOOP_DETECTED, BANDWIDTH_LIMIT_EXCEEDED, NOT_EXTENDED, NETWORK_AUTHENTICATION_REQUIRED,
integer As int32 As int32
statusCodeValue
Optional

statusCodeValue