Skip to content

Commit

Permalink
document new endpoint /broadcast/{broadcastTournamentId}/leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 13, 2024
1 parent 9f85a94 commit cf3f460
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/specs/lichess-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ paths:
/api/broadcast/{broadcastTournamentId}:
$ref: './tags/broadcasts/broadcast-broadcastTournamentId.yaml'

/broadcast/{broadcastTournamentId}/leaderboard:
$ref: './tags/broadcasts/broadcast-broadcastTournamentId-leaderboard.yaml'

/broadcast/{broadcastTournamentId}/edit:
$ref: './tags/broadcasts/broadcast-broadcastTournamentId-edit.yaml'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
get:
operationId: broadcastLeaderboardGet
summary: Get a broadcast leaderboard
description: |
Get the leaderboard of a broadcast tournament, if available.
tags:
- Broadcasts
parameters:
- in: path
name: broadcastTournamentId
description: The broadcast tournament ID (8 characters).
required: true
schema:
type: string
responses:
'200':
description: The broadcast leaderboard players

0 comments on commit cf3f460

Please sign in to comment.