Upload Item

Description

Uploads a new item to the server. Once the operation is completed successfully, the JSON structure of the uploaded item is returned.

Request Parameters

Parameter

Details

itemFile

Description: The file to be uploaded.

description

Description: An optional description for the uploaded item.

f

Description: The response format. The default response format is html.

Values: html | json

Request Format

http://server:port/arcgis/admin/uploads/upload
	itemFile=<multipart_post_file>
	description=<description>

Response Format

{
  "status": "success",
  "item": <item>
}

7/5/2017