ApiVolumes
POST /v1/volumes/{v}/files/copy
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
v*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/volumes/string/files/copy" \ -H "Content-Type: application/json" \ -d '{ "src": "string", "dst": "string" }'{ "commit_id": "string", "outcome": "fast", "head_commit_id": "string", "overwritten": [ { "path": "string", "reason": "string" } ], "skipped": [ { "path": "string", "reason": "string" } ], "overwritten_count": 0, "duration_ms": 0}Empty