Skip To Content
ArcGIS Developers
Dashboard

Register Item (Data Stores)

Description

This operation registers a new data item with a data store. Before registering the data item, you must validate it and make sure that it is accessible.

Caution:

If you are registering a folder that uses a new path, it will require several of your system and utility services to restart. To avoid disruption, either use a preexisting folder path or considering registering this folder during off-peak hours. Additionally, data store items can be registered while configuring your organization.

Request parameters

ParameterDetails
item

The JSON representation of the data item.

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for registerItem that registers an folder, formatted for readability:

POST /arcgis/admin/data/registerItem HTTP/1.1
Host: reverseproxy.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

item={
  "path": "/fileshares/folder_shared",
  "type": "folder",
  "info": {
    "path": "/net/qalinux",
    "dataStoreConnectionType": "shared"
  }
}&f=pjson&token=uH1XErH8KruWpIAJId4WJ1tfR0xuolWt4bz5S58vYqk5qpbDhGnpbbysmiVDyqDf70tr6i0n4qYCql7eZa_PiKgnA2-1ccEB2O4rkymYoc0-R4WnYrO_t_7Rm9qKzVLN7oFDmJpqmCt55mKz3WyQkumnK2MmBYmgYmU2DycSPyKL4BJx0gr1UHmfqeWA7I52zBsgV8FiND6e_AhjzktIwF8iifMg96Hm0KAGztgsdSDQF0tvLj7doyxTQFWuGRik

JSON Response example

{"status": "success"}