/updateInfo: Update Info

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

Example usage

URL for Update Info

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "success": <true | false>,
  "itemId": <"item ID">,
  "owner": <"content item owner">,
  "folder": <folder name>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "success": true,
  "itemId": "cbd9486372b34e928197eb71736d5c27",
  "owner": "user1234",
  "folder": null
}

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