Skip to content

Commit

Permalink
broadcast players endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 9, 2024
1 parent afd6103 commit b1a4e19
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ properties:
rating:
type: integer
example: 2149
ratingDiff:
type: integer
example: -5
performance:
type: integer
example: 2138
title:
type: string
example: FM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
get:
operationId: broadcastLeaderboardGet
summary: Get a broadcast leaderboard
operationId: broadcastPlayersGet
summary: Get players of a broadcast
description: |
Get the leaderboard of a broadcast tournament, if available.
Get the list of players of a broadcast tournament, if available.
tags:
- Broadcasts
security: []
Expand All @@ -14,11 +14,11 @@ get:
schema:
type: string
responses:
'200':
description: The broadcast leaderboard players
"200":
description: The broadcast players
content:
application/json:
schema:
type: array
items:
$ref: '../../schemas/BroadcastLeaderboardEntry.yaml'
$ref: "../../schemas/BroadcastPlayerEntry.yaml"

0 comments on commit b1a4e19

Please sign in to comment.