Bug: T376603 Depends-On: I4193b9be4516717c7ce423131370a7d0b6ea8962 Change-Id: Ic2d9471ad446eb5f9d5e7072f1ef93f7196a20f8
62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
{
|
|
"description": "Page with HTML content",
|
|
"required": [
|
|
"id",
|
|
"key",
|
|
"title",
|
|
"latest",
|
|
"content_model",
|
|
"license",
|
|
"html"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Page identifier"
|
|
},
|
|
"key": {
|
|
"type": "string",
|
|
"description": "Page title in URL-friendly format"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Page title in reading-friendly format"
|
|
},
|
|
"latest": {
|
|
"type": "object",
|
|
"description": "Information about the latest revision",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Revision identifier for the latest revision"
|
|
},
|
|
"timestamp": {
|
|
"type": "string",
|
|
"description": " Timestamp of the latest revision in ISO 8601 format"
|
|
}
|
|
}
|
|
},
|
|
"content_model": {
|
|
"type": "string",
|
|
"description": "Type of content on the page"
|
|
},
|
|
"license": {
|
|
"type": "object",
|
|
"description": "Information about the wiki's license",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"description": "URL of the applicable license based on the $wgRightsUrl setting"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Name of the applicable license based on the $wgRightsText setting"
|
|
}
|
|
}
|
|
},
|
|
"html": {
|
|
"type": "string",
|
|
"description": "Latest page content in HTML, following the HTML specification"
|
|
}
|
|
}
|
|
}
|