diff --git a/API-Docs.md b/API-Docs.md index 0bd5f88..648a61d 100644 --- a/API-Docs.md +++ b/API-Docs.md @@ -415,6 +415,31 @@ Shadow banned submissions are hidden for everyone but the IP that originally sub 400: Bad Request (Your inputs are wrong/impossible) +403: Unauthorized (You are not a VIP) +__________________________________________________________________ + +**POST** `/api/warnUser` + +Temporary ban that shows a warning asking them to contact us. + +**Input** (Request Body): +``` +{ + issuerUserID: string, // your userID + userID: string, // public userID you are warning + enabled: boolean //optional, default true +} +``` + +**Response**: +``` +{ + Nothing (status code 200) +} +``` + +**Error codes**: + 403: Unauthorized (You are not a VIP) __________________________________________________________________