Update and rename doc/api.md to doc/developer/api.md
This commit is contained in:
12
doc/developer/api.md
Normal file
12
doc/developer/api.md
Normal file
@@ -0,0 +1,12 @@
|
||||
NNTPChan JSON-RPC 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`
|
Reference in New Issue
Block a user