server/api/api.html [235:261]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
limit: (integer) The limit that causes a ban
name: (string) The name of the rule
query: (array) The individual query args to look for
rid: (string) rule ID, if overriding a previous rule
span: (integer) The span (in hours) within which to look for offenses
type: (string) The type of rule
application/json: {}
200: { "message": "Action completed" }default: { "code": 403, "reason": "You need to be logged in to view this endpoint!" }- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - server/api/api.html [312:338]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -JSON parameters:
limit: (integer) The limit that causes a ban
name: (string) The name of the rule
query: (array) The individual query args to look for
rid: (string) rule ID, if overriding a previous rule
span: (integer) The span (in hours) within which to look for offenses
type: (string) The type of rule
Input examples:
application/json: {}Response examples:
200: { "message": "Action completed" }default: { "code": 403, "reason": "You need to be logged in to view this endpoint!" }- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -