Create GET /api/matches #44

Closed
opened 2025-11-20 22:19:08 +00:00 by KZix · 0 comments
Owner

Entendido. Vamos direto ao assunto. Aqui tens as Issues formatadas exatamente como pediste, focadas nos Endpoints para os Matches.

Issue: Implementar GET /api/matches
Descrição: Endpoint para listar os matches (usado para o Lobby e Histórico). AC (Acceptance Criteria):

Retornar uma lista de matches paginada (ex: 15 por página).

Permitir filtrar por status (ex: ?status=Pending para o Lobby).

Permitir filtrar por type (ex: ?type=3 ou 9).

A lista deve vir ordenada por began_at (mais recentes primeiro).

Incluir os dados dos jogadores (player1, player2) e vencedor na resposta.

Entendido. Vamos direto ao assunto. Aqui tens as Issues formatadas exatamente como pediste, focadas nos Endpoints para os Matches. Issue: Implementar GET /api/matches Descrição: Endpoint para listar os matches (usado para o Lobby e Histórico). AC (Acceptance Criteria): Retornar uma lista de matches paginada (ex: 15 por página). Permitir filtrar por status (ex: ?status=Pending para o Lobby). Permitir filtrar por type (ex: ?type=3 ou 9). A lista deve vir ordenada por began_at (mais recentes primeiro). Incluir os dados dos jogadores (player1, player2) e vencedor na resposta.
KZix added the statsfeatureapigameplay labels 2025-11-20 22:19:08 +00:00
KZix added this to the Bisca - API project 2025-11-20 22:19:08 +00:00
KZix moved this to In Progress in Bisca - API on 2025-12-11 22:37:04 +00:00
KZix added reference feature/game-endpoints 2025-12-11 22:37:15 +00:00
KZix self-assigned this 2025-12-11 22:37:39 +00:00
KZix removed reference feature/game-endpoints 2025-12-14 00:39:59 +00:00
KZix changed title from Create GET /api/users/{id}/matches endpoint to Create GET /api/matches 2025-12-14 02:28:31 +00:00
KZix added reference feature/matches-api-endpoints 2025-12-14 02:29:03 +00:00
KZix moved this to Done in Bisca - API on 2025-12-18 20:41:34 +00:00
KZix closed this issue 2025-12-18 21:05:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyntaxSquad/DADProject#44