Flag Edit the file on GitHub

A Flag is used to mark user provided content as requiring attention/moderation.

Table of Contents

Field Guide

Field Type Description
reason String A codename for the flag. To be supplied as parameter upon flagging.
description String A human readable extended reason description.

Retrieve all flags

  GET /flags

GET https://api.skroutz.gr/flags

View Response
Show Headers
Status: 200
{
  "flags": [
    {
      "reason": "bad_language",
      "description": "Περιέχει απρεπείς εκφράσεις"
    },
    {
      "reason": "wrong_section",
      "description": "Περιέχει ερώτηση/συζήτηση"
    },
    {
      "reason": "spam",
      "description": "Περιέχει παραπλανητικές πληροφορίες"
    }
  ]
}