Copy items within public file system
Copies items to a new location within the public file system and recomputes the release inventory. Paths are relative to `public/{publicId}`. Requires `canCopyPublicFileSystemItems`; the token must belong to `projectId`. Does NOT check token expiration.
Copies items to a new location within the public file system and recomputes the release inventory. Paths are relative to public/{publicId}. Requires canCopyPublicFileSystemItems; the token must belong to projectId. Does NOT check token expiration.
Authorization
bearerAuth In: header
Path Parameters
Unique ID of the project.
uuidThe public access token of the file system. Must belong to projectId.
^[a-zA-Z0-9]{10}$10 <= length <= 10Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/public/stringstri/files/copy" \ -H "Content-Type: application/json" \ -d '{ "itemPaths": [ "Renders/final.png" ], "destinationPath": "Approved" }'{ "count": 1, "virtualDestination": true, "published": true, "errors": [ { "type": "string", "message": "string", "data": null } ]}