scratch-api-unofficial-docs
scratch-api-unofficial-docs copied to clipboard
Add PUT project metadata, POST/DELETE love/faves
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/<id> (requires auth)
- [ ] (POST, DELETE) /projects/<id>/favorites/user/<user> (requires auth)
- [ ] (POST, DELETE) /projects/<id>/loves/user/<user> (requires auth)
Note LLK/scratch-www#2171, which does updateProject(..., {comments_allowed: <boolean>})
(i.e. comments_allowed
is a part of this endpoint).
(PS I removed "not enough information" because I think we do have enough to technically document this - but I probably won't until 3.0 is actually released (alongside the "preview" project page), hence it's in the appropriate milestone.)
See also https://github.com/LLK/scratch-www/pull/2615/, there is a proxy API for this apparently, which fixes a bug where love/fave notifications weren't being sent.