/commit: Commit

URL:
https://[root]/content/users/[userName]/items/[itemID]/commit
Methods:
POST

Example Usage

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
2
3
4
{
 "success": true | false,
    "id":  "<item id>",
  }

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
 "success": true,
    "id":  "49bf5db6340e4bccaceca5af3b2bec4b",
  }

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.