Skip To Content

/updateInfo: Update Info

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

Example usage

URL for Update Info

https://www.arcgis.com/sharing/rest/content/users/jsmith/items/ef78d18087c4456eab5478b0485f9911/updateInfo

Description

This is available for all items and allows you to upload multiple files to an item's esriinfo folder. You can upload JSON, XML, CFG, TXT, PBF, and PNG files only. The file size limit is 100K. The uploaded file is also available through the https://item-url/info/filename resource.

Request parameters

ParameterDetails
file

The file to be uploaded. The request must be a multipart request pursuant to IETF RFC1867.

[Common Parameters]

For a complete listing, see Common parameters.

folderName

(Optional)

Subfolder for added information.

JSON Response syntax


{
  "success": <true | false>,
  "itemId": <"item ID">,
  "owner": <"content item owner">,
  "folder": <folder name>
}

JSON Response example


{
  "success": true,
  "itemId": "cbd9486372b34e928197eb71736d5c27",
  "owner": "user1234",
  "folder": null
}