scratch-api-unofficial-docs icon indicating copy to clipboard operation
scratch-api-unofficial-docs copied to clipboard

Add PUT project metadata, POST/DELETE love/faves

Open towerofnix opened this issue 6 years ago • 2 comments

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)

towerofnix avatar Jul 26 '18 12:07 towerofnix

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.)

towerofnix avatar Oct 10 '18 19:10 towerofnix

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.

towerofnix avatar Jan 07 '19 17:01 towerofnix