Создаёт жалобу на реально существующий объект с системным заявителем -2; для отзыва или услуги сразу сохраняется снимок объекта.
Security
bearerAuth or jwtCookie
- https://felmee.comhttps://felmee.com/api/admin/complaints/test
- http://localhost:8080http://localhost:8080/api/admin/complaints/test
curl -i -X POST \
https://felmee.com/api/admin/complaints/test \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"subject_type": "REVIEW",
"subject_id": 987,
"reason": "Отзыв содержит оскорбления в адрес мастера"
}'Тестовая жалоба создана
Устаревший camelCase-alias поля error_code; при ошибке оба поля содержат одинаковое значение.
Код ошибки. Для успешных ответов всегда null.
Enum:"invalid_body""unauthorized""not_found""conflict""object_modified_by_another_thread""action_too_late""too_many_request""code_is_gone""forbidden""user_blocked"
Response
{ "success": true, "message": "Test complaint created successfully", "codeError": null, "error_code": null, "data": { "complaint_id": 121, "status": "OPEN", "reporter_user_id": -2, "subject_type": "REVIEW", "subject_id": 987, "reason": "Отзыв содержит оскорбления в адрес мастера", "created_at": "2026-05-01T10:15:30Z" } }