lichess-org / lichess-org/api

Comprehension question: Custom tournament endpoint (Get)

Open
#101 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
597
Forks
176
Avg merge
1d 4h
Merged PRs (30d)
6

Description

When I call /api/tournament I seem to only get tournaments created by "lichess". Because I created a tournament starting in about 40 minutes and I can't see it either at https://lichess.org/tournament nor using the /api/tournament-endpoint.

My questions:
How many items are returned? Is this fixed by count or time (plus x from now)?
How can I see other (custom) tournaments?

The description says:

> This API is used to display the Lichess tournament schedule.

I wonder how this can be, because when I view the tournament page, I can see only one custom arena of one of my teams, but not the one created by me.
When I go incognito browser mode I can't see any custom tournament.
So it seems to me, that the custom team tournament is merged into the data of https://lichess.org/tournament
But how is the data retrieved?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /api/tournament endpoint and its API description, then compare its results with the /tournament page and the custom tournament behavior described here. Done means the documentation clearly explains how many tournaments are returned and whether or how custom tournaments appear.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.