Obter todos os tickets de suporte

GET /tickets

Retorna todos os tickets de suporte registrados no sistema.

Responses

  • 200 application/json

    Tickets retornados com sucesso

    Hide response attributes Show response attributes object
  • 500 application/json

    Erro ao Procurarr tickets

    Hide response attributes Show response attributes object
GET /tickets
curl \
 --request GET 'http://localhost:8000/tickets'
Response examples (200)
[
  {
    "id": 42,
    "subject": "string",
    "message": "string",
    "created_at": "2025-05-04T09:42:00Z",
    "status": "string",
    "response": "string"
  }
]
Response examples (500)
{
  "message": "string",
  "error": "string"
}