Skip to content
URL:
https://<root>/data/<datastoreID>
Methods:
GET
Operations:
Switch Role, Reset Standby, Status, Migrate
Child Resources:
Config
Version Introduced:
10.9

Access requirements

Required privileges

The Enterprise Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.


Tokens

This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Enterprise Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.

Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generateToken operation in the Enterprise Directory API. For security reasons, all POST requests made to the Enterprise Administrator API must include a token in the request body.


Learn how to generate a token

Description

The resource for an individual data store lists the properties of a system- or user-managed data store that's been registered with an ArcGIS Enterprise on Kubernetes deployment.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the datastore resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/data/2eca8ba5-ad4e-4798-bbe5-ea27db7e04e84?f=pjson

JSON Response example

The following is a sample JSON response returned for a system-managed data store:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "systemManaged": true,
  "description": "Relational store provides storage for hosted feature data and administrative aspects such as customization and configuration settings. Two relational stores are required for deployment.",
  "encryptAttributes": [
    "info.JDBCConnection.username",
    "info.JDBCConnection.password"
  ],
  "type": "egdb",
  "encryptedAttributes": [],
  "revision": "3",
  "path": "/enterpriseDatabases/b15a6a4d41324cf9a1f0375ab46a4da3",
  "provider": "ArcGIS Data Store",
  "purposes": [
    "configure",
    "feature"
  ],
  "meta": {
    "created": 1636413981,
    "modified": 1636417552
  },
  "name": "relational-store-fjzdg",
  "id": "b15a6a4d41324cf9a1f0375ab46a4da3",
  "info": {
    "isManagedData": true,
    "connectionString": "ENCRYPTED_PASSWORD=...;SERVER=relational-store-fjzdg-primary,relational-store-fjzdg-standby;INSTANCE=sde:postgresql:relational-store-fjzdg-primary,7654;DBCLIENT=postgresql;DB_CONNECTION_PROPERTIES=relational-store-fjzdg-primary,7654;DATABASE=hgdb_fjzdg;USER=mu_b438q;VERSION=sde.DEFAULT;AUTHENTICATION_MODE=DBMS",
    "factory": "egdb",
    "dataStoreConnectionType": "serverOnly",
    "implementation": "PostgreSQL",
    "systemManaged": true,
    "dbType": "managedPostgres",
    "datastoreName": "fjzdg",
    "clusterID": "fjzdg",
    "isManaged": true,
    "provider": "ArcGIS Data Store",
    "purposes": [
      "configure",
      "feature"
    ],
    "dsFeature": "relational",
    "machines": [
      {
        "dbPort": 7654,
        "role": "PRIMARY",
        "name": "relational-store-fjzdg-primary",
        "platform": "Linux"
      },
      {
        "dbPort": 7654,
        "role": "STANDBY",
        "name": "relational-store-fjzdg-standby",
        "platform": "Linux"
      }
    ],
    "category": "database",
    "JDBCConnection": {
      "factory": "org.apache.tomcat.jdbc.pool.DataSourceFactory",
      "minIdle": 0,
      "validationQuery": "SELECT 1",
      "initialSize": 0,
      "url": "jdbc:postgresql://relational-store-fjzdg-primary:7654/hgdb_fjzdg",
      "password": "{crypt}...",
      "testOnBorrow": true,
      "timeBetweenEvictionRunsMillis": 10000,
      "minEvictableIdleTimeMillis": 20000,
      "name": "PostgreSQLon-relational-store-fjzdg-primary",
      "driverClassName": "org.postgresql.Driver",
      "username": "{crypt}...",
      "initSQL": "SET TIME ZONE 'UTC'"
    },
    "connectionStringHA": "ENCRYPTED_PASSWORD=...;SERVER=fjzdg;INSTANCE=\"sde:postgresql:DSID=fjzdg\";DBCLIENT=postgresql;DATABASE=hgdb_fjzdg;USER=mu_b438q;VERSION=sde.DEFAULT;AUTHENTICATION_MODE=DBMS"
  }
}

The following is a sample JSON response returned for a user-managed data store:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "path": "/fileShares/_net_qalinux",
  "provider": "UserManaged",
  "meta": {
    "created": 1618051320,
    "modified": 1618052850
  },
  "name": "fileShares-net-qalinux",
  "description": "Pre-registered Folder Path during Org creation",
  "encryptAttributes": [],
  "id": "26f568e816b64ee3b398701cef31f757",
  "type": "folder",
  "encryptedAttributes": [],
  "info": {
    "path": "/net/qalinux",
    "dataStoreConnectionType": "shared",
    "portalProperties": {"itemID": "26f568e816b64ee3b398701cef31f757"}
  },
  "revision": "2"
}

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