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. They also let you stop and restart the Dgraphs. This section lists URLs exposed by the Dgraph, describes the functions of each URL, and defines the syntax of those URLs.

The syntax of administrative and configuration operations

In the following listings, <host> refers to the hostname or IP address of the MDEX Engine and <port> refers to the port on which the MDEX Engine is listening. Queries to these URLs are handled in the MDEX Engine'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 MDEX Engine request log like any other request.

For administrative operations, the syntax is:

http://<host>:<port>/admin?op=<supported-operation> 

For configuration operations, the syntax is:

http://<host>:<port>/config?op=<supported-operation>
Note: If you are using HTTPS mode, use https in the URL.