Detailed Status of Machine Image Upload Request

get

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

Get the detailed status of a machine image upload request.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : MachineImageUploadRequest
Type: object
Show Source
Nested Schema : dataCenterImageUploadRequests
Type: array
Show Source
Nested Schema : DataCenterImageUploadRequest
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 returns the details of machineimage, by submitting a GET request on the REST resource using cURL.

cURL Example

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

Request Header

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

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
    "uploadRequestId": 2797087,
    "application": "APS1826_WWP_061218",
    "version": "OL67",
    "operatingSystem": "Linux",
    "fileName": "wordpress.tar.gz",
    "imageFilePath": "oracle_pdc2/mi/APS1826_WWP_061218/OL67/Linux/wordpress.tar.gz",
    "statusName": "Completed",
    "uploadedChunks": 75,
    "pendingChunks": 0,
    "createdBy": "John Doe",
    "createdDate": "2018-06-12T04:28:50.001Z",
    "lastModifiedBy": "anonymous",
    "lastModifiedDate": "2018-06-12T04:52:51.001Z",
    "overwriteStorageFile": false,
    "dataCenterImageUploadRequests": [
        {
            "dataCenterName": "US2 COMMERCIAL CHERRY",
            "statusName": "Completed",
            "uploadProgress": "100%",
            "region": "US2 Commercial Cherry",
            "lastUpdatedDate": "2018-06-12T04:52:51.001Z",
            "copyUpload": false,
            "overwriteUpload": false,
            "replicaDataCenter": false
        }
    ]
}
Back to Top