As a Contributor, I want to create a new page, so that I can add information to the project.
POST /page/
Create a new page.
Payload: JSON
source: source of new page
title: title of new page, like "Talk:Main Page"
comment: optional edit summary
content_model: Optional content model for the main slot of the page; defaults to 'wikitext'
Status:
201 – created
401 – not authenticated
403 – not authorized
409 – a page with that title already exists
Headers:
Location: new page API endpoint location ("rest.php/v1/page/The_New_Page")
Body: JSON
* id: numeric id of the page
* key: prefixed DB key of the page, like "Talk:Main_Page"
* title: title for display, like "Talk:Main Page"
* latest: latest revision of the page, object with these properties
** id: revision ID
** timestamp: revision timestamp
* license: SPDX code for the preferred license for the page
* other_licenses: array of SPDX codes for alternative licenses for the page
* contributors: array of User objects for the contributors to the page, each with these properties
** id: user ID
** name: user name
* content_model: Content model of the main slot of the page
* source: wikitext source of the page