API Reference
Create Report
modIdstring
Length
1 <= length
type?unknown
Default
"broken"
Value in
"broken" | "outdated" | "malicious" | "inappropriate" | "other"
reasonstring
Length
5 <= length <= 500
description?string
Length
length <= 2000
reporterHardwareId?string
Response Body
curl -X POST "https://api.deadlock-mods.com/api/v2/reports" \ -H "Content-Type: application/json" \ -d '{ "modId": "string", "reason": "string" }'
{
"id": "string",
"status": "success",
"error": "string"
}