addedInput schema / properties / request_body
Added value: +{
+ "description": "Request body of type Document: pass it via `params` (merged into the built body) or whole via `body_file`.",
+ "properties": {
+ "body": {
+ "properties": {
+ "content": {
+ "items": {
+ "properties": {
+ "endIndex": {
+ "type": "integer"
+ },
+ "paragraph": {
+ "properties": {
+ "bullet": {
+ "type": "object"
+ },
+ "elements": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "paragraphStyle": {
+ "type": "object"
+ },
+ "positionedObjectIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedBulletChanges": {
+ "type": "object"
+ },
+ "suggestedParagraphStyleChanges": {
+ "type": "object"
+ },
+ "suggestedPositionedObjectIds": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "sectionBreak": {
+ "properties": {
+ "sectionStyle": {
+ "type": "object"
+ },
+ "suggestedDeletionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedInsertionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "startIndex": {
+ "type": "integer"
+ },
+ "table": {
+ "properties": {
+ "columns": {
+ "type": "integer"
+ },
+ "rows": {
+ "type": "integer"
+ },
+ "suggestedDeletionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedInsertionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tableRows": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tableStyle": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "tableOfContents": {
+ "properties": {
+ "content": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "suggestedDeletionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "suggestedInsertionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "comments": {
+ "items": {
+ "properties": {
+ "anchorId": {
+ "type": "string"
+ },
+ "commentId": {
+ "type": "string"
+ },
+ "headPost": {
+ "properties": {
+ "assigneeEmail": {
+ "type": "string"
+ },
+ "author": {
+ "properties": {
+ "anonymous": {
+ "type": "boolean"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "me": {
+ "type": "boolean"
+ },
+ "user": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "commentAction": {
+ "enum": [
+ "COMMENT_ACTION_TYPE_UNSPECIFIED",
+ "NO_COMMENT_ACTION_CHANGE",
+ "RESOLVE",
+ "REOPEN"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentHtml": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "fromCopiedDocument": {
+ "type": "boolean"
+ },
+ "fromDocumentComparison": {
+ "type": "boolean"
+ },
+ "fromImportedDocument": {
+ "type": "boolean"
+ },
+ "postId": {
+ "type": "string"
+ },
+ "suggestionAction": {
+ "enum": [
+ "SUGGESTION_ACTION_TYPE_UNSPECIFIED",
+ "NO_SUGGESTION_ACTION_CHANGE",
+ "ACCEPT",
+ "REJECT"
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "plainTextQuote": {
+ "type": "string"
+ },
+ "replies": {
+ "items": {
+ "properties": {
+ "assigneeEmail": {
+ "type": "string"
+ },
+ "author": {
+ "properties": {
+ "anonymous": {
+ "type": "boolean"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "me": {
+ "type": "boolean"
+ },
+ "user": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "commentAction": {
+ "enum": [
+ "COMMENT_ACTION_TYPE_UNSPECIFIED",
+ "NO_COMMENT_ACTION_CHANGE",
+ "RESOLVE",
+ "REOPEN"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentHtml": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "fromCopiedDocument": {
+ "type": "boolean"
+ },
+ "fromDocumentComparison": {
+ "type": "boolean"
+ },
+ "fromImportedDocument": {
+ "type": "boolean"
+ },
+ "postId": {
+ "type": "string"
+ },
+ "suggestionAction": {
+ "enum": [
+ "SUGGESTION_ACTION_TYPE_UNSPECIFIED",
+ "NO_SUGGESTION_ACTION_CHANGE",
+ "ACCEPT",
+ "REJECT"
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "OPEN",
+ "RESOLVED"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "commentsViewMode": {
+ "enum": [
+ "COMMENTS_VIEW_MODE_UNSPECIFIED",
+ "COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS",
+ "COMMENTS_VIEW_MODE_OMITTED",
+ "COMMENTS_VIEW_MODE_INCLUDED"
+ ],
+ "type": "string"
+ },
+ "documentId": {
+ "type": "string"
+ },
+ "documentStyle": {
+ "properties": {
+ "background": {
+ "properties": {
+ "color": {
+ "properties": {
+ "color": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "defaultFooterId": {
+ "type": "string"
+ },
+ "defaultHeaderId": {
+ "type": "string"
+ },
+ "documentFormat": {
+ "properties": {
+ "documentMode": {
+ "enum": [
+ "DOCUMENT_MODE_UNSPECIFIED",
+ "PAGES",
+ "PAGELESS"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "evenPageFooterId": {
+ "type": "string"
+ },
+ "evenPageHeaderId": {
+ "type": "string"
+ },
+ "firstPageFooterId": {
+ "type": "string"
+ },
+ "firstPageHeaderId": {
+ "type": "string"
+ },
+ "flipPageOrientation": {
+ "type": "boolean"
+ },
+ "marginBottom": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "marginFooter": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "marginHeader": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "marginLeft": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "marginRight": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "marginTop": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "pageNumberStart": {
+ "type": "integer"
+ },
+ "pageSize": {
+ "properties": {
+ "height": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "width": {
+ "properties": {
+ "magnitude": {
+ "type": "number"
+ },
+ "unit": {
+ "enum": [
+ "UNIT_UNSPECIFIED",
+ "PT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "useCustomHeaderFooterMargins": {
+ "type": "boolean"
+ },
+ "useEvenPageHeaderFooter": {
+ "type": "boolean"
+ },
+ "useFirstPageHeaderFooter": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "footers": {
+ "type": "object"
+ },
+ "footnotes": {
+ "type": "object"
+ },
+ "headers": {
+ "type": "object"
+ },
+ "inlineObjects": {
+ "type": "object"
+ },
+ "lists": {
+ "type": "object"
+ },
+ "namedRanges": {
+ "type": "object"
+ },
+ "namedStyles": {
+ "properties": {
+ "styles": {
+ "items": {
+ "properties": {
+ "namedStyleType": {
+ "enum": [
+ "NAMED_STYLE_TYPE_UNSPECIFIED",
+ "NORMAL_TEXT",
+ "TITLE",
+ "SUBTITLE",
+ "HEADING_1",
+ "HEADING_2",
+ "HEADING_3",
+ "HEADING_4",
+ "HEADING_5",
+ "HEADING_6"
+ ],
+ "type": "string"
+ },
+ "paragraphStyle": {
+ "properties": {
+ "alignment": {
+ "enum": [
+ "ALIGNMENT_UNSPECIFIED",
+ "START",
+ "CENTER",
+ "END",
+ "JUSTIFIED"
+ ],
+ "type": "string"
+ },
+ "avoidWidowAndOrphan": {
+ "type": "boolean"
+ },
+ "borderBetween": {
+ "type": "object"
+ },
+ "borderBottom": {
+ "type": "object"
+ },
+ "borderLeft": {
+ "type": "object"
+ },
+ "borderRight": {
+ "type": "object"
+ },
+ "borderTop": {
+ "type": "object"
+ },
+ "direction": {
+ "enum": [
+ "CONTENT_DIRECTION_UNSPECIFIED",
+ "LEFT_TO_RIGHT",
+ "RIGHT_TO_LEFT"
+ ],
+ "type": "string"
+ },
+ "headingId": {
+ "type": "string"
+ },
+ "indentEnd": {
+ "type": "object"
+ },
+ "indentFirstLine": {
+ "type": "object"
+ },
+ "indentStart": {
+ "type": "object"
+ },
+ "keepLinesTogether": {
+ "type": "boolean"
+ },
+ "keepWithNext": {
+ "type": "boolean"
+ },
+ "lineSpacing": {
+ "type": "number"
+ },
+ "namedStyleType": {
+ "enum": [
+ "NAMED_STYLE_TYPE_UNSPECIFIED",
+ "NORMAL_TEXT",
+ "TITLE",
+ "SUBTITLE",
+ "HEADING_1",
+ "HEADING_2",
+ "HEADING_3",
+ "HEADING_4",
+ "HEADING_5",
+ "HEADING_6"
+ ],
+ "type": "string"
+ },
+ "pageBreakBefore": {
+ "type": "boolean"
+ },
+ "shading": {
+ "type": "object"
+ },
+ "spaceAbove": {
+ "type": "object"
+ },
+ "spaceBelow": {
+ "type": "object"
+ },
+ "spacingMode": {
+ "enum": [
+ "SPACING_MODE_UNSPECIFIED",
+ "NEVER_COLLAPSE",
+ "COLLAPSE_LISTS"
+ ],
+ "type": "string"
+ },
+ "tabStops": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "textStyle": {
+ "properties": {
+ "backgroundColor": {
+ "type": "object"
+ },
+ "baselineOffset": {
+ "enum": [
+ "BASELINE_OFFSET_UNSPECIFIED",
+ "NONE",
+ "SUPERSCRIPT",
+ "SUBSCRIPT"
+ ],
+ "type": "string"
+ },
+ "bold": {
+ "type": "boolean"
+ },
+ "fontSize": {
+ "type": "object"
+ },
+ "foregroundColor": {
+ "type": "object"
+ },
+ "italic": {
+ "type": "boolean"
+ },
+ "link": {
+ "type": "object"
+ },
+ "smallCaps": {
+ "type": "boolean"
+ },
+ "strikethrough": {
+ "type": "boolean"
+ },
+ "underline": {
+ "type": "boolean"
+ },
+ "weightedFontFamily": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "positionedObjects": {
+ "type": "object"
+ },
+ "revisionId": {
+ "type": "string"
+ },
+ "suggestedDocumentStyleChanges": {
+ "type": "object"
+ },
+ "suggestedNamedStylesChanges": {
+ "type": "object"
+ },
+ "suggestions": {
+ "items": {
+ "properties": {
+ "headPost": {
+ "properties": {
+ "assigneeEmail": {
+ "type": "string"
+ },
+ "author": {
+ "properties": {
+ "anonymous": {
+ "type": "boolean"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "me": {
+ "type": "boolean"
+ },
+ "user": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "commentAction": {
+ "enum": [
+ "COMMENT_ACTION_TYPE_UNSPECIFIED",
+ "NO_COMMENT_ACTION_CHANGE",
+ "RESOLVE",
+ "REOPEN"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentHtml": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "fromCopiedDocument": {
+ "type": "boolean"
+ },
+ "fromDocumentComparison": {
+ "type": "boolean"
+ },
+ "fromImportedDocument": {
+ "type": "boolean"
+ },
+ "postId": {
+ "type": "string"
+ },
+ "suggestionAction": {
+ "enum": [
+ "SUGGESTION_ACTION_TYPE_UNSPECIFIED",
+ "NO_SUGGESTION_ACTION_CHANGE",
+ "ACCEPT",
+ "REJECT"
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "replies": {
+ "items": {
+ "properties": {
+ "assigneeEmail": {
+ "type": "string"
+ },
+ "author": {
+ "properties": {
+ "anonymous": {
+ "type": "boolean"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "me": {
+ "type": "boolean"
+ },
+ "user": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "commentAction": {
+ "enum": [
+ "COMMENT_ACTION_TYPE_UNSPECIFIED",
+ "NO_COMMENT_ACTION_CHANGE",
+ "RESOLVE",
+ "REOPEN"
+ ],
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentHtml": {
+ "type": "string"
+ },
+ "createTime": {
+ "type": "string"
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "fromCopiedDocument": {
+ "type": "boolean"
+ },
+ "fromDocumentComparison": {
+ "type": "boolean"
+ },
+ "fromImportedDocument": {
+ "type": "boolean"
+ },
+ "postId": {
+ "type": "string"
+ },
+ "suggestionAction": {
+ "enum": [
+ "SUGGESTION_ACTION_TYPE_UNSPECIFIED",
+ "NO_SUGGESTION_ACTION_CHANGE",
+ "ACCEPT",
+ "REJECT"
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "OPEN",
+ "ACCEPTED",
+ "REJECTED"
+ ],
+ "type": "string"
+ },
+ "suggestionId": {
+ "type": "string"
+ },
+ "summaryHtml": {
+ "type": "string"
+ },
+ "summaryText": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "suggestionsViewMode": {
+ "enum": [
+ "DEFAULT_FOR_CURRENT_ACCESS",
+ "SUGGESTIONS_INLINE",
+ "PREVIEW_SUGGESTIONS_ACCEPTED",
+ "PREVIEW_WITHOUT_SUGGESTIONS"
+ ],
+ "type": "string"
+ },
+ "tabs": {
+ "items": {
+ "properties": {
+ "childTabs": {
+ "items": {
+ "properties": {
+ "childTabs": {
+ "items": {
+ "properties": {
+ "childTabs": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "documentTab": {
+ "type": "object"
+ },
+ "tabProperties": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "documentTab": {
+ "properties": {
+ "body": {
+ "type": "object"
+ },
+ "commentAnchors": {
+ "type": "object"
+ },
+ "documentStyle": {
+ "type": "object"
+ },
+ "dropdownDefinitions": {
+ "type": "object"
+ },
+ "footers": {
+ "type": "object"
+ },
+ "footnotes": {
+ "type": "object"
+ },
+ "headers": {
+ "type": "object"
+ },
+ "inlineObjects": {
+ "type": "object"
+ },
+ "lists": {
+ "type": "object"
+ },
+ "namedRanges": {
+ "type": "object"
+ },
+ "namedStyles": {
+ "type": "object"
+ },
+ "positionedObjects": {
+ "type": "object"
+ },
+ "suggestedDocumentStyleChanges": {
+ "type": "object"
+ },
+ "suggestedNamedStylesChanges": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "tabProperties": {
+ "properties": {
+ "iconEmoji": {
+ "type": "string"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "nestingLevel": {
+ "type": "integer"
+ },
+ "parentTabId": {
+ "type": "string"
+ },
+ "tabId": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "documentTab": {
+ "properties": {
+ "body": {
+ "properties": {
+ "content": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "commentAnchors": {
+ "type": "object"
+ },
+ "documentStyle": {
+ "properties": {
+ "background": {
+ "type": "object"
+ },
+ "defaultFooterId": {
+ "type": "string"
+ },
+ "defaultHeaderId": {
+ "type": "string"
+ },
+ "documentFormat": {
+ "type": "object"
+ },
+ "evenPageFooterId": {
+ "type": "string"
+ },
+ "evenPageHeaderId": {
+ "type": "string"
+ },
+ "firstPageFooterId": {
+ "type": "string"
+ },
+ "firstPageHeaderId": {
+ "type": "string"
+ },
+ "flipPageOrientation": {
+ "type": "boolean"
+ },
+ "marginBottom": {
+ "type": "object"
+ },
+ "marginFooter": {
+ "type": "object"
+ },
+ "marginHeader": {
+ "type": "object"
+ },
+ "marginLeft": {
+ "type": "object"
+ },
+ "marginRight": {
+ "type": "object"
+ },
+ "marginTop": {
+ "type": "object"
+ },
+ "pageNumberStart": {
+ "type": "integer"
+ },
+ "pageSize": {
+ "type": "object"
+ },
+ "useCustomHeaderFooterMargins": {
+ "type": "boolean"
+ },
+ "useEvenPageHeaderFooter": {
+ "type": "boolean"
+ },
+ "useFirstPageHeaderFooter": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "dropdownDefinitions": {
+ "type": "object"
+ },
+ "footers": {
+ "type": "object"
+ },
+ "footnotes": {
+ "type": "object"
+ },
+ "headers": {
+ "type": "object"
+ },
+ "inlineObjects": {
+ "type": "object"
+ },
+ "lists": {
+ "type": "object"
+ },
+ "namedRanges": {
+ "type": "object"
+ },
+ "namedStyles": {
+ "properties": {
+ "styles": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "positionedObjects": {
+ "type": "object"
+ },
+ "suggestedDocumentStyleChanges": {
+ "type": "object"
+ },
+ "suggestedNamedStylesChanges": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "tabProperties": {
+ "properties": {
+ "iconEmoji": {
+ "type": "string"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "nestingLevel": {
+ "type": "integer"
+ },
+ "parentTabId": {
+ "type": "string"
+ },
+ "tabId": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}