➕ New docs describing new /members/single route
This commit is contained in:
parent
898a7a8ca2
commit
cf1dee9842
@ -32,6 +32,7 @@ weight: 14
|
|||||||
* Member
|
* Member
|
||||||
* Contains all public data about your account on the server
|
* Contains all public data about your account on the server
|
||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
```
|
```
|
||||||
> GET /members/me?id=123&jwt=...
|
> GET /members/me?id=123&jwt=...
|
||||||
@ -44,6 +45,34 @@ Example
|
|||||||
< }
|
< }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### `GET /members/single`
|
||||||
|
|
||||||
|
* Required query string parameters:
|
||||||
|
|
||||||
|
* id: u64
|
||||||
|
* jwt: String
|
||||||
|
|
||||||
|
* member_id: u64
|
||||||
|
|
||||||
|
* Returns
|
||||||
|
* Full Public User
|
||||||
|
* Behind the key 'member`
|
||||||
|
|
||||||
|
Example
|
||||||
|
```
|
||||||
|
> GET /members/single
|
||||||
|
|
||||||
|
< {
|
||||||
|
< "name": "nickname-here",
|
||||||
|
< "id": 0, // always 0
|
||||||
|
< "joindate": <unix-timestamp>,
|
||||||
|
< "status": 1|2
|
||||||
|
< "permissions": <64-bit-mask>
|
||||||
|
< }
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### `GET /members/online`
|
### `GET /members/online`
|
||||||
|
|
||||||
* Required query string parameters:
|
* Required query string parameters:
|
||||||
|
Loading…
Reference in New Issue
Block a user