FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<service-uploads-url>/register (POST only) |
---|---|
Parent Resource | Uploads |
Required Capability | Uploads (Image service requires Edit) |
This operation registers an item that will be uploaded in multiple parts. Once an item is registered parts of the item must be uploaded using the uploadPart operation.
Once all parts are uploaded, the commit operation must be used to complete the upload of that item.
See section limiting Upload file size and file types to learn more about default file size and file type limitations imposed for uploads.
Users can provide arguments to the register operation as query parameters. The parameter details are provided in the parameters table below.
Parameter | Details |
---|---|
f | Description: The response format.
The default response format is html. Values: html | json |
itemName | Description: A name for the item to be registered. |
description | Description: An optional description for the registered item. |
Example 1: Register an item (todo):
http://servicesbeta2.esri.com/arcgis/rest/services/911CallsHotspot/GPServer/uploads/register{ "success": <true|false>, "item": { "itemID": "<itemID>", "itemName": "<itemName>", "description": "<description>", "date": <date>, "committed": <false> } }
{ "success": true, "item": { "itemID": "ib740c7bb-e5d0-4156-9cea-12fa7d3a472c", "itemName": "LakeTahoeImage", "description": "Lake Tahoe", "date": 1246060800000, "committed": false } }