addedInput schema / oneOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "description": "Download a document artifact as base64.",
+ "properties": {
+ "action": {
+ "enum": [
+ "artifact"
+ ],
+ "type": "string"
+ },
+ "artifact": {
+ "description": "original (default), certificated, certificate-page, pades, or bundle",
+ "type": "string"
+ },
+ "document_id": {
+ "description": "unique document ID",
+ "type": "string"
+ }
+ },
+ "required": [
+ "document_id",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Download the rendered image of a specific document page.",
+ "properties": {
+ "action": {
+ "enum": [
+ "page"
+ ],
+ "type": "string"
+ },
+ "document_id": {
+ "description": "Document ID.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "page_id": {
+ "description": "The page ID.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "document_id",
+ "page_id",
+ "action"
+ ],
+ "type": "object"
+ }
+]