Replicas (Feature Service)

Description

The replicas resource lists all replicas that have been created on the feature service. This list includes the replica name and replica ID of each replica. For secured services, all replicas are listed when logged in as the admin user. Otherwise, only replicas created by the logged-in user are listed.

Request parameters

Parameter

Details

f

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

Values: html | json

Example usage

URL listing the replicas in the USA feature service:

http://services.myserver.com/ERmEceOGq5cHrItq/ArcGIS/rest/services/USA/FeatureServer/replicas?f=pjson

JSON response syntax

[ 
    {
        "replicaName": "replicaName1",
        "replicaID": "replicaID1"
    },
    {
        "replicaName": "replicaName1",
        "replicaID": "replicaID2"
    }
]

JSON response example

[
    {
        "replicaName": "MyReplica_14",
        "replicaID": "c4189175-b90f-4622-938b-bed34eacc7f6"
    },
    {
        "replicaName": "MyReplica_11",
        "replicaID": "ff704181-da25-4e82-8813-7d36c302a605"
    }
]

9/13/2017