Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when embedding game.variables #95

Open
Avasam opened this issue Apr 17, 2020 · 3 comments
Open

Crash when embedding game.variables #95

Avasam opened this issue Apr 17, 2020 · 3 comments

Comments

@Avasam
Copy link

Avasam commented Apr 17, 2020

Action:
GET https://www.speedrun.com/api/v1/users/qjn1wzw8/personal-bests?embed=game.variables

Result:
500 Server Error: Internal Server Error

Excepted result:
A JSON object representing the player's PBs with variables

Ultimately I wanted to do:
GET https://www.speedrun.com/api/v1/users/qjn1wzw8/personal-bests?embed=level,game.levels,game.variables to massively reduce the amount of requests I do to the API.

@AnInternetTroll
Copy link

I think you used . instead of , because GET https://www.speedrun.com/api/v1/users/qjn1wzw8/personal-bests?embed=game,variables works for me with no error.

@Avasam
Copy link
Author

Avasam commented Apr 23, 2020

@AnInternetTroll I did mean . this embeds resources in an embedded resource, see: Embedding#Recursion

@dbeal-eth
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants