mirror of
https://gitlab.com/niansa/commsy-rest.git
synced 2025-03-06 20:48:27 +01:00
Update README.txt
This commit is contained in:
parent
2d96b90dcb
commit
2a19e2c5a0
2 changed files with 15 additions and 1 deletions
15
README.md
Normal file
15
README.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
### Commsy REST API
|
||||||
|
Provides a REST API to commsy servers via libcommsy
|
||||||
|
|
||||||
|
## Example server
|
||||||
|
`https://commsyapi.home.tuxifan.cf`
|
||||||
|
|
||||||
|
Endpoints:
|
||||||
|
|
||||||
|
# `/fetchList`
|
||||||
|
GET parameters:
|
||||||
|
* url: URL to the commsy server (startpage)
|
||||||
|
* sid: SID to authenticate with
|
||||||
|
* room: room to load
|
||||||
|
* startId: ID before the first ID to list (optional, default: start with first post)
|
||||||
|
* maxPosts: maximum amount of posts to load
|
|
@ -1 +0,0 @@
|
||||||
https://commsyapi.home.tuxifan.cf/fetchList?url=<url>&sid=<sid>&room=<room>&startId=[ID before the first ID to list]&maxPosts=[maximum amount of posts to load]
|
|
Loading…
Add table
Reference in a new issue