Skip To Content

Replicas (Geodata Service)

Description

The replicas resource lists all replicas in the geodatabase that have been created via sync-enabled feature services. This list includes the replica name and replica ID of each replica. The list of replicas is only shown if logged in as an admin user. Otherwise, the list is empty.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json

Example usage

Example 1: URL listing the replicas in the USA geodata service.

https://services.myserver.com/ERmEceOGq5cHrItq/ArcGIS/rest/services/USA/GeoDataServer/replicas?f=pjson

JSON Response syntax


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

JSON Response example


 [
    {
        "replicaName": "MyCheckout",
        "replicaID": "c4189175-b90f-4622-938b-bed34eacc7f6"
    },
    {
        "replicaName": "My2wayReplica",
        "replicaID": "ff704181-da25-4e82-8813-7d36c302a605"
    },
    {
        "replicaName": "MySyncReplica",
        "replicaID": "29D94D0A-6702-49BF-836B-AFF7861BB9FF"
    }
]