note regarding badges ready for actual badges notes
This commit is contained in:
parent
d3bcb5a623
commit
ea2cccb024
21
docs/api.md
21
docs/api.md
@ -91,3 +91,24 @@ On paramter failure:
|
||||
On server error:
|
||||
HTTP 500 Internal Server Error
|
||||
|
||||
|
||||
## Administrative Instance Routes
|
||||
|
||||
The following routes can only be used by logged in users who have badges with administrative permissions.
|
||||
|
||||
|
||||
```
|
||||
/admin/setperm
|
||||
```
|
||||
|
||||
Parameter
|
||||
|
||||
* permission<u64>
|
||||
|
||||
The permission provided is applied internally as a bit mask, a full list of permissions can be found under the permissions sections.
|
||||
|
||||
|
||||
## Permissions
|
||||
|
||||
Below is a list of currently supported permissions which badges can have. Keep in mind the size of these badges is 64 bits long and is stored internally as unsigned 64 bit integers.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user