Skip to content

Commit

Permalink
move to /api/challenge/:id/show
Browse files Browse the repository at this point in the history
to distinguish from /api/challenge/:user
  • Loading branch information
ornicar committed Jun 10, 2024
1 parent 260eaa6 commit 4953e47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/specs/lichess-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,8 @@ paths:
/api/challenge/{username}:
$ref: './tags/challenges/api-challenge-username.yaml'

/api/challenge/{challengeId}:
$ref: './tags/challenges/api-challenge-id.yaml'
/api/challenge/{challengeId}/show:
$ref: './tags/challenges/api-challenge-id-show.yaml'

/api/challenge/{challengeId}/accept:
$ref: './tags/challenges/api-challenge-challengeId-accept.yaml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ get:
- OAuth2: ["challenge:read"]
parameters:
- in: path
name: id
name: challengeId
required: true
description: The challenge ID
schema:
Expand Down

0 comments on commit 4953e47

Please sign in to comment.