User:APaskulin (WMF)/API Template

From mediawiki.org

This is a template for a two-column API doc design using existing wiki styles.

Do the thing

GET thing/thing/thing

Does what it says on the tin.

Response sample

{
    "i_am_a": "json blob"
{

Example

$ curl ...

Response schema

thisthing string required Content of this thing
thisthing string required Content of this thing

Request parameters

parameter type description
before integer Returns objects created before a date
before integer Returns objects created before a date

Response codes

code description
200 Success
400 Not found