Register Data Item

Description

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.

Request Parameters

Parameter

Details

item

Description: The JSON representing the data item.

f

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

Values: html | json

Request Format

http://server:port/arcgis/admin/data/registerItem
	item=<item>

Example Usage

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     
		}
	}

3/3/2017