{ "basePath": "/", "swaggerVersion": "1.1", "apiVersion": "0.1", "apis": [ { "operations": [ { "errorResponses": [ { "reason": "Is returned if the operation succeeds.

", "code": "200" }, { "reason": "is returned when an invalid HTTP method is used.

", "code": "405" } ], "parameters": [ { "dataType": "Boolean", "paramType": "path", "required": false, "name": "waitForSync", "description": "Whether or not the operation should block until the not-yet synchronized data in the write-ahead log was synchronized to disk.

" }, { "dataType": "Boolean", "paramType": "path", "required": false, "name": "waitForCollector", "description": "Whether or not the operation should block until the data in the flushed log has been collected by the write-ahead log garbage collector. Note that setting this option to true might block for a long time if there are long-running transactions and the write-ahead log garbage collector cannot finish garbage collection.

" } ], "notes": "

Flushes the write-ahead log. By flushing the currently active write-ahead logfile, the data in it can be transferred to collection journals and datafiles. This is useful to ensure that all data for a collection is present in the collection journals and datafiles, for example, when dumping the data of a collection.

", "summary": " Flushes the write-ahead log", "httpMethod": "PUT", "examples": "", "nickname": "FlushesTheWrite-aheadLog" } ], "path": "/_admin/wal/flush" }, { "operations": [ { "errorResponses": [ { "reason": "Is returned if the operation succeeds.

", "code": "200" }, { "reason": "is returned when an invalid HTTP method is used.



", "code": "405" } ], "parameters": [], "notes": "

Configures the behavior of the write-ahead log. The body of the request must be a JSON object with the following attributes: Specifying any of the above attributes is optional. Not specified attributes will be ignored and the configuration for them will not be modified.

", "summary": " Configures the write-ahead log", "httpMethod": "PUT", "examples": "



shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_admin/wal/properties <<EOF\n{\"logfileSize\":33554432,\"allowOversizeEntries\":true}\nEOF\n\nHTTP/1.1 200 OK\ncontent-type: application/json; charset=utf-8\n\n{ \n  \"allowOversizeEntries\" : true, \n  \"logfileSize\" : 33554432, \n  \"historicLogfiles\" : 10, \n  \"reserveLogfiles\" : 1, \n  \"syncInterval\" : 100, \n  \"throttleWait\" : 15000, \n  \"throttleWhenPending\" : 0, \n  \"error\" : false, \n  \"code\" : 200 \n}\n



", "nickname": "ConfiguresTheWrite-aheadLog" } ], "path": "/_admin/wal/properties" }, { "operations": [ { "errorResponses": [ { "reason": "Is returned if the operation succeeds.

", "code": "200" }, { "reason": "is returned when an invalid HTTP method is used.



", "code": "405" } ], "parameters": [], "notes": "

Retrieves the configuration of the write-ahead log. The result is a JSON array with the following attributes: