Register Item
URL: | http://server:port/arcgis/admin/uploads/register |
HTTP Method: | POST |
Parent Resource: | Uploads |
Required Privileges: | Publisher or Administrator |
Description
This operation directs the server to reserve space for a new item (to be uploaded) that
could be made up of one or more parts.
Once the operation is completed, you must use the upload part
operation to upload individual parts.
After you have uploaded all the parts, you must ask the server to consolidate the upload
by committing it.
Parameters
Parameter |
Description |
itemName |
A name for the item.
|
description |
An optional description for item to be uploaded.
|
f |
The response format. The default response format is html.
Values: html | json
|
Response Format
{
"status": "success",
"item": <item>
}
Example
http://server:port/arcgis/admin/uploads/register
itemName=Seattle.sd
description=My Seattle map service definition