{
  "components": {
    "schemas": {
      "ApprovedSourceList": {
        "properties": {
          "sources": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "format": "uuid",
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "directory",
                    "androidTree",
                    "appleBookmark"
                  ]
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "kind"
              ],
              "type": "object"
            },
            "maxItems": 64,
            "type": "array"
          }
        },
        "required": [
          "sources"
        ],
        "type": "object"
      },
      "ArchiveSelectionCancel": {
        "additionalProperties": false,
        "properties": {
          "selection": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "selection"
        ],
        "type": "object"
      },
      "ArchiveSelectionPrepare": {
        "additionalProperties": false,
        "properties": {
          "ids": {
            "items": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            },
            "maxItems": 20000,
            "minItems": 1,
            "type": "array",
            "uniqueItems": true
          },
          "path": {
            "maxLength": 4096,
            "type": "string",
            "x-legnasend-max-utf8-bytes": 4096
          }
        },
        "required": [
          "path",
          "ids"
        ],
        "type": "object"
      },
      "ArchiveSelectionTicket": {
        "additionalProperties": false,
        "properties": {
          "downloadUrl": {
            "description": "同源集成 API URL；每次 HEAD/GET 仍需同一 Authorization，不含憑據。",
            "type": "string"
          },
          "expiresIn": {
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "selectedEntries": {
            "maximum": 20000,
            "minimum": 1,
            "type": "integer"
          },
          "selection": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "selection",
          "selectedEntries",
          "expiresIn",
          "downloadUrl"
        ],
        "type": "object"
      },
      "CacheReport": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "minimum": 0,
            "type": "integer"
          },
          "budgetReached": {
            "type": "boolean"
          },
          "entries": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "disposition": {
                  "enum": [
                    "candidate",
                    "removed",
                    "retired",
                    "retained",
                    "active",
                    "failed"
                  ],
                  "type": "string"
                },
                "id": {
                  "pattern": "^[a-f0-9]{64}$",
                  "type": "string"
                },
                "plannedBytes": {
                  "minimum": 0,
                  "type": "integer"
                },
                "reason": {
                  "maxLength": 80,
                  "type": "string"
                },
                "sourceKind": {
                  "enum": [
                    "unknown",
                    "nativeReceive",
                    "directoryUpload"
                  ],
                  "type": "string"
                },
                "unlinkedBytes": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "sourceKind",
                "disposition",
                "reason",
                "plannedBytes",
                "unlinkedBytes"
              ],
              "type": "object"
            },
            "maxItems": 128,
            "type": "array"
          },
          "entriesTruncated": {
            "type": "boolean"
          },
          "examined": {
            "minimum": 0,
            "type": "integer"
          },
          "failed": {
            "minimum": 0,
            "type": "integer"
          },
          "interrupted": {
            "type": "boolean"
          },
          "plannedBytes": {
            "minimum": 0,
            "type": "integer"
          },
          "removedFiles": {
            "minimum": 0,
            "type": "integer"
          },
          "removedRecords": {
            "minimum": 0,
            "type": "integer"
          },
          "retained": {
            "minimum": 0,
            "type": "integer"
          },
          "unlinkedBytes": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "active",
          "budgetReached",
          "entries",
          "entriesTruncated",
          "examined",
          "failed",
          "interrupted",
          "plannedBytes",
          "removedFiles",
          "removedRecords",
          "retained",
          "unlinkedBytes"
        ],
        "type": "object"
      },
      "Capabilities": {
        "properties": {
          "apiVersion": {
            "const": 1
          },
          "operations": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "originalProtocol": {
            "type": "string"
          },
          "product": {
            "const": "LegnaSend"
          },
          "rangeDownload": {
            "type": "boolean"
          },
          "readOnly": {
            "type": "boolean"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "product",
          "version",
          "apiVersion",
          "operations",
          "rangeDownload",
          "readOnly",
          "originalProtocol"
        ],
        "type": "object"
      },
      "ClearRequest": {
        "additionalProperties": false,
        "properties": {
          "expectedGeneration": {
            "minimum": 1,
            "type": "integer"
          },
          "instanceId": {
            "format": "uuid",
            "type": "string"
          },
          "throughSequence": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "instanceId",
          "expectedGeneration",
          "throughSequence"
        ],
        "type": "object"
      },
      "ClearResult": {
        "properties": {
          "clearedThrough": {
            "type": "integer"
          },
          "generation": {
            "type": "integer"
          },
          "instanceId": {
            "type": "string"
          },
          "latest": {
            "type": "integer"
          },
          "removed": {
            "type": "integer"
          },
          "throughSequence": {
            "type": "integer"
          }
        },
        "required": [
          "instanceId",
          "generation",
          "clearedThrough",
          "throughSequence",
          "removed",
          "latest"
        ],
        "type": "object"
      },
      "ConfigureWorkspaceBody": {
        "additionalProperties": false,
        "minProperties": 1,
        "properties": {
          "slug": {
            "maxLength": 48,
            "type": "string"
          },
          "sourceId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateWorkspaceBody": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "default": false,
            "type": "boolean"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "type": "string"
          },
          "slug": {
            "maxLength": 48,
            "type": "string"
          },
          "sourceId": {
            "format": "uuid",
            "type": "string"
          },
          "visible": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "sourceId",
          "name",
          "slug"
        ],
        "type": "object"
      },
      "Device": {
        "additionalProperties": false,
        "properties": {
          "alias": {
            "maxLength": 1024,
            "type": "string"
          },
          "channels": {
            "items": {
              "$ref": "#/components/schemas/DeviceChannel"
            },
            "maxItems": 32,
            "type": "array"
          },
          "deviceType": {
            "enum": [
              "mobile",
              "desktop",
              "web",
              "headless",
              "server"
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          }
        },
        "required": [
          "id",
          "alias",
          "deviceType",
          "channels"
        ],
        "type": "object"
      },
      "DeviceChannel": {
        "additionalProperties": false,
        "properties": {
          "host": {
            "description": "Discovered IP address with optional IPv6 scope, not a caller URL",
            "type": "string"
          },
          "https": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "port": {
            "maximum": 65535,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "host",
          "port",
          "https"
        ],
        "type": "object"
      },
      "DeviceList": {
        "additionalProperties": false,
        "properties": {
          "devices": {
            "items": {
              "$ref": "#/components/schemas/Device"
            },
            "maxItems": 512,
            "type": "array"
          },
          "localRoutes": {
            "description": "從 devices.read 回應的 localRoutes 選取目前 UUID；省略為自動。失效回傳 409 local_route_unavailable，不回退其他網路。重試繼承原任務選擇。androidNetwork 代表已識別系統 Network 的逐通訊端綁定；來源/介面約束不保證略過 VPN。",
            "items": {
              "$ref": "#/components/schemas/LocalRoute"
            },
            "maxItems": 64,
            "type": "array"
          },
          "scanState": {
            "enum": [
              "idle",
              "running",
              "failed"
            ]
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "devices",
          "truncated",
          "scanState"
        ],
        "type": "object"
      },
      "DeviceResult": {
        "additionalProperties": false,
        "properties": {
          "device": {
            "$ref": "#/components/schemas/Device"
          }
        },
        "required": [
          "device"
        ],
        "type": "object"
      },
      "DocumentPreviewLease": {
        "additionalProperties": false,
        "properties": {
          "etag": {
            "pattern": "^\"[a-f0-9]{64}\"$",
            "type": "string"
          },
          "lease": {
            "format": "uuid",
            "type": "string"
          },
          "mime": {
            "maxLength": 256,
            "type": "string"
          },
          "size": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "url": {
            "description": "同源集成 API 內容網址，包含代次與租約；後續請求仍須 Authorization。",
            "type": "string"
          }
        },
        "required": [
          "url",
          "size",
          "etag",
          "mime",
          "lease"
        ],
        "type": "object"
      },
      "Entry": {
        "properties": {
          "directory": {
            "type": "boolean"
          },
          "downloadable": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "size": {
            "description": "文件提供者可能回傳未知大小 null，不是零位元組。",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "directory",
          "size"
        ],
        "type": "object"
      },
      "Error": {
        "properties": {
          "error": {
            "properties": {
              "code": {
                "type": "string"
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "requestId": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "requestId"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "FilePage": {
        "properties": {
          "anchorMissing": {
            "type": "boolean"
          },
          "anchorPending": {
            "type": "boolean"
          },
          "contentEpoch": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "format": "uuid",
            "type": [
              "string",
              "null"
            ]
          },
          "contentKnowledge": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "enum": [
              "observed",
              "unknown"
            ],
            "type": "string"
          },
          "contentRevision": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "dirty": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "type": "boolean"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Entry"
            },
            "type": "array"
          },
          "filter": {
            "maxLength": 256,
            "type": "string"
          },
          "generation": {
            "type": "integer"
          },
          "lastObservedAt": {
            "description": "上次已持久保存的觀察時間，Unix 毫秒；null 表示尚無確認值。",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "offset": {
            "minimum": 0,
            "type": "integer"
          },
          "path": {
            "type": "string"
          },
          "scanned": {
            "type": "integer"
          },
          "stamp": {
            "description": "不透明目錄中繼資料驗證值，並非內容雜湊",
            "type": "string"
          }
        },
        "required": [
          "entries",
          "cursor",
          "generation",
          "path",
          "scanned",
          "contentEpoch",
          "contentKnowledge",
          "contentRevision",
          "dirty",
          "lastObservedAt",
          "filter"
        ],
        "type": "object"
      },
      "HostSettings": {
        "additionalProperties": false,
        "properties": {
          "pendingRestart": {
            "items": {
              "enum": [
                "alias",
                "verifyChecksums"
              ],
              "type": "string"
            },
            "maxItems": 2,
            "type": "array",
            "uniqueItems": true
          },
          "receiveCacheRetention": {
            "$ref": "#/components/schemas/ReceiveCacheRetention"
          },
          "settings": {
            "additionalProperties": false,
            "properties": {
              "alias": {
                "maxLength": 120,
                "type": "string"
              },
              "autoFinish": {
                "type": "boolean"
              },
              "createChecksums": {
                "type": "boolean"
              },
              "enableAnimations": {
                "type": "boolean"
              },
              "locale": {
                "description": "Supported app language tag, or system",
                "type": "string"
              },
              "receiveCacheRetentionDays": {
                "description": "原生接收崩潰殘留保留期：-2 為 1 小時（預設），-1 等待本機手動清理，0 在下次維護時不延遲清理，1–3650 為天數；變更策略本身不會執行清理。只處理已登記且非活動的原生殘留；不授予立即清理覆寫、不影響一般取消，也不代表可斷點續傳。",
                "maximum": 3650,
                "minimum": -2,
                "type": "integer"
              },
              "theme": {
                "enum": [
                  "system",
                  "light",
                  "dark"
                ],
                "type": "string"
              },
              "verifyChecksums": {
                "type": "boolean"
              }
            },
            "required": [
              "alias",
              "theme",
              "locale",
              "enableAnimations",
              "autoFinish",
              "createChecksums",
              "verifyChecksums",
              "receiveCacheRetentionDays"
            ],
            "type": "object"
          },
          "version": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "version",
          "settings",
          "pendingRestart",
          "receiveCacheRetention"
        ],
        "type": "object"
      },
      "KeyCreate": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "grant": {
            "additionalProperties": false,
            "properties": {
              "scopes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "workspaces": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "scopes",
              "workspaces"
            ],
            "type": "object"
          },
          "name": {
            "maxLength": 256,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "version",
          "requestId",
          "name",
          "grant",
          "expiresAt"
        ],
        "type": "object"
      },
      "KeyList": {
        "additionalProperties": false,
        "properties": {
          "keys": {
            "items": {
              "$ref": "#/components/schemas/KeyMetadata"
            },
            "maxItems": 128,
            "type": "array"
          },
          "version": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "version",
          "keys"
        ],
        "type": "object"
      },
      "KeyManage": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "pause",
              "resume",
              "revoke"
            ],
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          }
        },
        "required": [
          "version",
          "requestId",
          "action"
        ],
        "type": "object"
      },
      "KeyMetadata": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": [
              "integer",
              "null"
            ]
          },
          "grant": {
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "limits": {
            "type": [
              "object",
              "null"
            ]
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "grant",
          "createdAt",
          "expiresAt",
          "enabled",
          "limits"
        ],
        "type": "object"
      },
      "KeyReceipt": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "create",
              "pause",
              "resume",
              "revoke"
            ],
            "type": "string"
          },
          "createdAt": {
            "type": "integer"
          },
          "digest": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "keyId": {
            "format": "uuid",
            "type": "string"
          },
          "principal": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "principal",
          "requestId",
          "digest",
          "action",
          "keyId",
          "createdAt"
        ],
        "type": "object"
      },
      "KeyResult": {
        "additionalProperties": false,
        "properties": {
          "applied": {
            "description": "Current listener acknowledged persisted configuration",
            "type": "boolean"
          },
          "receipt": {
            "$ref": "#/components/schemas/KeyReceipt"
          },
          "secret": {
            "description": "Only the first successful create response. Never returned by replay or receipt lookup. Store privately, not in logs.",
            "readOnly": true,
            "type": "string"
          },
          "secretAvailable": {
            "type": "boolean"
          }
        },
        "required": [
          "receipt",
          "applied",
          "secretAvailable"
        ],
        "type": "object"
      },
      "Limits": {
        "description": "0 僅停用該維度；仍受其他配額及全域 64 個活動回應上限約束。",
        "properties": {
          "concurrent": {
            "maximum": 64,
            "minimum": 0,
            "type": "integer"
          },
          "perMinute": {
            "maximum": 60000,
            "minimum": 0,
            "type": "integer"
          },
          "perSecond": {
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "perSecond",
          "perMinute",
          "concurrent"
        ],
        "type": "object"
      },
      "LocalRoute": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "maxLength": 64,
            "type": "string"
          },
          "binding": {
            "description": "從 devices.read 回應的 localRoutes 選取目前 UUID；省略為自動。失效回傳 409 local_route_unavailable，不回退其他網路。重試繼承原任務選擇。androidNetwork 代表已識別系統 Network 的逐通訊端綁定；來源/介面約束不保證略過 VPN。",
            "enum": [
              "interfaceAndSource",
              "sourceOnly",
              "androidNetwork"
            ]
          },
          "id": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "interfaceName": {
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "id",
          "interfaceName",
          "address",
          "binding"
        ],
        "type": "object"
      },
      "ManagedWorkspace": {
        "additionalProperties": false,
        "properties": {
          "allowUpload": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invalidReason": {
            "enum": [
              null,
              "missing",
              "notDirectory",
              "permissionDenied",
              "grantUnavailable",
              "ioError",
              "timeout"
            ],
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "passwordProtected": {
            "type": "boolean"
          },
          "slug": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "generation",
          "enabled",
          "visible",
          "allowUpload",
          "passwordProtected",
          "invalidReason"
        ],
        "type": "object"
      },
      "ManagedWorkspaceList": {
        "properties": {
          "workspaces": {
            "items": {
              "$ref": "#/components/schemas/ManagedWorkspace"
            },
            "maxItems": 256,
            "type": "array"
          }
        },
        "required": [
          "workspaces"
        ],
        "type": "object"
      },
      "ManagementResult": {
        "properties": {
          "destroyed": {
            "type": "boolean"
          },
          "error": {
            "properties": {
              "code": {
                "type": "string"
              },
              "requestId": {
                "format": "uuid",
                "type": "string"
              }
            },
            "required": [
              "code",
              "requestId"
            ],
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "workspace": {
            "$ref": "#/components/schemas/ManagedWorkspace"
          }
        },
        "type": "object"
      },
      "NativeTask": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "enum": [
                "cancel",
                "accept",
                "reject",
                "remove"
              ]
            },
            "type": "array"
          },
          "bytesPerSecond": {
            "minimum": 0,
            "type": "integer"
          },
          "direction": {
            "enum": [
              "send",
              "receive"
            ]
          },
          "fileCount": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "phase": {
            "enum": [
              "queued",
              "preparing",
              "waiting",
              "transferring",
              "succeeded",
              "failed",
              "canceled"
            ]
          },
          "totalBytes": {
            "minimum": 0,
            "type": "integer"
          },
          "transferredBytes": {
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "version",
          "direction",
          "phase",
          "fileCount",
          "totalBytes",
          "transferredBytes",
          "bytesPerSecond",
          "actions"
        ],
        "type": "object"
      },
      "NativeTaskControl": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "cancel",
              "accept",
              "reject",
              "remove"
            ],
            "type": "string"
          },
          "epoch": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "epoch",
          "version",
          "action"
        ],
        "type": "object"
      },
      "NativeTaskControlResult": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "cancel",
              "accept",
              "reject",
              "remove"
            ]
          },
          "dispatched": {
            "const": true
          },
          "epoch": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "epoch",
          "id",
          "action",
          "dispatched"
        ],
        "type": "object"
      },
      "NativeTaskList": {
        "additionalProperties": false,
        "properties": {
          "epoch": {
            "format": "uuid",
            "type": "string"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/NativeTask"
            },
            "maxItems": 512,
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "epoch",
          "tasks",
          "truncated"
        ],
        "type": "object"
      },
      "ReceiveCacheRetention": {
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "effectiveDays": {
                  "type": "null"
                }
              },
              "required": [
                "effectiveDays"
              ]
            },
            "then": {
              "properties": {
                "automaticCleanupPaused": {
                  "const": true
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "busy": {
                  "const": true
                }
              },
              "required": [
                "busy"
              ]
            },
            "then": {
              "properties": {
                "automaticCleanupPaused": {
                  "const": true
                }
              }
            }
          }
        ],
        "properties": {
          "automaticCleanupPaused": {
            "description": "僅表示原生策略同步保護是否暫停自動清理。手動保留模式可為 false，但核心仍保留檔案；Android 提供者清理另行管理。",
            "type": "boolean"
          },
          "busy": {
            "description": "本機保留期變更正在處理；API 不覆寫進行中的變更。",
            "type": "boolean"
          },
          "effectiveDays": {
            "description": "原生目前生效的保留期編碼（-2 為 1 小時）；null 表示尚未確認，不應以保存值猜測。",
            "maximum": 3650,
            "minimum": -2,
            "type": [
              "integer",
              "null"
            ]
          },
          "error": {
            "description": "穩定且不含路徑的狀態原因：invalid 表示已保存的偏好損壞，而非 API 輸入校驗失敗；save、apply、restore 分別表示保存、套用、還原失敗；null 表示無錯誤。",
            "enum": [
              null,
              "invalid",
              "save",
              "apply",
              "restore"
            ],
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "effectiveDays",
          "automaticCleanupPaused",
          "busy",
          "error"
        ],
        "type": "object"
      },
      "RequestPage": {
        "properties": {
          "clearedThrough": {
            "minimum": 0,
            "type": "integer"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/RequestRecord"
            },
            "type": "array"
          },
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "instanceId": {
            "format": "uuid",
            "type": "string"
          },
          "latest": {
            "type": "integer"
          },
          "next": {
            "type": "integer"
          },
          "oldest": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "entries",
          "next",
          "oldest",
          "latest",
          "generation",
          "clearedThrough",
          "instanceId"
        ],
        "type": "object"
      },
      "RequestRecord": {
        "properties": {
          "bytes": {
            "minimum": 0,
            "type": "integer"
          },
          "elapsedMs": {
            "minimum": 0,
            "type": "integer"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "method": {
            "enum": [
              "GET",
              "HEAD",
              "OPTIONS",
              "POST",
              "OTHER"
            ],
            "type": "string"
          },
          "operation": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "principal": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "sequence": {
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "maximum": 599,
            "minimum": 100,
            "type": "integer"
          },
          "timestamp": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "sequence",
          "timestamp",
          "requestId",
          "operation",
          "method",
          "principal",
          "status",
          "outcome",
          "error",
          "reason",
          "bytes",
          "elapsedMs"
        ],
        "type": "object"
      },
      "RetryTransferBody": {
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          }
        },
        "required": [
          "requestId"
        ],
        "type": "object"
      },
      "ScanResult": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "const": true
          },
          "coalesced": {
            "type": "boolean"
          }
        },
        "required": [
          "accepted",
          "coalesced"
        ],
        "type": "object"
      },
      "SendSelection": {
        "additionalProperties": false,
        "properties": {
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "name": {
                  "description": "僅檔案基本名稱，不含本機路徑",
                  "maxLength": 1024,
                  "type": "string"
                },
                "size": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "size"
              ],
              "type": "object"
            },
            "maxItems": 100,
            "type": "array"
          },
          "selectionVersion": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "totalBytes": {
            "minimum": 0,
            "type": "integer"
          },
          "totalCount": {
            "minimum": 0,
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "selectionVersion",
          "totalCount",
          "totalBytes",
          "truncated",
          "files"
        ],
        "type": "object"
      },
      "SendTransferBody": {
        "additionalProperties": false,
        "properties": {
          "channelId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "deviceId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "localRouteId": {
            "description": "從 devices.read 回應的 localRoutes 選取目前 UUID；省略為自動。失效回傳 409 local_route_unavailable，不回退其他網路。重試繼承原任務選擇。androidNetwork 代表已識別系統 Network 的逐通訊端綁定；來源/介面約束不保證略過 VPN。",
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "selectionVersion": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          }
        },
        "required": [
          "deviceId",
          "selectionVersion",
          "requestId"
        ],
        "type": "object"
      },
      "SourceEndCleanupReceipt": {
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "removedFiles": {
                  "const": 0
                }
              }
            },
            "then": {
              "properties": {
                "unlinkedBytes": {
                  "const": 0
                }
              }
            }
          }
        ],
        "description": "接收端確認移除的暫存檔案數量與邏輯位元組數，不代表實際釋放的磁碟空間；已發布檔案保留。未確認的結果與舊通知不附帶此回執。回執編號不具有清理授權能力。",
        "properties": {
          "receiptId": {
            "format": "uuid",
            "type": "string"
          },
          "removedFiles": {
            "maximum": 2,
            "minimum": 0,
            "type": "integer"
          },
          "unlinkedBytes": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "receiptId",
          "removedFiles",
          "unlinkedBytes"
        ],
        "type": "object"
      },
      "SourceEndNotice": {
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "cleanup"
              ]
            },
            "then": {
              "properties": {
                "state": {
                  "enum": [
                    "removed",
                    "publishedPreserved"
                  ]
                }
              }
            }
          }
        ],
        "properties": {
          "attempts": {
            "minimum": 0,
            "type": "integer"
          },
          "cleanup": {
            "$ref": "#/components/schemas/SourceEndCleanupReceipt"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "peerLabel": {
            "maxLength": 120,
            "type": "string"
          },
          "state": {
            "enum": [
              "pending",
              "waitingPeer",
              "sharedSource",
              "busy",
              "authorizationRequired",
              "removed",
              "publishedPreserved",
              "unknown",
              "expired",
              "unsupported",
              "superseded"
            ]
          },
          "updatedAtUnixMs": {
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "id",
          "version",
          "peerLabel",
          "name",
          "state",
          "attempts",
          "updatedAtUnixMs"
        ],
        "type": "object"
      },
      "SourceEndNoticeList": {
        "additionalProperties": false,
        "properties": {
          "notices": {
            "items": {
              "$ref": "#/components/schemas/SourceEndNotice"
            },
            "maxItems": 512,
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "notices",
          "truncated"
        ],
        "type": "object"
      },
      "SourceEndRetry": {
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "version": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "version",
          "requestId"
        ],
        "type": "object"
      },
      "SourceEndRetryResult": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "const": true
          },
          "notice": {
            "$ref": "#/components/schemas/SourceEndNotice"
          }
        },
        "required": [
          "notice",
          "accepted"
        ],
        "type": "object"
      },
      "Status": {
        "properties": {
          "activeResponses": {
            "minimum": 0,
            "type": "integer"
          },
          "anonymousLimits": {
            "$ref": "#/components/schemas/Limits"
          },
          "authRequired": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "fixedWindowSeconds": {
            "const": [
              1,
              60
            ]
          },
          "globalLimits": {
            "$ref": "#/components/schemas/Limits"
          },
          "https": {
            "type": "boolean"
          },
          "instanceId": {
            "format": "uuid",
            "type": "string"
          },
          "keyLimits": {
            "$ref": "#/components/schemas/Limits"
          },
          "port": {
            "maximum": 65535,
            "minimum": 1,
            "type": "integer"
          },
          "principal": {
            "type": [
              "string",
              "null"
            ]
          },
          "scopes": {
            "items": {
              "enum": [
                "service.read",
                "workspaces.read",
                "files.read",
                "requests.read",
                "files.upload",
                "workspaces.manage",
                "devices.read",
                "devices.scan",
                "transfers.read",
                "transfers.send",
                "transfers.control",
                "cache.read",
                "cache.clean",
                "settings.read",
                "settings.write",
                "keys.manage",
                "requests.manage",
                "nativeTasks.read",
                "nativeTasks.control"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "instanceId",
          "enabled",
          "authRequired",
          "port",
          "https",
          "globalLimits",
          "keyLimits",
          "anonymousLimits",
          "activeResponses",
          "principal",
          "scopes",
          "fixedWindowSeconds"
        ],
        "type": "object"
      },
      "TransferList": {
        "additionalProperties": false,
        "properties": {
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/TransferTask"
            },
            "maxItems": 512,
            "type": "array"
          }
        },
        "required": [
          "tasks"
        ],
        "type": "object"
      },
      "TransferReceipt": {
        "additionalProperties": false,
        "properties": {
          "replayed": {
            "type": "boolean"
          },
          "task": {
            "$ref": "#/components/schemas/TransferTask"
          }
        },
        "required": [
          "task",
          "replayed"
        ],
        "type": "object"
      },
      "TransferRemoval": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "removed": {
            "const": true
          }
        },
        "required": [
          "removed",
          "id"
        ],
        "type": "object"
      },
      "TransferResult": {
        "additionalProperties": false,
        "properties": {
          "task": {
            "$ref": "#/components/schemas/TransferTask"
          }
        },
        "required": [
          "task"
        ],
        "type": "object"
      },
      "TransferTask": {
        "additionalProperties": false,
        "properties": {
          "bytesPerSecond": {
            "minimum": 0,
            "type": "number"
          },
          "deviceId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "fileCount": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "localRouteId": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "removed": {
            "const": true
          },
          "result": {
            "enum": [
              "waiting",
              "recipientBusy",
              "declined",
              "tooManyAttempts",
              "sending",
              "finished",
              "finishedWithErrors",
              "canceledBySender",
              "canceledByReceiver"
            ]
          },
          "retryOf": {
            "format": "uuid",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "status": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "canceled"
            ]
          },
          "totalBytes": {
            "minimum": 0,
            "type": "integer"
          },
          "transferredBytes": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "deviceId",
          "status",
          "fileCount",
          "totalBytes",
          "transferredBytes",
          "bytesPerSecond"
        ],
        "type": "object"
      },
      "UploadReceipt": {
        "properties": {
          "directory": {
            "type": "boolean"
          },
          "parent": {
            "description": "文档工作区返回原请求的父目录 ID；文件系统不增加此字段。",
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "size": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "path",
          "size",
          "sha256",
          "directory"
        ],
        "type": "object"
      },
      "Workspace": {
        "properties": {
          "allowUpload": {
            "type": "boolean"
          },
          "backend": {
            "enum": [
              "filesystem",
              "documents"
            ],
            "type": "string"
          },
          "capabilities": {
            "description": "依工作區來源提供能力；文件提供者支援唯讀列表、單次下載、明確預覽租約、有界 ZIP 及目前目錄狀態提示；不代表持久下載續傳。",
            "properties": {
              "archive": {
                "type": "boolean"
              },
              "capture": {
                "type": "boolean"
              },
              "events": {
                "type": "boolean"
              },
              "preview": {
                "type": "boolean"
              },
              "resume": {
                "type": "boolean"
              },
              "state": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "contentEpoch": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "format": "uuid",
            "type": [
              "string",
              "null"
            ]
          },
          "contentKnowledge": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "enum": [
              "observed",
              "unknown"
            ],
            "type": "string"
          },
          "contentRevision": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "dirty": {
            "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
            "type": "boolean"
          },
          "generation": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "lastObservedAt": {
            "description": "上次已持久保存的觀察時間，Unix 毫秒；null 表示尚無確認值。",
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "protected": {
            "type": "boolean"
          },
          "readOnly": {
            "type": "boolean"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "generation",
          "readOnly",
          "protected",
          "contentEpoch",
          "contentKnowledge",
          "contentRevision",
          "dirty",
          "lastObservedAt"
        ],
        "type": "object"
      },
      "WorkspaceDocumentSendBody": {
        "additionalProperties": false,
        "description": "明確擷取已選文件位元組並核驗後透過原始協定傳送；不是提供者原子快照，不接受偽造版本或原生路徑。",
        "properties": {
          "channelId": {
            "format": "uuid",
            "type": "string"
          },
          "deviceId": {
            "format": "uuid",
            "type": "string"
          },
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "format": "uuid",
                  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "type": "object"
            },
            "maxItems": 128,
            "minItems": 1,
            "type": "array"
          },
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "instanceId": {
            "format": "uuid",
            "type": "string"
          },
          "localRouteId": {
            "description": "從 devices.read 回應的 localRoutes 選取目前 UUID；省略為自動。失效回傳 409 local_route_unavailable，不回退其他網路。重試繼承原任務選擇。androidNetwork 代表已識別系統 Network 的逐通訊端綁定；來源/介面約束不保證略過 VPN。",
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceMode": {
            "const": "documentSnapshot"
          }
        },
        "required": [
          "instanceId",
          "generation",
          "deviceId",
          "requestId",
          "files",
          "sourceMode"
        ],
        "type": "object"
      },
      "WorkspaceFilesystemSendBody": {
        "additionalProperties": false,
        "properties": {
          "channelId": {
            "format": "uuid",
            "type": "string"
          },
          "deviceId": {
            "format": "uuid",
            "type": "string"
          },
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "maxLength": 4096,
                  "type": "string"
                },
                "version": {
                  "maxLength": 256,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "version"
              ],
              "type": "object"
            },
            "maxItems": 128,
            "minItems": 1,
            "type": "array"
          },
          "generation": {
            "minimum": 1,
            "type": "integer"
          },
          "instanceId": {
            "format": "uuid",
            "type": "string"
          },
          "localRouteId": {
            "description": "從 devices.read 回應的 localRoutes 選取目前 UUID；省略為自動。失效回傳 409 local_route_unavailable，不回退其他網路。重試繼承原任務選擇。androidNetwork 代表已識別系統 Network 的逐通訊端綁定；來源/介面約束不保證略過 VPN。",
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "instanceId",
          "generation",
          "deviceId",
          "requestId",
          "files"
        ],
        "type": "object"
      },
      "WorkspaceList": {
        "properties": {
          "workspaces": {
            "items": {
              "$ref": "#/components/schemas/Workspace"
            },
            "type": "array"
          }
        },
        "required": [
          "workspaces"
        ],
        "type": "object"
      },
      "WorkspacePasswordBody": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "password": {
                "format": "password",
                "maxLength": 128,
                "minLength": 4,
                "type": "string",
                "writeOnly": true
              }
            },
            "required": [
              "password"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "clear": {
                "const": true
              }
            },
            "required": [
              "clear"
            ],
            "type": "object"
          }
        ]
      },
      "WorkspaceSendBody": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/WorkspaceFilesystemSendBody"
          },
          {
            "$ref": "#/components/schemas/WorkspaceDocumentSendBody"
          }
        ]
      },
      "WorkspaceState": {
        "oneOf": [
          {
            "properties": {
              "contentEpoch": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "format": "uuid",
                "type": [
                  "string",
                  "null"
                ]
              },
              "contentKnowledge": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "enum": [
                  "observed",
                  "unknown"
                ],
                "type": "string"
              },
              "contentRevision": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "dirty": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "type": "boolean"
              },
              "entries": {
                "items": {
                  "properties": {
                    "directory": {
                      "type": "boolean"
                    },
                    "id": {
                      "type": "string"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "size",
                    "directory",
                    "version"
                  ],
                  "type": "object"
                },
                "maxItems": 64,
                "type": "array"
              },
              "generation": {
                "type": "integer"
              },
              "lastObservedAt": {
                "description": "上次已持久保存的觀察時間，Unix 毫秒；null 表示尚無確認值。",
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "missing": {
                "items": {
                  "type": "string"
                },
                "maxItems": 64,
                "type": "array"
              },
              "path": {
                "type": "string"
              },
              "stamp": {
                "type": "string"
              }
            },
            "required": [
              "generation",
              "path",
              "stamp",
              "entries",
              "missing",
              "contentEpoch",
              "contentKnowledge",
              "contentRevision",
              "dirty",
              "lastObservedAt"
            ],
            "type": "object"
          },
          {
            "description": "文件提供者目前目錄的短期變更提示；不是內容版本或增量清單。",
            "properties": {
              "contentEpoch": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "format": "uuid",
                "type": [
                  "string",
                  "null"
                ]
              },
              "contentKnowledge": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "enum": [
                  "observed",
                  "unknown"
                ],
                "type": "string"
              },
              "contentRevision": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": "integer"
              },
              "dirty": {
                "description": "持久保存的有限範圍中繼資料觀察狀態，不是全目錄內容雜湊或檔案驗證器。啟動、待持久化或不確定時為 unknown；通知僅提示重新核驗。下載仍使用逐檔 ETag/If-Match。",
                "type": "boolean"
              },
              "generation": {
                "type": "integer"
              },
              "lastObservedAt": {
                "description": "上次已持久保存的觀察時間，Unix 毫秒；null 表示尚無確認值。",
                "maximum": 9007199254740991,
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "observing": {
                "type": "boolean"
              },
              "path": {
                "type": "string"
              },
              "refreshFromStart": {
                "const": true
              },
              "stamp": {
                "type": "string"
              },
              "watchId": {
                "format": "uuid",
                "type": "string"
              }
            },
            "required": [
              "generation",
              "path",
              "refreshFromStart",
              "watchId",
              "stamp",
              "observing",
              "contentEpoch",
              "contentKnowledge",
              "contentRevision",
              "dirty",
              "lastObservedAt"
            ],
            "type": "object"
          }
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "ls1 key",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "依權限提供讀取、密鑰上傳、工作區管理、主機設定與快取、密鑰及原生任務控制。匿名授權獨立且不授予寫入權限；LocalSend 原始傳送協定保持不變。",
    "title": "LegnaSend 整合 API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/approved-workspace-sources": {
      "get": {
        "description": "僅有效密鑰 workspaces.manage 可用，且限授權工作區；主機持久化後才確認。接手前撤銷會取消；主機接手後即使斷線仍可完成。outcome_unknown 表示結果未知，先讀取清單核對代次，請勿自動重試。destroy 只移除分享設定，不刪本機檔案。",
        "operationId": "listApprovedWorkspaceSources",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApprovedSourceList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出本機已核准的來源參照，不顯示路徑",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "workspaces.manage"
      }
    },
    "/cache": {
      "get": {
        "description": "須明確密鑰權限及全域 * 授權。快取僅處理已登記且核验身分的非活動暫存，未確認或使用中的內容保留；不接受本機路徑。設定只允許契約列出的欄位，不回傳秘密、路徑或密鑰。變更接手後逾時須重新查詢，不自動重試。",
        "operationId": "inspectCache",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CacheReport"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "盤點受管原生接收快取，不刪除檔案",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "cache.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/cache/cleanup": {
      "post": {
        "description": "須明確密鑰權限及全域 * 授權。快取僅處理已登記且核验身分的非活動暫存，未確認或使用中的內容保留；不接受本機路徑。設定只允許契約列出的欄位，不回傳秘密、路徑或密鑰。變更接手後逾時須重新查詢，不自動重試。",
        "operationId": "cleanupCache",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CacheReport"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "清理已核驗身分的非活動接收快取",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "cache.clean",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/capabilities": {
      "get": {
        "operationId": "getCapabilities",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Capabilities"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "目前已實作能力",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "service.read"
      }
    },
    "/devices": {
      "get": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "listDevices",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeviceList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出已發現裝置",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "devices.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/devices/scan": {
      "post": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "scanDevices",
        "parameters": [],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScanResult"
                }
              }
            },
            "description": "已接手，尚未完成",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "發起裝置掃描",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "devices.scan",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/devices/{deviceId}": {
      "get": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "getDevice",
        "parameters": [
          {
            "in": "path",
            "name": "deviceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeviceResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取裝置與可用通道",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "devices.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/keys": {
      "get": {
        "description": "須有效密鑰明確授予 keys.manage 與 *。不可建立超出自身權限或到期時間的密鑰，不可管理自身。修改須版本與 requestId；相同請求重送只返回回執，不再返回秘密。未明結果以原 requestId 查詢，勿自動新增密鑰。",
        "operationId": "listKeys",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出授權範圍內密鑰中繼資料",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "keys.manage",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/keys/create": {
      "post": {
        "description": "須有效密鑰明確授予 keys.manage 與 *。不可建立超出自身權限或到期時間的密鑰，不可管理自身。修改須版本與 requestId；相同請求重送只返回回執，不再返回秘密。未明結果以原 requestId 查詢，勿自動新增密鑰。",
        "operationId": "createKey",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "密鑰已持久化並套用；秘密僅交付一次",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "建立不超出自身權限的密鑰，秘密只回傳一次",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "keys.manage",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/keys/requests/{requestId}": {
      "get": {
        "description": "須有效密鑰明確授予 keys.manage 與 *。不可建立超出自身權限或到期時間的密鑰，不可管理自身。修改須版本與 requestId；相同請求重送只返回回執，不再返回秘密。未明結果以原 requestId 查詢，勿自動新增密鑰。",
        "operationId": "getKeyReceipt",
        "parameters": [
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "查詢密鑰操作持久回執",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "keys.manage",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/keys/{keyId}/manage": {
      "post": {
        "description": "須有效密鑰明確授予 keys.manage 與 *。不可建立超出自身權限或到期時間的密鑰，不可管理自身。修改須版本與 requestId；相同請求重送只返回回執，不再返回秘密。未明結果以原 requestId 查詢，勿自動新增密鑰。",
        "operationId": "manageKey",
        "parameters": [
          {
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyManage"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰生命週期、授權、版本或結果狀態錯誤；檢查穩定錯誤代碼，不含秘密或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "暫停、恢復或撤銷其他密鑰",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "keys.manage",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/managed-workspaces": {
      "get": {
        "description": "僅有效密鑰 workspaces.manage 可用，且限授權工作區；主機持久化後才確認。接手前撤銷會取消；主機接手後即使斷線仍可完成。outcome_unknown 表示結果未知，先讀取清單核對代次，請勿自動重試。destroy 只移除分享設定，不刪本機檔案。",
        "operationId": "listManagedWorkspaces",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagedWorkspaceList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出獲授權的持久工作區（含已停用項目）",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "workspaces.manage"
      }
    },
    "/managed-workspaces/create": {
      "post": {
        "description": "僅有效密鑰 workspaces.manage 可用，且限授權工作區；主機持久化後才確認。接手前撤銷會取消；主機接手後即使斷線仍可完成。outcome_unknown 表示結果未知，先讀取清單核對代次，請勿自動重試。destroy 只移除分享設定，不刪本機檔案。",
        "operationId": "createWorkspace",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkspaceBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "從已核准來源建立已關閉的工作區",
        "x-legnasend-body-only": [
          "sourceId",
          "password",
          "clear",
          "slug"
        ],
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-no-retry": true,
        "x-legnasend-scope": "workspaces.manage"
      }
    },
    "/native-tasks": {
      "get": {
        "description": "須有效密鑰明確授予 nativeTasks.read 或 nativeTasks.control 與 *。此介面讀取所有本機原生任務，並非僅本密鑰的傳送記錄。控制必須使用剛讀取的 epoch、id、version；變更後須重新讀取，禁止自動重試。接受沿用本機目的地與檔名；remove 僅移除終態記錄，不刪檔案。未提供暫停與續傳。",
        "operationId": "listNativeTasks",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NativeTaskList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取全部原生收發任務與速度",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "nativeTasks.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/native-tasks/source-end": {
      "get": {
        "description": "須有效密鑰、對應 nativeTasks.read/control 與 *。只提供脫敏通知，不暴露路徑或清理憑證。重試使用最新 version 與固定 requestId；相同請求可核對未知結果，變更內容須新 ID。accepted 僅表示已排程，不代表遠端檔案已清理。離線、共用來源、活動接收及未知結果保持獨立狀態；已發佈檔案不刪除。 可選 cleanup 僅在接收端確認的終態中提供回執編號、實際移除暫存檔案數與邏輯位元組數；缺失表示沒有數量回執，不表示移除零檔案。該位元組數不是實際釋放磁碟空間的測量值。",
        "operationId": "listSourceEndNotices",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceEndNoticeList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取來源結束通知狀態",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "nativeTasks.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/native-tasks/source-end/{noticeId}/retry": {
      "post": {
        "description": "須有效密鑰、對應 nativeTasks.read/control 與 *。只提供脫敏通知，不暴露路徑或清理憑證。重試使用最新 version 與固定 requestId；相同請求可核對未知結果，變更內容須新 ID。accepted 僅表示已排程，不代表遠端檔案已清理。離線、共用來源、活動接收及未知結果保持獨立狀態；已發佈檔案不刪除。 可選 cleanup 僅在接收端確認的終態中提供回執編號、實際移除暫存檔案數與邏輯位元組數；缺失表示沒有數量回執，不表示移除零檔案。該位元組數不是實際釋放磁碟空間的測量值。",
        "operationId": "retrySourceEndNotice",
        "parameters": [
          {
            "in": "path",
            "name": "noticeId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SourceEndRetry"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceEndRetryResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "重試一項來源結束通知",
        "x-legnasend-key-only": true,
        "x-legnasend-max-body-bytes": 8192,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "nativeTasks.control",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/native-tasks/{taskId}/control": {
      "post": {
        "description": "須有效密鑰明確授予 nativeTasks.read 或 nativeTasks.control 與 *。此介面讀取所有本機原生任務，並非僅本密鑰的傳送記錄。控制必須使用剛讀取的 epoch、id、version；變更後須重新讀取，禁止自動重試。接受沿用本機目的地與檔名；remove 僅移除終態記錄，不刪檔案。未提供暫停與續傳。",
        "operationId": "controlNativeTask",
        "parameters": [
          {
            "in": "path",
            "name": "taskId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NativeTaskControl"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NativeTaskControlResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "原生任務授權、版本或派發狀態錯誤；檢查穩定代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "按版本取消、接受、拒絕或移除原生任務",
        "x-legnasend-key-only": true,
        "x-legnasend-max-body-bytes": 8192,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-no-retry": true,
        "x-legnasend-scope": "nativeTasks.control",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "getOpenApi",
        "parameters": [
          {
            "in": "query",
            "name": "lang",
            "required": false,
            "schema": {
              "default": "en",
              "enum": [
                "en",
                "zh-CN",
                "zh-TW",
                "zh-HK"
              ],
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "目前版本的接口契約",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "service.read"
      }
    },
    "/requests": {
      "get": {
        "operationId": "listRequests",
        "parameters": [
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "default": 0,
              "minimum": 0,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestPage"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "有界且已脫敏的請求記錄",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "requests.read"
      }
    },
    "/requests/clear": {
      "post": {
        "description": "須有效密鑰明確授予 requests.manage 與 *。只清除不超過已讀水位的記錄；實例與代次須一致。序號、實例、限流及活動傳輸不重置，保留清除標記與稍後完成的記錄。",
        "operationId": "clearRequests",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearResult"
                }
              }
            },
            "description": "Cleared observed records only",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "description": "history_changed：歷史實例或代次已變更，重新讀取後再操作",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "按實例與水位清除請求歷史",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "requests.manage",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/send-selection": {
      "get": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "getSendSelection",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendSelection"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取本機選取的傳送檔案摘要",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/settings": {
      "get": {
        "description": "須明確密鑰權限及全域 * 授權。快取僅處理已登記且核验身分的非活動暫存，未確認或使用中的內容保留；不接受本機路徑。設定只允許契約列出的欄位，不回傳秘密、路徑或密鑰。變更接手後逾時須重新查詢，不自動重試。",
        "operationId": "readSettings",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HostSettings"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取不含秘密的應用設定",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "settings.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/settings/update": {
      "post": {
        "description": "須明確密鑰權限及全域 * 授權。快取僅處理已登記且核验身分的非活動暫存，未確認或使用中的內容保留；不接受本機路徑。設定只允許契約列出的欄位，不回傳秘密、路徑或密鑰。變更接手後逾時須重新查詢，不自動重試。",
        "operationId": "updateSettings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "else": {
                      "properties": {
                        "value": {
                          "oneOf": [
                            {
                              "maxLength": 120,
                              "type": "string"
                            },
                            {
                              "type": "boolean"
                            }
                          ]
                        }
                      }
                    },
                    "if": {
                      "properties": {
                        "field": {
                          "const": "receiveCacheRetentionDays"
                        }
                      },
                      "required": [
                        "field"
                      ]
                    },
                    "then": {
                      "properties": {
                        "value": {
                          "description": "原生接收崩潰殘留保留期：-2 為 1 小時（預設），-1 等待本機手動清理，0 在下次維護時不延遲清理，1–3650 為天數；變更策略本身不會執行清理。只處理已登記且非活動的原生殘留；不授予立即清理覆寫、不影響一般取消，也不代表可斷點續傳。",
                          "maximum": 3650,
                          "minimum": -2,
                          "type": "integer"
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "field": {
                    "enum": [
                      "alias",
                      "theme",
                      "locale",
                      "enableAnimations",
                      "autoFinish",
                      "createChecksums",
                      "verifyChecksums",
                      "receiveCacheRetentionDays"
                    ],
                    "type": "string"
                  },
                  "value": {
                    "oneOf": [
                      {
                        "maxLength": 120,
                        "type": "string"
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "description": "原生接收崩潰殘留保留期：-2 為 1 小時（預設），-1 等待本機手動清理，0 在下次維護時不延遲清理，1–3650 為天數；變更策略本身不會執行清理。只處理已登記且非活動的原生殘留；不授予立即清理覆寫、不影響一般取消，也不代表可斷點續傳。",
                        "maximum": 3650,
                        "minimum": -2,
                        "type": "integer"
                      }
                    ]
                  },
                  "version": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "version",
                  "field",
                  "value"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HostSettings"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "settings_busy 表示本機設定正在變更；settings_changed 表示版本已變更。重新讀取狀態，不自動重試。",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "host_operation_failed：持久化、原生套用或還原失敗；重新讀取 receiveCacheRetention 的實際狀態。",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "主機設定、快取、授權或結果狀態錯誤；檢查穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "按版本核驗修改一項受支援設定",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "settings.write",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/status": {
      "get": {
        "operationId": "getStatus",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "服務狀態與非敏感配額",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "service.read"
      }
    },
    "/transfers": {
      "get": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "listTransfers",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出此密鑰的傳送任務",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/transfers/send": {
      "post": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "sendSelection",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendTransferBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferReceipt"
                }
              }
            },
            "description": "已接手，尚未完成",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "將目前選取傳送到指定裝置",
        "x-legnasend-key-only": true,
        "x-legnasend-max-body-bytes": 8192,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.send",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/transfers/{transferId}": {
      "get": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "getTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取傳送任務進度",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.read",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/transfers/{transferId}/cancel": {
      "post": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "cancelTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "取消傳送任務",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.control",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/transfers/{transferId}/remove": {
      "post": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。",
        "operationId": "removeTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferRemoval"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "移除終止任務記錄",
        "x-legnasend-key-only": true,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.control",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/transfers/{transferId}/retry": {
      "post": {
        "description": "需要明確的專用密鑰權限及全域 * 授權；匿名、工作區密碼及單工作區密鑰皆無效。裝置與通道 ID 來自本機發現，檔案只能來自本機目前選取；拒絕任意路徑或主機。任務僅對建立它的密鑰可見。ID、選取版本與冪等收據在應用程式重啟後失效。send/retry 必須帶 requestId；重複同一請求返回原任務，相同 ID 不同參數回應 409。重試為原始協定的完整檔案重傳，並非位元組續傳。接手前撤銷會取消；接手後可能繼續，outcome_unknown 時以相同 requestId 核對，不要使用新 ID 重送。scan/send/retry 的 202 只表示接手，不表示發現或傳送成功。 重試同時要求 transfers.control 與 transfers.send 權限，撤除傳送權限即阻止新傳送。",
        "operationId": "retryTransfer",
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetryTransferBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferReceipt"
                }
              }
            },
            "description": "已接手，尚未完成",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "重試已終止任務；完整重傳原選取內容，包含已完成檔案",
        "x-legnasend-additional-scopes": [
          "transfers.send"
        ],
        "x-legnasend-key-only": true,
        "x-legnasend-max-body-bytes": 8192,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.control",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/workspaces": {
      "get": {
        "operationId": "listWorkspaces",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkspaceList"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "列出獲授權工作區",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "workspaces.read"
      }
    },
    "/workspaces/{workspaceId}": {
      "get": {
        "operationId": "getWorkspace",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workspace"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "讀取工作區描述",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "workspaces.read"
      }
    },
    "/workspaces/{workspaceId}/archive": {
      "get": {
        "operationId": "downloadWorkspaceArchive",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "description": "可省略；目前 path 下 1–128 個不重複直接子項 ID 的 JSON 陣列，並非檔案路徑。",
              "maxLength": 8192,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 8192
            }
          },
          {
            "in": "query",
            "name": "selection",
            "required": false,
            "schema": {
              "description": "同一授權建立的 ZIP 票據；不可與 path 或 ids 同時提供，不取代 Authorization。",
              "format": "uuid",
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/zip": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "逐檔串流 ZIP；不鏡像來源、不提供斷點續傳",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "串流下載工作區或選取項目的 ZIP",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      },
      "head": {
        "operationId": "headWorkspaceArchive",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "description": "可省略；目前 path 下 1–128 個不重複直接子項 ID 的 JSON 陣列，並非檔案路徑。",
              "maxLength": 8192,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 8192
            }
          },
          {
            "in": "query",
            "name": "selection",
            "required": false,
            "schema": {
              "description": "同一授權建立的 ZIP 票據；不可與 path 或 ids 同時提供，不取代 Authorization。",
              "format": "uuid",
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "responses": {
          "200": {
            "description": "逐檔串流 ZIP；不鏡像來源、不提供斷點續傳",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "串流下載工作區或選取項目的 ZIP",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/cancel-archive": {
      "post": {
        "description": "須 files.read 與目標工作區授權。最多 20,000 個不重複直接子項 ID、2 MiB JSON；票據只保留選取資訊，不快取 ZIP。120 秒絕對期限只限制新下載准入，不中斷已開始的歸檔，同所有者與呼叫者最多四張，全域 64 張；取消會停止該票據的活動串流。遺失建立回應時不要自動重試。",
        "operationId": "cancelWorkspaceArchive",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArchiveSelectionCancel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "cancelled": {
                      "const": true
                    }
                  },
                  "required": [
                    "cancelled"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "撤銷精確 ZIP 票據與其活動串流",
        "x-legnasend-max-body-bytes": 1024,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/close-preview": {
      "post": {
        "description": "須 files.read 與目標工作區授權。僅文件提供者；最多八個描述符租約，120 秒閒置到期。HEAD/讀取續期；關閉、換代或撤權終止。固定同一 FD，不鏡像來源；ETag 是租約與元資料而非內容雜湊。",
        "operationId": "closeDocumentPreview",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "lease": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "lease"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "closed": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "closed"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "關閉此授權的文件預覽租約",
        "x-legnasend-max-body-bytes": 1024,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/files": {
      "get": {
        "operationId": "listFiles",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 256,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "anchor",
            "required": false,
            "schema": {
              "description": "目前目錄的檔案 ID；僅首個請求使用，後續沿用游標。有界定位位置，不是偏移或存取憑證。",
              "maxLength": 8192,
              "pattern": "^[A-Za-z0-9_-]+$",
              "type": "string",
              "x-legnasend-max-utf8-bytes": 8192
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilePage"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "分頁讀取檔案清單",
        "x-legnasend-max-query-bytes": 24576,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/files/{fileId}/content": {
      "get": {
        "operationId": "getContent",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "preview",
            "required": false,
            "schema": {
              "enum": [
                "0",
                "1"
              ],
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "lease",
            "required": false,
            "schema": {
              "description": "同一授權建立的預覽租約；不是下載續傳版本。",
              "format": "uuid",
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "header",
            "name": "Range",
            "required": false,
            "schema": {
              "maxLength": 1024,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 1024
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": false,
            "schema": {
              "maxLength": 1024,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 1024
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "Original file",
            "headers": {
              "Accept-Ranges": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "206": {
            "content": {
              "*/*": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "請求的位元組範圍",
            "headers": {
              "Accept-Ranges": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "Content-Range": {
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "416": {
            "description": "範圍超出檔案長度",
            "headers": {
              "Content-Range": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "原始檔案與位元組範圍",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      },
      "head": {
        "operationId": "headContent",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "preview",
            "required": false,
            "schema": {
              "enum": [
                "0",
                "1"
              ],
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "lease",
            "required": false,
            "schema": {
              "description": "同一授權建立的預覽租約；不是下載續傳版本。",
              "format": "uuid",
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "header",
            "name": "Range",
            "required": false,
            "schema": {
              "maxLength": 1024,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 1024
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": false,
            "schema": {
              "maxLength": 1024,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 1024
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Original file",
            "headers": {
              "Accept-Ranges": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "206": {
            "description": "請求的位元組範圍",
            "headers": {
              "Accept-Ranges": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "Content-Range": {
                "schema": {
                  "type": "string"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "416": {
            "description": "範圍超出檔案長度",
            "headers": {
              "Content-Range": {
                "schema": {
                  "type": "string"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "原始檔案與位元組範圍",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/manage": {
      "post": {
        "description": "僅有效密鑰 workspaces.manage 可用，且限授權工作區；主機持久化後才確認。接手前撤銷會取消；主機接手後即使斷線仍可完成。outcome_unknown 表示結果未知，先讀取清單核對代次，請勿自動重試。destroy 只移除分享設定，不刪本機檔案。",
        "operationId": "manageWorkspace",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "action",
            "required": true,
            "schema": {
              "enum": [
                "update",
                "enable",
                "disable",
                "validate",
                "destroy",
                "configure",
                "password"
              ],
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "name",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "visible",
            "required": false,
            "schema": {
              "type": "boolean",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "allowUpload",
            "required": false,
            "schema": {
              "type": "boolean",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfigureWorkspaceBody"
                  },
                  {
                    "$ref": "#/components/schemas/WorkspacePasswordBody"
                  }
                ]
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManagementResult"
                }
              }
            },
            "description": "主機、授權、代次或結果狀態；參閱穩定錯誤代碼",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "以代次比較更新、啟停、驗證或銷毀工作區設定",
        "x-legnasend-body-only": [
          "sourceId",
          "password",
          "clear",
          "slug"
        ],
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-no-retry": true,
        "x-legnasend-scope": "workspaces.manage"
      }
    },
    "/workspaces/{workspaceId}/prepare-archive": {
      "post": {
        "description": "須 files.read 與目標工作區授權。最多 20,000 個不重複直接子項 ID、2 MiB JSON；票據只保留選取資訊，不快取 ZIP。120 秒絕對期限只限制新下載准入，不中斷已開始的歸檔，同所有者與呼叫者最多四張，全域 64 張；取消會停止該票據的活動串流。遺失建立回應時不要自動重試。",
        "operationId": "prepareWorkspaceArchive",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArchiveSelectionPrepare"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArchiveSelectionTicket"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "為大型所選 ZIP 建立短期票據",
        "x-legnasend-max-body-bytes": 2097152,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/prepare-preview": {
      "post": {
        "description": "須 files.read 與目標工作區授權。僅文件提供者；最多八個描述符租約，120 秒閒置到期。HEAD/讀取續期；關閉、換代或撤權終止。固定同一 FD，不鏡像來源；ETag 是租約與元資料而非內容雜湊。",
        "operationId": "prepareDocumentPreview",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "format": "uuid",
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentPreviewLease"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "建立文件提供者唯讀預覽租約",
        "x-legnasend-max-body-bytes": 1024,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/send": {
      "post": {
        "description": "須有效密鑰 transfers.send 與 files.read 及全域 * 授權。只接受目前服務 instanceId、工作區 generation、最多 128 個清單 fileId 與完整帶引號的 ETag version，以及已發現裝置／通道 ID。拒絕任意路徑、網址、IP 或隱式資料夾遞迴。主機先驗證並快照來源，再以原始 LocalSend 協定入列；不改動 UI 選取。202 僅表示已入列；同 requestId 重送核對原收據，禁止結果未知時換 ID。",
        "operationId": "sendWorkspaceFiles",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkspaceSendBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferReceipt"
                }
              }
            },
            "description": "已接手，尚未完成",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定的授權、驗證、主機或任務狀態錯誤",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "將工作區內指定版本檔案傳送至已發現裝置",
        "x-legnasend-additional-scopes": [
          "files.read"
        ],
        "x-legnasend-key-only": true,
        "x-legnasend-max-body-bytes": 65536,
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "transfers.send",
        "x-legnasend-workspace-grant": "*"
      }
    },
    "/workspaces/{workspaceId}/state": {
      "get": {
        "operationId": "getWorkspaceState",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "description": "目前目錄內最多 64 個標準 ASCII 檔案 ID，以逗號分隔，合計最多 8192 位元組；不是本機路徑或網址",
              "maxLength": 8192,
              "pattern": "^(?:[A-Za-z0-9_-]+(?:,[A-Za-z0-9_-]+){0,63})?$",
              "type": "string",
              "x-legnasend-max-utf8-bytes": 8192
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkspaceState"
                }
              }
            },
            "description": "成功",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "核驗目錄狀態與最多 64 個可見檔案的版本",
        "x-legnasend-max-query-bytes": 24576,
        "x-legnasend-scope": "files.read"
      }
    },
    "/workspaces/{workspaceId}/upload": {
      "post": {
        "description": "只接受有效密鑰的 files.upload 權限與工作區授權；匿名或瀏覽器密碼不授予 API 寫入。與瀏覽器 allowUpload 獨立。要求精確 Content-Length；空目錄使用 directory=true 與零位元組。代次、密鑰或工作區撤銷中止未發佈內容。失敗後重新傳送完整檔案。",
        "operationId": "uploadFile",
        "parameters": [
          {
            "in": "path",
            "name": "workspaceId",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "generation",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "directory",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "query",
            "name": "parent",
            "required": false,
            "schema": {
              "default": "",
              "description": "文件提供者工作區的目標父目錄 ID；空值為根目錄。path 相對於此目錄，不能傳入 content URI。檔案系統工作區只能省略或為空。",
              "maxLength": 4096,
              "type": "string",
              "x-legnasend-max-utf8-bytes": 4096
            }
          },
          {
            "in": "header",
            "name": "Content-Length",
            "required": true,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/octet-stream": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadReceipt"
                }
              }
            },
            "description": "已建立並發佈",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "路徑或請求正文無效",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "密鑰無效、過期或已撤銷",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "缺少上傳或工作區權限",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "工作區不可用",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "目標已存在或代次失效",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "411": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "需要準確的 Content-Length",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "415": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "需要 application/octet-stream",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "固定秒／分窗口或活動回應配額",
            "headers": {
              "Retry-After": {
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "穩定錯誤碼，不包含憑據或本機路徑",
            "headers": {
              "X-LegnaSend-Remaining-Minute": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Remaining-Second": {
                "description": "4294967295 表示全域與呼叫方在此維度均不限額；否則回傳最小剩餘額度。",
                "schema": {
                  "maximum": 4294967295,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "X-LegnaSend-Request-Id": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "summary": "持有上傳權限密鑰，串流建立檔案或空目錄（不覆寫）",
        "x-legnasend-max-query-bytes": 8192,
        "x-legnasend-scope": "files.upload"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "/api/legnasend/v1/integration"
    }
  ],
  "x-legnasend-anonymous-policy": "關閉業務鑑權後，匿名授權只涵蓋可見且未受密碼保護的工作區；提供錯誤金鑰不會降級成匿名。"
}
