From ea2cccb024ad4dbb814452f09b923678e363cf91 Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 26 May 2020 02:40:29 -0700 Subject: [PATCH] note regarding badges ready for actual badges notes --- docs/api.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/api.md b/docs/api.md index d04cd1e..e08b5e0 100644 --- a/docs/api.md +++ b/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 + +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. +