- URL:
- https://<root>/system/database
- Methods:
GET
- Operations:
- Update Database Account
- Child Resources:
- Database Settings
- Required Capability:
- Access allowed with the "Security and Infrastructure" privilege
- Version Introduced:
- 10.2.1
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
Parameter | Details |
---|---|
| The response format. The default response is Values: |
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"
}