dambel

دمبل

shevron
ورود | ثبت نام

API Docs / reports / report resource



Report Resource

Represents a report entity, including its associations, description, status, and timestamps.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the report123
reportable_typestringType of the reportable (e.g., App\\Models\\Gym)"App\Models\Gym"
reportable_idintID of the reportable item456
user_idintID of the user who created the report789
descriptionstringDescription of the report"Broken equipment"
signed_offboolWhether the report has been signed offfalse
ai_marked_spamboolWhether the report has been marked as spam by AIfalse
created_atstringCreation timestamp (ISO 8601 format)"2020-01-01 00:00:00"

Example

{
  "id": 123,
  "reportable_type": "App\\Models\\Gym",
  "reportable_id": 456,
  "user_id": 789,
  "description": "Broken equipment reported.",
  "signed_off": false,
  "ai_marked_spam": false,
  "created_at": "2020-01-01 00:00:00"
}

AI Marked Spam

The AI system will automatically check each newly created report and marks the spam ones. So admins can exclude them while checking the reports for a better performance.

footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube