Merge Machine Image Chunk

patch

/appstore/publisher/v1/machineimages/{uploadRequestId}

This is the final step of chunk upload. It is to request the merge of the chunk files and complete the upload.

Request

Supported Media Types
Path Parameters
Body ()
Provide required information.
Root Schema : schema
Type: string
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
Type: object
Show Source

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example uploads the machineimage, by submitting a PATCH request on the REST resource using cURL.

cURL Example

curl -X PATCH -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/machineimages/7361253"

Request Header

X-Oracle-UserId: fname.lname@oracle.com 
Authorization: Bearer Access-token 

Request Body

[form-data]
action: upload

HTTP Status Code

200 OK

JSON Response

{
  "message": "OK",
  "entityId": "7934756"
}
Back to Top