scratch-api-unofficial-docs
scratch-api-unofficial-docs copied to clipboard
Unofficial documentation for the Scratch API.
See LLK/scratch-www#2206. Edit - it's a new `scratchteam` boolean property.
See LLK/scratch-www#2194 - there are apparently quite a few endpoints for admin-specific actions (like restoring/undeleting comments).
See https://github.com/LLK/scratch-www/pull/2190 for reference. (scratch-www previously used `site-api` for this, which I was avoiding documenting, but now it's under `api.scratch.mit.edu/proxy`, so it can go in proxy.md.)
I want to document https://projects.scratch.mit.edu (used in 3.0), not https://scratch.mit.edu/services/upload (used in 1.4 and offline 2.0) nor whatever online 2.0 uses. At this point most relevant information is available, between...
Breaking off of #25. As far as I can tell, these endpoints are currently private (i.e. can't be used). See https://github.com/LLK/scratch-www/pull/1856/files for reference. - [ ] (PUT) /projects/\ (requires auth)...
See LLK/scratch-www#1985. This is probably a big one! - [x] (GET) `/projects//studios` - [x] (GET) `/users//studios/curate` - [ ] (POST) `/studios//project/` (add to studio; requires auth) - [ ] (DELETE)...
Seems to be implemented a little differently from the normal API - it's on a separate domain? https://backpack.scratch.ly/ End domain might be backpack.scratch.mit.edu - IIRC, scratch.ly is a testing domain...
See https://github.com/LLK/scratch-www/blob/ff18ff4a76bc76347149052bffdf73446ef06dfd/src/redux/preview.js#L905-L920 for reference.
Such as, for example, "Reading and interacting with comments". Besides helping to make the docs more navigable, this allows for adding general content information beneath headings, if it would be...
- [x] /users/<user>/messages (requires auth) - [ ] /users/<user>/messages/admin (requires auth) - [x] /users/<user>/messages/count - [ ] Bonus: /users/<user>/invites (requires auth) [invite](https://github.com/LLK/scratch-www/blob/4f927b1d386f0dc5d2057c468d8c1de61788b99c/src/views/messages/presentation.jsx#L309-L310) object: datetime_created, id. Can be dismissed like normal...