Replicas (Geodata Service)

URL:
https://<root>/<serviceName>/GeoDataServer/replicas
Methods:
GET
Version Introduced:
10.2.1

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.

Use dark colors for code blocksCopy
1
https://services.myserver.com/ERmEceOGq5cHrItq/ArcGIS/rest/services/USA/GeoDataServer/replicas?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
[
    {
        "replicaName": "replicaName1",
        "replicaID": "replicaID1"
    },
    {
        "replicaName": "replicaName1",
        "replicaID": "replicaID2"
    }
]

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
    {
        "replicaName": "MyCheckout",
        "replicaID": "c4189175-b90f-4622-938b-bed34eacc7f6"
    },
    {
        "replicaName": "My2wayReplica",
        "replicaID": "ff704181-da25-4e82-8813-7d36c302a605"
    },
    {
        "replicaName": "MySyncReplica",
        "replicaID": "29D94D0A-6702-49BF-836B-AFF7861BB9FF"
    }
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.