towerofnix / scratch-api-unofficial-docs

Unofficial documentation for the Scratch API.
https://towerofnix.github.io/scratch-api-unofficial-docs/
54 stars 13 forks source link

Limit changed from 40 to 20 #74

Closed gjschaap0x closed 10 months ago

gjschaap0x commented 10 months ago

If I perform a GET request to https://api.scratch.mit.edu/users/MrMedra/projects , I receive a list with only 20 items, while the documentation says the limit is 40, even though the user has over 100 projects.

towerofnix commented 10 months ago

Thanks - I think this is a misstatement on the documentation's part. It says "Limited to 40 results per request," which is true, but it doesn't mention that the default is 20 (like other sections).

You can get back 40 projects by adding ?limit=40 - anything above 40 is a BadRequest error.