Denunciar um Drop pelo link (sem login)
POST/api/public/drops/{token}/reports
- Auth
- Public
Les descriptions des endpoints viennent directement de la spécification de l’API et sont en portugais pour l’instant. L’interface autour est traduite.
Sem login, com ALTCHA (`GET .../challenge`). `reason`: `spam`, `sexual`, `violence`, `hate`, `illegal`, `copyright` ou `other`; `text` opcional, até 500 caracteres. Vai para a fila da equipe da comunidade (`GET /api/drops/reports`). Nada de quem denuncia é guardado. Até 10 por hora por endereço e uma por Drop e endereço por dia (429). Desafio inválido, 400 `challengeFailed`.
Paramètres
| Nom | Emplacement | Type | Description |
|---|---|---|---|
tokenobligatoire | path | string |
Corps de la requête application/json
| Nom | Type | Description |
|---|---|---|
reasonobligatoire | spam | sexual | violence | hate | illegal | copyright | other | |
textfacultatif | string | max 500 |
altchaobligatoire | string | O payload do widget ALTCHA. |
Réponses
| Statut | Description |
|---|---|
201 | Recebida. |
400 | Requisição inválida — falha de validação. |
404 | Recurso não encontrado. |
429 | Denúncias demais deste endereço. |
Exemple curl
curl -X POST "https://api.memberfy.net/api/public/drops/<token>/reports" \
-H "Content-Type: application/json" \
-d '{"reason":"spam","altcha":"string"}'