Backend REST API changes:
* Fixed weird match with get_online_members + Now using special(smoll) Public Member struct for public member data fetches as. They're size on networks should be pretty small so we can package a ton of them in a single request DOCS changes: - Removing references to unix timestamps in seconds - Removing references to joindate * Exact content-type values now specified
This commit is contained in:
@@ -29,7 +29,7 @@ Example
|
||||
> POST /invite/create?id=123&jwt=
|
||||
|
||||
< {
|
||||
< "id": <unix-timestamp>,
|
||||
< "id": <unix-timestamp ms>,
|
||||
< "uses": 3,
|
||||
< "expires": true
|
||||
< }
|
||||
@@ -59,7 +59,6 @@ Example
|
||||
* status: 0
|
||||
* permissions: 51
|
||||
* name: Anonymous
|
||||
* joindate: Current Unix time since epoch
|
||||
|
||||
|
||||
Example
|
||||
@@ -70,7 +69,6 @@ Example
|
||||
< "id": 123,
|
||||
< "secret": "super secret",
|
||||
< "name": "Anonymous",
|
||||
< "joindate": 134256,
|
||||
< "status": 0,
|
||||
< "permissions": 51
|
||||
< }
|
||||
|
||||
@@ -40,7 +40,6 @@ Example
|
||||
< {
|
||||
< "name": "nickname-here",
|
||||
< "id": 123,
|
||||
< "joindate": <unix-timestamp>,
|
||||
< "permissions": <64-bit-mask>
|
||||
< }
|
||||
```
|
||||
@@ -65,7 +64,6 @@ Example
|
||||
< {
|
||||
< "name": "nickname-here",
|
||||
< "id": 0, // always 0
|
||||
< "joindate": <unix-timestamp>,
|
||||
< "status": 1|2
|
||||
< "permissions": <64-bit-mask>
|
||||
< }
|
||||
|
||||
@@ -16,15 +16,15 @@ weight: 15
|
||||
* jwt: String
|
||||
|
||||
* channel_id: u64
|
||||
* type: String
|
||||
|
||||
Valid values:
|
||||
|
||||
* text
|
||||
* jpeg
|
||||
* png
|
||||
* webm
|
||||
* mp4
|
||||
* Required headers:
|
||||
Note that for any content that it is required that non-`text/plain` content be base64 encoded
|
||||
* content-type: String
|
||||
* text/plain
|
||||
* image/jpg | image/jpeg
|
||||
* image/png
|
||||
* application/webm
|
||||
* application/mp4
|
||||
* application/mp3
|
||||
|
||||
* Required body:
|
||||
* Content itself should always go in the body
|
||||
@@ -41,9 +41,9 @@ weight: 15
|
||||
|
||||
* channel_id: u64
|
||||
* start_time: i64
|
||||
* Unix timestamp (seconds)
|
||||
* Unix timestamp (milli-seconds)
|
||||
* end_time: i64
|
||||
* Unix timestamp (seconds)
|
||||
* Unix timestamp (milli-seconds)
|
||||
|
||||
* limit: Optional<u64>
|
||||
* Maximum = 1000
|
||||
|
||||
Reference in New Issue
Block a user