Description
The replicas resource lists all replicas in the underlying geodatabase. 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
| Parameter | Details |
|---|---|
| The response format. The default response format is html. Values: |
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=pjsonJSON 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"
}
]