match endpoint bug: documentation or code?

Sort:
skelos

Hi,

This time I promise I've a real live discrepancy between the documentation and what the match endpoint delivers.

Documented:

"teams": [
        "team1": {
            "@id": "URL", // API URL for the club profile
            "name": "string", // club name

The @id is provided but "name" is not. I think I'd like to have it rather than the documentation be updated to delete "name" as in user-visible reports the name will mean a lot more than @id (and there is no @url either, as has been discussed elsewhere).

 

Cheers,

Giles

 

skelos

Match I checked with (in_progress):

https://api.chess.com/pub/match/865924

Easiest way to confirm in a browser is to load that URL and search for "name" including the quotes.