Download Request Using POST

Download Request Using POST

Submit a download request for a content

Request
URI
POST
https://{api_host}//cava-s-182-041.eng.vmware.com/content/api/marketplace/download-requests
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about


Request Body

downloadRequest

MarketplaceContentDownloadRequest of type(s) application/json
Required
{
    "contentId": "string",
    "contentName": "string",
    "contentType": "string",
    "createdAt": "string",
    "downloadedContentId": "string",
    "executionMessages": [
        {
            "message": "string"
        }
    ],
    "id": "string",
    "lastUpdatedAt": "string",
    "sourceId": "string",
    "status": "string",
    "targetId": "string",
    "targetType": "string"
}
string
contentId
Required

Content Id

string
contentName
Required

Content Name

string
contentType
Required

Content Type

Possible values are : BLUEPRINT, IMAGE, ABX_SCRIPTS,
string As date-time As date-time
createdAt
Optional

Request Created Time

string
downloadedContentId
Optional

Downloaded Content Id

executionMessages
Optional

Execution Messages

string As uuid As uuid
id
Optional

Request Id

string As date-time As date-time
lastUpdatedAt
Optional

Request Last Updated Time

string As uuid As uuid
sourceId
Required

Content Source Id

string
status
Optional

Request Status

string
targetId
Required

Target Id

string
targetType
Required

Target Type

Responses
202

Submitted download request

Returns MarketplaceContentDownloadRequest of type(s) application/json
{
    "contentId": "string",
    "contentName": "string",
    "contentType": "string",
    "createdAt": "string",
    "downloadedContentId": "string",
    "executionMessages": [
        {
            "message": "string"
        }
    ],
    "id": "string",
    "lastUpdatedAt": "string",
    "sourceId": "string",
    "status": "string",
    "targetId": "string",
    "targetType": "string"
}
string
contentId
Required

Content Id

string
contentName
Required

Content Name

string
contentType
Required

Content Type

Possible values are : BLUEPRINT, IMAGE, ABX_SCRIPTS,
string As date-time As date-time
createdAt
Optional

Request Created Time

string
downloadedContentId
Optional

Downloaded Content Id

executionMessages
Optional

Execution Messages

string As uuid As uuid
id
Optional

Request Id

string As date-time As date-time
lastUpdatedAt
Optional

Request Last Updated Time

string As uuid As uuid
sourceId
Required

Content Source Id

string
status
Optional

Request Status

string
targetId
Required

Target Id

string
targetType
Required

Target Type


400

Invalid source type

Operation doesn't return any data structure

404

source not found

Operation doesn't return any data structure