{ "basePath": "/", "swaggerVersion": "1.1", "apiVersion": "0.1", "apis": [ { "operations": [ { "errorResponses": [ { "reason": "Is returned when the list of queries can be retrieved successfully.

", "code": "200" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request,



", "code": "400" } ], "parameters": [], "notes": "", "summary": " Returns the properties for the AQL query tracking", "httpMethod": "GET", "examples": "", "nickname": "ReturnsThePropertiesForTheAqlQueryTracking" } ], "path": "/_api/query/properties" }, { "operations": [ { "errorResponses": [ { "reason": "Is returned when the list of queries can be retrieved successfully.

", "code": "200" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request,



", "code": "400" } ], "parameters": [], "notes": "", "summary": " Returns the currently running AQL queries", "httpMethod": "GET", "examples": "", "nickname": "ReturnsTheCurrentlyRunningAqlQueries" } ], "path": "/_api/query/current" }, { "operations": [ { "errorResponses": [ { "reason": "Is returned when the list of queries can be retrieved successfully.

", "code": "200" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request,



", "code": "400" } ], "parameters": [], "notes": "", "summary": " Returns the list of slow AQL queries", "httpMethod": "GET", "examples": "", "nickname": "ReturnsTheListOfSlowAqlQueries" } ], "path": "/_api/query/slow" }, { "operations": [ { "errorResponses": [ { "reason": "The server will respond with HTTP 200 when the list of queries was cleared successfully.

", "code": "204" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request.

", "code": "400" } ], "parameters": [], "notes": "", "summary": " Clears the list of slow AQL queries", "httpMethod": "DELETE", "examples": "", "nickname": "ClearsTheListOfSlowAqlQueries" } ], "path": "/_api/query/slow" }, { "operations": [ { "errorResponses": [ { "reason": "The server will respond with HTTP 200 when the query was still running when the kill request was executed and the query's kill flag was set.

", "code": "200" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request.

", "code": "400" }, { "reason": "The server will respond with HTTP 404 when no query with the specified id was found.

", "code": "404" } ], "parameters": [ { "dataType": "String", "paramType": "path", "required": true, "name": "query-id", "description": "The id of the query.

Kills a running query. The query will be terminated at the next cancellation point.

" } ], "notes": "", "summary": " Kills a running AQL query", "httpMethod": "DELETE", "examples": "", "nickname": "KillsARunningAqlQuery" } ], "path": "/_api/query/{query-id}" }, { "operations": [ { "errorResponses": [ { "reason": "Is returned if the properties were changed successfully.

", "code": "200" }, { "reason": "The server will respond with HTTP 400 in case of a malformed request,



", "code": "400" } ], "parameters": [ { "dataType": "Json", "paramType": "body", "required": true, "name": "properties", "description": "The properties for query tracking in the current database.

The properties need to be passed in the attribute properties in the body of the HTTP request. properties needs to be a JSON object with the following properties:

After the properties have been changed, the current set of properties will be returned in the HTTP response.

" } ], "notes": "", "summary": " Changes the properties for the AQL query tracking", "httpMethod": "PUT", "examples": "", "nickname": "ChangesThePropertiesForTheAqlQueryTracking" } ], "path": "/_api/query/properties" } ] }