Archived
1
0

add api docs

This commit is contained in:
Jeff Becker 2016-01-23 11:06:10 -05:00
parent 3a2529561f
commit b3da008694
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

11
doc/api.md Normal file
View 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`