changedOutput schema / properties / result / allOf
Previous value: -[
- {
- "properties": {
- "meta": {
- "additionalProperties": false,
- "properties": {
- "request_id": {
- "description": "Unique request identifier",
- "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
- "type": "string"
- }
- },
- "required": [
- "request_id"
- ],
- "type": "object"
- },
- "ok": {
- "enum": [
- true
- ],
- "type": "boolean"
- }
- },
- "required": [
- "ok",
- "meta"
- ],
- "type": "object"
- },
- {
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "expires_at": {
- "description": "ISO timestamp when the upload URL expires.",
- "example": "2026-07-07T08:15:00.000Z",
- "format": "date-time",
- "type": "string"
- },
- "headers": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Headers that must be sent with the PUT upload request.",
- "example": {
- "Content-Length": "20480",
- "Content-Type": "application/pdf",
- "X-Sendmux-Upload-Token": "smx_upload_..."
- },
- "type": "object"
- },
- "max_size_bytes": {
- "description": "Maximum upload size in bytes",
- "example": 18874368,
- "type": "integer"
- },
- "method": {
- "description": "HTTP method for upload_url",
- "enum": [
- "PUT"
- ],
- "type": "string"
- },
- "upload_id": {
- "description": "Temporary upload intent ID.",
- "example": "upl_tz4a98xxat96iws9zmbrgj3a",
- "pattern": "^upl_[a-z0-9]{24}$",
- "type": "string"
- },
- "upload_url": {
- "description": "Short-lived URL that accepts a binary PUT with the returned headers.",
- "example": "https://smtp.sendmux.ai/api/v1/emails/attachment-uploads/upl_tz4a98xxat96iws9zmbrgj3a",
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "upload_id",
- "upload_url",
- "method",
- "expires_at",
- "max_size_bytes",
- "headers"
- ],
- "type": "object"
- }
- },
- "required": [
- "data"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "request_id": {
+ "description": "Unique request identifier",
+ "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_id"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "description": "ISO timestamp when the upload URL expires.",
+ "example": "2026-07-07T08:15:00.000Z",
+ "format": "date-time",
+ "type": "string"
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Headers that must be sent with the PUT upload request.",
+ "example": {
+ "Content-Length": "20480",
+ "Content-Type": "application/pdf",
+ "X-Qubrics-Upload-Token": "smx_upload_...",
+ "X-Sendmux-Upload-Token": "smx_upload_..."
+ },
+ "type": "object"
+ },
+ "max_size_bytes": {
+ "description": "Maximum upload size in bytes",
+ "example": 18874368,
+ "type": "integer"
+ },
+ "method": {
+ "description": "HTTP method for upload_url",
+ "enum": [
+ "PUT"
+ ],
+ "type": "string"
+ },
+ "upload_id": {
+ "description": "Temporary upload intent ID.",
+ "example": "upl_tz4a98xxat96iws9zmbrgj3a",
+ "pattern": "^upl_[a-z0-9]{24}$",
+ "type": "string"
+ },
+ "upload_url": {
+ "description": "Short-lived URL that accepts a binary PUT with the returned headers.",
+ "example": "https://smtp.sendmux.ai/api/v1/emails/attachment-uploads/upl_tz4a98xxat96iws9zmbrgj3a",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "upload_id",
+ "upload_url",
+ "method",
+ "expires_at",
+ "max_size_bytes",
+ "headers"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+ }
+]