Skip to main content
Skip table of contents

app-market/upload-commit/{packageName}/{platform}/{blobId}

Commit an upload.

POST

Confirms an app upload.

When POST app-market/upload-no-replace returns a confirmation request, use this resource to commit to the upload.

Resource template parameters

packagename

Required. The name of the app you want to replace. The packageName field is returned by POST app-market/upload-no-replace.

platform

Required. The platform of the app. Valid values:

  • PLATFORM_ANDROID 
  • PLATFORM_IOS
blobIdRequired. The unique identifier for the app you want to replace. The blobId is returned as the app_id by POST app-market/upload-no-replace.
Parameter
Description

Example request

Request

CODE
curl -v -L -b c.txt -c c.txt -X \
 POST https://bc.qwe.com/mocana-app-control/rest/app-market/upload-commit/com.my.notes/3cae6656-4b4e-4739-8a15-d3bf1d70d00b


Response

CODE
{
  "message": "", 
  "status": "OK", 
  "upload_info": {
    "app_id": "3cae6656-4b4e-4739-8a15-d3bf1d70d00b",
    "app_isnew": false,
    "icon_url": "https://bc.qwe.com/mocana-app-control/rest/files/7c180650-3465-4698-b7cc-7b2c7096f9a3", 
    "name": "Notes",
    "package_name": "com.my.notes" 
  }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.