| FRAMES | NO FRAMES | Description | Parameters | Request | Response | Example |
| URL: | http://server:port/arcgis/admin/data/registerItem |
|---|---|
| HTTP Method: | POST |
| Parent Resource: | Data |
| Required Privileges: | Publisher or Administrator |
Registers a new data item with the server's data store.
Before registering the data item, you must validate it and make sure that it is
accessible from all the server nodes in your site.
| Parameter | Description |
|---|---|
| item | The JSON representing the data item. |
| f | The response format. The default response format is html. Values: html | json |
http://server:port/arcgis/admin/data/registerItem item=<item>
http://server:port/arcgis/admin/data/registerItem
item={
"path": "/fileShares/folder_shared", //a unique path on the server
"type": "folder", //as this is a file share
"clientPath": null, //not needed as this is a shared folder
"info": {
"path": "\\\\server\\data\\rest_data", //path to the share
"dataStoreConnectionType": "shared" //this is a shared folder
}
}