Skip To Content
ArcGIS Developer
Dashboard

Database

Description

The database resource represents the database management system (DBMS) that contains all of the portal's configuration and relationship rules. This resource also returns the name and version of the database server currently running in the portal.

You can use the Update Database Account operation to edit the administrative database account that is used by components within the portal to communicate with the database server.

Request parameters

ParameterDetails
f

The response format. The default response is html.

Values: html | json | pjson

Example usage

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

https://machine.domain.com/webadaptor/portaladmin/system/database?f=json

JSON Response syntax


{
  "name": "<instance_name>",
  "version": "<version>",
  "adminAccount": "<account_name>"
}

JSON Response example


{
  "name": "gwdb",
  "version": "psql (PostgreSQL) 9.2.4",
  "adminAccount": "dbadmin"
}