Query parameters

  • target string Required

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • logo_id integer Required
    • name string Required
    • preview_url string Required
    • target string Required
    • custom_css string | null Required
    • active boolean Required
    • authors array[object] | array Required

      Any of:
      Hide attributes Show attributes object
      • author_id integer Required
      • user_id integer Required
      • username string Required
      • created_at integer Required
    • created_at integer Required
  • 503 application/json

    Database connection error

    Hide response attribute Show response attribute object
    • detail string

      Default value is Can't connect to MySQL server on '[SERVER]'.

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
GET /api/logos
curl \
 -X GET https://lztup.toil.cc/api/logos?target=string
Response examples (200)
[
  {
    "logo_id": 42,
    "name": "string",
    "preview_url": "string",
    "target": "string",
    "custom_css": "string",
    "active": true,
    "authors": [
      {
        "author_id": 42,
        "user_id": 42,
        "username": "string",
        "created_at": 42
      }
    ],
    "created_at": 42
  }
]
Response examples (503)
{
  "detail": "Can't connect to MySQL server on '[SERVER]'"
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}