About administrative and configuration operations

Administrative and configuration operations make it possible to check Dgraph statistics, and enable or disable diagnostic flags, without having to stop a running Dgraph. This section lists the supported administrative and configuration URLs, describes the functions of each URL, and defines the syntax of those URLs.

Syntax of administrative and configuration operations

In the following listings:
  • <host> refers to the hostname or IP address of the Oracle Endeca Server.
  • <port> refers to the port on which the Oracle Endeca Server is listening.
  • endeca-server is the context root of the Oracle Endeca Server application.
  • <data_domain> refers to the name of the Endeca data domain on which the command will operate.

Queries to these URLs are handled in the Dgraph's request queue like any other request—that is, they are handled on a first-come, first-served basis. They are also reported in the Dgraph request log like any other request.

For administrative operations, the syntax is:

http://<host>:<port>/endeca-server/admin/<data_domain>?op=<supported-operation> 
For example:
http://localhost:7001/endeca-server/admin/books?op=merge
For configuration operations, the syntax is:
http://<host>:<port>/endeca-server/config/<data_domain>?op=<supported-operation>
For example:
http://localhost:7001/endeca-server/config/books?op=log-status
Note: If you are using HTTPS mode, use https in the URL.