action microsoft_create_page { label: "Create page" description: "Create a OneNote page in a section. Content is XHTML sent as the raw request body; the page title comes from the html title element." provider: microsoft method: POST path: "/v1.0/me/onenote/sections/{section_id}/pages" encoding: raw scopes: ["Notes.Create"] input: @json { { "type": "object", "required": ["section_id", "content", "contentType"], "additionalProperties": false, "properties": { "section_id": { "type": "string", "description": "Id of the section to create the page in." }, "content": { "type": "string", "description": "Page content as XHTML, e.g.
Text
." }, "contentType": { "type": "string", "enum": ["application/xhtml+xml", "text/html"], "description": "Content type of the page body." } } } } output: @json { { "type": "object", "additionalProperties": true, "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "links": { "type": "object" } } } } }