mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-13 18:46:04 +05:00
The code is not elegant as this version of the API will be soon obsolete but it offer a bunch of channels functionalities, comments and votes are not implemented yet /channels/list_channels get all visibile channels /channels/get_channel get content of a subscribed channel /channels/toggle_subscribe subscribe/unsubscribe to a channel /channels/toggle_auto_download set/unset auto-download for files attached to posts in a channel /channels/toggle_read mark a post as read /channels/create_channel create a new channel /channels/create_post create a new post in given channel, group_id paramenter renamed to channel_id for consistence mChannels use reference instead of pointer as it must be valid for the whole lifetime of the object RsGxsCommentService and derivatives use proper types for parameter, avoid reference when unneeded |
||
|---|---|---|
| .. | ||
| api | ||
| util | ||
| webui-src | ||
| .gitignore | ||
| libresapi.pro | ||
| README.md | ||
libresapi: resource_api and new webinterface
- ./api contains a C++ backend to control retroshare from webinterfaces or scripting
- ./webui contains compiled files for the webinterface (after build)
- ./webui-src contains HTML/CSS/JavaScript source files for the webinterface (NEW, webinterface made with mithril.js)
Quickinfo for builders and packagers
- copy the files in ./webui to
- ./webui (Windows)
- /usr/share/retroshare/webui (Linux)
- other OS: see RsAccountsDetail::PathDataDirectory()