{ "basePath": "/", "swaggerVersion": "1.1", "apiVersion": "0.1", "apis": [ { "operations": [ { "errorResponses": [ { "reason": "is returned if invalid values are specified for upto or level.

", "code": "400" }, { "reason": "is returned if the log is requested for any database other than _system.

", "code": "403" }, { "reason": "is returned if the server cannot generate the result due to an out-of-memory error.

", "code": "500" } ], "parameters": [ { "dataType": "String", "paramType": "query", "required": false, "name": "upto", "description": "Returns all log entries up to log level upto. Note that upto must be: The default value is info.

" }, { "dataType": "String", "paramType": "query", "required": false, "name": "level", "description": "Returns all log entries of log level level. Note that the URL parameters upto and level are mutually exclusive.

" }, { "dataType": "Number", "paramType": "query", "required": false, "name": "start", "description": "Returns all log entries such that their log entry identifier (lid value) is greater or equal to start.

" }, { "dataType": "Number", "paramType": "query", "required": false, "name": "size", "description": "Restricts the result to at most size log entries.

" }, { "dataType": "Number", "paramType": "query", "required": false, "name": "offset", "description": "Starts to return log entries skipping the first offset log entries. offset and size can be used for pagination.

" }, { "dataType": "String", "paramType": "query", "required": false, "name": "search", "description": "Only return the log entries containing the text specified in search.

" }, { "dataType": "String", "paramType": "query", "required": false, "name": "sort", "description": "Sort the log entries either ascending (if sort is asc) or descending (if sort is desc) according to their lid values. Note that the lid imposes a chronological order. The default value is asc.

" } ], "notes": "Returns fatal, error, warning or info log messages from the server's global log. The result is a JSON object with the following attributes: