Skip To Content
ArcGIS Developer
Dashboard

/commit: Commit

  • URL:https://[root]/content/users/[userName]/items/[itemID]/commit(POST only)

Example Usage

https://www.arcgis.com/sharing/rest/content/users/jsmith/items/49bf5db6340e4bccaceca5af3b2bec4b/commit

Description

Commit is called once all parts are uploaded during a multipart Add Item or Update Item operation. The parts are combined into a file, and the original file is overwritten during an Update Item operation. This is an asynchronous call and returns immediately. Status can be used to check the status of the operation until it is completed.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails
success

Indicates if the operation was successful.

id

The ID of the item being committed.

JSON Response Syntax


             {
 "success": true | false,
    "id":  "<item id>",

  }

JSON Response Example


             {
 "success": true,
    "id":  "49bf5db6340e4bccaceca5af3b2bec4b",

  }