Skip To Content
ArcGIS Developers
Dashboard

Compute Ref Count

  • URL:https://<data-url>/computeTotalRefCount
  • Required Capability:Publisher or Administrator
  • Version Introduced:10.1

Description

This operation computes the total number of references to a given data item that exist on the server. You can use this operation to determine if a data resource can be safely deleted or taken down for maintenance.

Request parameters

ParameterDetails
itemPath

The complete hierarchical path to the item.

Example

itemPath=/arcgisdata/usa
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample request URL for computeTotalRefCount:

https://machine.domain.com/webadaptor/admin/data/computeTotalRefCount?itemPath=/arcgisdata/usa&f=json

JSON Response example

{
  "totalRefCount": 10
}