Microsoft Graph · Schema

onenotePatchContentCommand

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
action object
content string A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Com
position object The location to add the supplied content, relative to the target element. The possible values are: after (default) or before.
target string The element to update. Must be the # or the generated of the element, or the body or title keyword.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphonenotepatchcontentcommand-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.onenotePatchContentCommand",
  "title": "onenotePatchContentCommand",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "action": {
      "$ref": "#/components/schemas/microsoft.graph.onenotePatchActionType"
    },
    "content": {
      "type": "string",
      "description": "A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part.",
      "nullable": true
    },
    "position": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.onenotePatchInsertPosition"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The location to add the supplied content, relative to the target element. The possible values are: after (default) or before."
    },
    "target": {
      "type": "string",
      "description": "The element to update. Must be the #<data-id> or the generated <id> of the element, or the body or title keyword."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}