[Bug?] Not all participants returned for a tournament

Sort:
aperechnev

Today we played a tournament and I tried to retrieve the information via API: https://api.chess.com/pub/tournament/iacf-rapid-swiss-1114665/. Registered user count = 52, but the endpoint returns only the first page of users (the first 25 users). Is it a bug or there is a way to retrieve the next pages?

Nevfy

There is a link inside the reply:

https://api.chess.com/pub/tournament/iacf-rapid-swiss-1114665/4

There all 52 players are listed.

UPD:

Also, here:

https://api.chess.com/pub/tournament/iacf-rapid-swiss-1114665/4/1

All players as well as games are listed.

aperechnev

Oh, thanks a lot.

Nevfy

But there is definitely a bug there for the field "URL".

In the request it returns:

, whereas it should be:

https://www.chess.com/tournament/live/iacf-rapid-swiss-1114665 (part "live/" is missing)

 

andreamorandini

@Nevfy Thank you for spotting the url bug. We will fix promptly.