mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 15:00:36 -04:00
Implement mostly decent JSON API for channels and post creation
Now the possible id of the cannel/post is returned and channel/post is indexed on creation without having to wait for gxsutil scan to happen Note that the id is correct in normal usage, but if one try to overload the API per eventually get the id of another channel/post with same data but created by a different call, it is not dangerous so one trying to overload the API is just getting a possibly wrong but equivalent channel/post id returned.
This commit is contained in:
parent
c05c376351
commit
321fc8a8d4
3 changed files with 89 additions and 18 deletions
|
@ -4,7 +4,7 @@
|
|||
* *
|
||||
* libretroshare: retroshare core library *
|
||||
* *
|
||||
* Copyright 2012-2012 by Robert Fernie <retroshare@lunamutt.com> *
|
||||
* Copyright (C) 2012 Robert Fernie <retroshare@lunamutt.com> *
|
||||
* Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> *
|
||||
* *
|
||||
* This program is free software: you can redistribute it and/or modify *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue