fix(api): don't require '@me' string on own-system-only endpoints

This commit is contained in:
spiral
2021-11-28 18:33:41 -05:00
parent e85073665e
commit 318b9b5b66
4 changed files with 42 additions and 26 deletions

View File

@@ -204,7 +204,8 @@ Takes an array of member references as input. (An empty list is accepted.) Retur
---
## Switches
*`switchRef` must be a switch's UUID. On POST/PATCH/DELETE endpoints, `systemRef` must be `@me`.*
*`switchRef` must be a switch's UUID. `systemRef` can be a system's short (5-character) ID, a system's UUID, the ID of a Discord account linked to the system, or the string `@me` to refer to the currently authenticated system.*
### Get System Switches