From Test-Scratch-Wiki

Translate: - English 
Archive.png
The subject of this article or section has changed dramatically and requires updating. Please keep in mind that some of the information or images may not be accurate or relevant to the current version of Scratch, the Scratch website, or the article subject.

Certain URLs on the Scratch Website could work as headers, or in other words, sends a request to the servers when visited or get specified data. Here is a documentation that lists some of these URLs. Some (not all) of these URLs have to be modified before a specified request can be sent. When opening these URLs, replace the parts that are surrounded in brackets and are in written in capitals, e.g. '(USERNAME)', if there is any. Some of these URLs could only be accessed when one is logged in, as they returns personal data which is invisible to other users. Some APIs may not be documented here; this may be intended, for some APIs are more dangerous than the others when abused. Some of these URLs require different request methods; you browser uses GET when you load a page.

Some of these could be workarounds for some suggestions,[1] or solve problems when computer programs are used to harvest mass data.[2] Others are good for satisfying curious Scratchers.[3] The Scratch Team disallows programs that requests APIs massively (e.g. a program that adds hundreds of random projects per second to a studio), because they slows the servers down.[4][5]

Front Page

— Returns the specified number of the activities of the Scratchers' you're following.

Projects

— Returns you the general data of the specified project.

— Returns the project comments of a specified project.

— Returns more projects by the same Scratcher who creates the project with the project ID given.

— Returns a list of projects that you have viewed recently.

— Returns a list of projects that you have favorited recently.

— Returns a list of projects that you have shared recently.

— Returns data about your unshared projects.

— Returns data about your trashed projects.

Studios

—Returns the studio comments of a specified studio.

— Returns the projects of a specified studio.

— Returns a list of studios that you curate.

Note: These require the PUT method, therefore they cannot be used by clicking this link.

— Follow a studio

— Unfollow a studio

Users

— Returns your account information.

— Returns the specified number of activities of a specified Scratcher.

— Returns the profile comments of a specified Scratcher.

— Returns a specified Scratcher's featured project.

— Returns the list of users on Scratch, starting at the specified user ID.

— Returns the list of Scratchers you are following, by the order they joined Scratch.

— Returns someone's list of followers.

— Returns someone's list of followings.

Sending Data

Note: These require the PUT method, therefore they cannot be used by clicking this link.

Miscellaneous

— Returns the number of your new messages.

— Returns you the items on your backpack. The username must be your username and you must be logged in.

— Returns basic statistics about Scratch

— Returns posts from the Scratch Blog

References

  1. https://scratch.mit.edu/discuss/topic/108274/
  2. https://scratch.mit.edu/discuss/topic/96008/
  3. https://scratch.mit.edu/discuss/topic/96414/
  4. https://scratch.mit.edu/studios/1231860/comments/#comments-12050712
  5. https://scratch.mit.edu/discuss/post/1030636