Core Platform Team/Initiative/Core REST API in MediaWiki/Schema

These are the data types and properties used in the Core REST API.

The schema assumes that all output is JSON, so JSON data types like object, array, string, number, boolean and null are all used.

Sizes
Each type has up to three sizes. These are subsets of the type that are required for different usage.


 * Small size is typically for references or links to an object. It should include enough information to uniquely identify the object, plus enough text to provide a human-readable link.
 * Medium size is the set of properties that most clients will need to work with the data type.
 * Large size is the full set of properties for the data type. This is typically what is returned from the main read endpoint for the data type.

Some properties are only available with certain endpoints; they don't have a stated size.