refactor(apiv2): rewrite group member endpoints to be cleaner
This commit is contained in:
@@ -35,12 +35,14 @@ When something goes wrong, the API will send back a 4xx HTTP status code, along
|
||||
|0|401|Missing or invalid Authorization header|
|
||||
|20001|404|System not found.|
|
||||
|20002|404|Member not found.|
|
||||
|20003|404|Group not found.|
|
||||
|20004|404|Message not found.|
|
||||
|20005|404|Switch not found.|
|
||||
|20005|404|Switch not found, switch associated with different system, or unauthorized to view front history.|
|
||||
|20006|404|No system guild settings found for target guild.|
|
||||
|20007|404|No member guild settings found for target guild.|
|
||||
|20003|404|Member '{memberRef}' not found.|
|
||||
|20004|404|Group not found.|
|
||||
|20005|404|Group '{groupRef}' not found.|
|
||||
|20006|404|Message not found.|
|
||||
|20007|404|Switch not found.|
|
||||
|20008|404|Switch not found, switch associated with different system, or unauthorized to view front history.|
|
||||
|20009|404|No system guild settings found for target guild.|
|
||||
|20010|404|No member guild settings found for target guild.|
|
||||
|30001|403|Unauthorized to view member list|
|
||||
|30002|403|Unauthorized to view group list|
|
||||
|30003|403|Unauthorized to view group member list|
|
||||
@@ -48,8 +50,8 @@ When something goes wrong, the API will send back a 4xx HTTP status code, along
|
||||
|30005|403|Unauthorized to view front history.|
|
||||
|30006|403|Target member is not part of your system.|
|
||||
|30007|403|Target group is not part of your system.|
|
||||
|30008|403|$Member '{memberRef}' is not part of your system.|
|
||||
|30009|403|$Group '{groupRef}' is not part of your system.|
|
||||
|30008|403|Member '{memberRef}' is not part of your system.|
|
||||
|30009|403|Group '{groupRef}' is not part of your system.|
|
||||
|40002|400|Missing autoproxy member for member-mode autoproxy.|
|
||||
|40003|400|Duplicate members in member list.|
|
||||
|40004|400|Member list identical to current fronter list.|
|
||||
|
Reference in New Issue
Block a user