-
Notifications
You must be signed in to change notification settings - Fork 2
RequestView
binarybox edited this page Jun 23, 2017
·
2 revisions
The RequestView class is used to submit a request for moderator rights.
The request can be accessed via "clonecademy/user/request/"
Header: user id (for permissions and filtering)
Response: 200 (can submit request), 403 + reason (is mod or to many mod requests)
Header: user id (for permissions and saving)
Request:
{
"reason": string "the reason for the request",
}
Response: 200 (request sent), 500 + serializer error (error)
Side effects: sends an email to the admins requesting mod access