changedInput schema / properties / payload / oneOf
Previous value: -[
- {
- "properties": {
- "action": {
- "const": "one",
- "description": "Download a single attachment by ID and save to local filesystem",
- "type": "string"
- },
- "attachment_id": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ],
- "description": "The ID of the attachment to download (numeric ID or UUID)"
- },
- "output_file": {
- "description": "Absolute local file path where the downloaded attachment will be saved",
- "type": "string"
- }
- },
- "required": [
- "action",
- "attachment_id",
- "output_file"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "many",
- "description": "Retrieve attachment metadata for a test case or test run",
- "type": "string"
- },
- "entity_id": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ],
- "description": "The ID of the entity (e.g. 123 or 'C123' for cases, or numeric run ID)"
- },
- "entity_type": {
- "description": "The type of entity to get attachments for ('case' or 'run')",
- "enum": [
- "case",
- "run"
- ],
- "type": "string"
- },
- "output_file": {
- "description": "Optional absolute file path to export large metadata JSON responses",
- "type": "string"
- }
- },
- "required": [
- "action",
- "entity_type",
- "entity_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "action": {
+ "const": "one",
+ "description": "Download a single attachment by ID and save to local filesystem",
+ "type": "string"
+ },
+ "attachment_id": {
+ "description": "The ID of the attachment to download (numeric ID or UUID)",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "output_file": {
+ "description": "Absolute local file path where the downloaded attachment will be saved",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "attachment_id",
+ "output_file"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "many",
+ "description": "Retrieve attachment metadata for a test case or test run",
+ "type": "string"
+ },
+ "entity_id": {
+ "description": "The ID of the entity (e.g. 123 or 'C123' for cases, or numeric run ID)",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "entity_type": {
+ "description": "The type of entity to get attachments for ('case' or 'run')",
+ "enum": [
+ "case",
+ "run"
+ ],
+ "type": "string"
+ },
+ "output_file": {
+ "description": "Optional absolute file path to export large metadata JSON responses",
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "entity_type",
+ "entity_id"
+ ],
+ "type": "object"
+ }
+]