addedInput schema / properties / body
Added value: +{
+ "additionalProperties": false,
+ "description": "Typed request body for ``POST /pages``: a new page at ``slug``.",
+ "properties": {
+ "access_policy": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Who may open a page, in a create or update body (``access_policy``).",
+ "properties": {
+ "access_type": {
+ "anyOf": [
+ {
+ "enum": [
+ "inherited",
+ "all_staff",
+ "custom"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "description": "``inherited`` (as the parent), ``all_staff`` or ``custom``."
+ },
+ "all_staff_role": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Role every employee gets under ``all_staff``, e.g. editor."
+ }
+ },
+ "required": [
+ "access_type"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Who may open the page."
+ },
+ "content": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Body of the page in YFM markdown."
+ },
+ "slug": {
+ "description": "Address of the page, e.g. ``data/x``.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title of the page.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "title"
+ ],
+ "type": "object"
+}
removedInput schema / properties / content
Removed value: -{
- "description": "Page body in YFM markdown.",
- "type": "string"
-}
addedInput schema / properties / is_silent / anyOf
Added value: +[
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+]
changedInput schema / properties / is_silent / default
Previous value: -falseNew value: +null
removedInput schema / properties / is_silent / type
Removed value: -"boolean"
removedInput schema / properties / slug
Removed value: -{
- "description": "Target slug, e.g. ``data/x``. Treat it as permanent (a move breaks links).",
- "type": "string"
-}
removedInput schema / properties / title
Removed value: -{
- "description": "Page title.",
- "type": "string"
-}
changedInput schema / required
Previous value: -[
- "slug",
- "title",
- "content"
-]New value: +[
+ "body"
+]