ServerOpenapi

List flags

Returns all stored flags.

GET
/flags

Returns all stored flags.

Authorization

CookieAuth
token<token>

Session JWT cookie returned by /api/v1/auth/login.

In: cookie

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/flags"
{
  "flags": [
    {
      "exploit_name": "string",
      "flag_code": "string",
      "msg": "string",
      "port_service": 0,
      "response_time": 0,
      "service_name": "string",
      "status": 0,
      "submit_time": 0,
      "team_id": 0,
      "username": "string"
    }
  ],
  "n_flags": 0
}
{
  "details": "string",
  "error": "string"
}