Lybic Docs

复制沙箱文件

POST
/api/orgs/{orgId}/sandboxes/{sandboxId}/file/copy

Path Parameters

sandboxId*string
orgId*string

组织 ID

Request Body

application/json

files*
Items1 <= items

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/sandboxes/string/file/copy" \  -H "Content-Type: application/json" \  -d '{    "files": [      {        "src": {          "type": "sandboxFileLocation",          "path": "string"        },        "dest": {          "type": "sandboxFileLocation",          "path": "string"        }      }    ]  }'
{
  "results": [
    {
      "id": "string",
      "success": true,
      "error": "string"
    }
  ]
}