changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "content_id": {
- "description": "Content ID for inline attachments, when present.",
- "type": [
- "string",
- "null"
- ]
- },
- "content_type": {
- "example": "application/pdf",
- "type": "string"
- },
- "disposition": {
- "example": "attachment",
- "type": [
- "string",
- "null"
- ]
- },
- "download_url": {
- "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
- "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
- "type": "string"
- },
- "filename": {
- "example": "invoice.pdf",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Attachment blob ID.",
- "type": "string"
- },
- "size_bytes": {
- "example": 12345,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "filename",
- "content_type",
- "size_bytes",
- "disposition",
- "content_id"
- ],
- "type": "object"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "request_id": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "ok": {
- "const": true
- }
- },
- "required": [
- "ok",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "doc_url": {
- "type": "string"
- },
- "errors": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "field",
- "code",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "param": {
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "request_id": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "content_id": {
+ "description": "Content ID for inline attachments, when present.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content_type": {
+ "example": "application/pdf",
+ "type": "string"
+ },
+ "disposition": {
+ "example": "attachment",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "download_url": {
+ "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
+ "example": "https://app.qubrics.com/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
+ "type": "string"
+ },
+ "filename": {
+ "example": "invoice.pdf",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Attachment blob ID.",
+ "type": "string"
+ },
+ "size_bytes": {
+ "example": 12345,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "filename",
+ "content_type",
+ "size_bytes",
+ "disposition",
+ "content_id"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "request_id": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "doc_url": {
+ "type": "string"
+ },
+ "errors": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "param": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "request_id": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "error"
+ ],
+ "type": "object"
+ }
+]