scratch-api-unofficial-docs

/studios/ API

GET /studios/<id>/comments

Gets a list of top-level comments created on the studio. Returns an array of comment objects. Limited to 40 results per request, but returns 20 by default.

(References: redux/studio-comment-actions.js, views/studio/studio-comments.jsx)

GET /studios/<id>/comments/<id>

Gets a single comment. Returns a comment object.

(References: redux/studio-comment-actions.js, views/studio/studio-comments.jsx)

GET /studios/<id>/comments/<id>/replies

Gets a list of replies to a top-level comment on the studio. Returns an array of comment objects. Limited to 40 results per request, but returns 20 by default.

(References: redux/project-comment-actions.js #1, redux/project-comment-actions.js #2, redux/project-comment-actions.js #3, views/studio/studio-comments.jsx)

Sending & deleting comments

Comments are sent and deleted through the /proxy API: