Skip to content

Commit 5aed5cd

Browse files
committed
added header info to replication api
1 parent 9b5c540 commit 5aed5cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/server/common.rst

+3
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@
486486
should occur (protocol can be "http" or "socks5")
487487
:<json string source: Source database name or URL
488488
:<json string target: Target database name or URL
489+
:<json object headers: Object with header info in key value pairs.
490+
Eg: {"Authorization": "Basic Ym9iQGV4YW1wbGUuY29tOnBhc3N3b3Jk",
491+
"header_name_2": "header_value_2",...}.
489492
:>header Content-Type: - :mimetype:`application/json`
490493
- :mimetype:`text/plain; charset=utf-8`
491494
:>json array history: Replication history (see below)

0 commit comments

Comments
 (0)