Jump to content

API:Documentation template

From mediawiki.org
Revision as of 20:42, 3 August 2018 by SSethi (WMF) (talk | contribs)

(TYPE OF REQUEST GET OR POST) Request to (purpose of the API).

API documentation

To embed the documentation of an API module, use the template below. Remember to replace "module name" with the name of an actual module. All main modules are here.

Example

GET Request

Response

Sample code

Demo app(s)

Include an image of the demo if possible

Possible errors

Code Info

Additional notes

See also