Get report policy options

GET /user-reports

Get all the possible policy options that a user can select when making a user report.

Headers

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • policies array[object] Required
      Hide policies attributes Show policies attributes object
      • id string Required
      • name string Required
      • description string
      • translations object
        Hide translations attributes Show translations attributes object
        • name object Required
          Hide name attributes Show name attributes object
          • en string
          • fr string
          • de string
        • description object
          Hide description attributes Show description attributes object
          • en string
          • fr string
          • de string
GET /user-reports
curl \
 --request GET 'https://api.lassomoderation.com/api/v1/user-reports' \
 --header "Authorization: Bearer lasso.a35afd...a6ea"
Response examples (200)
{
  "success": true,
  "policies": [
    {
      "id": "rude_gestures",
      "name": "Rude Gestures",
      "description": "Images containing rude gestures",
      "translations": {
        "name": {
          "en": "Rude Gestures",
          "nl": "Onbeschofte gebaren"
        },
        "description": {
          "en": "Images containing rude gestures",
          "nl": "Afbeeldingen met onbeschofte gebaren"
        }
      }
    },
    {
      "id": "other",
      "name": "Other"
    }
  ]
}