From b3da008694a121a8d0e86fb37d55c43b1b1c6215 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 23 Jan 2016 11:06:10 -0500 Subject: [PATCH] add api docs --- doc/api.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/api.md diff --git a/doc/api.md b/doc/api.md new file mode 100644 index 0000000..36530eb --- /dev/null +++ b/doc/api.md @@ -0,0 +1,11 @@ +# nntpchan jsonrpc api + +To enable set the following in `srnd.ini` section `frontend` + + [frontend] + ... + json-api = 1 + json-api-username = something-really-long + json-api-password = somethine-different-but-also-very-long + +see the example tool at `contrib/tools/api/post.js`