add api docs
This commit is contained in:
parent
3a2529561f
commit
b3da008694
11
doc/api.md
Normal file
11
doc/api.md
Normal file
@ -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`
|
Reference in New Issue
Block a user