From Test-Scratch-Wiki
{{{1}}}
- Example Request
 
GET https://api.scratch.mit.edu/
- Example Response
 
| Response | 
|---|
| 
 <syntaxhighlight style="background-color:#f7f7f7;border:solid 1px #ccc;padding:8px;white-space:pre-wrap;" lang="json">{{{3}}}</syntaxhighlight>  | 
This documentation is transcluded from Template:API request/doc.
This template is specifically for use on Scratch API (2.0).
Usage
{{API request|<description>|<URL>|<response>|<method=METHOD>}}
Parameters
- The first parameter is a description of the request, e.g. its purpose.
 - The second parameter is the URL of the request, e.g. 
https://api.scratch.mit.edu/for the API root request. Note that the URL MUST end with a slash (/). - The third parameter is an example response to such a request. If there isn't really any response data available, simply put "(no response available)".
 
method: This named parameter specifies the HTTP method to use for the request. By default, this is GET; however, some Scratch API requests use PUT, so that is what this parameter is for.
See Scratch API (2.0) for example usage.