Actions11
File → Copy
AI-generatedSummary
Copy a file within a WDS project by specifying the project ID, source file path, and the new file name for the copied file.
Inputs
- API Key — The API key for authenticating requests to WDS Service API. If not provided, the API key from credentials will be used.
- Domain — The domain of the WDS project. If not provided, the domain from credentials will be used.
- Project ID (required) — The ID of the project containing the file to copy.
- File Path (required) — The path to the source file within the project that you want to copy.
- New File Name (required) — The name of the new file to be created as a copy of the source file.
Output shape
a single JSON object per input item indicating the success or failure of the copy operation, including any error messages if applicable
The operation returns an array of results matching the number of input items. Each result contains a 'success' boolean flag and, if failed, an 'error' message. No file content is returned.
Examples
Example 1: Copy a file within a project to create a new file with a different name
Provide Project ID, source File Path, and New File Name; optionally override API Key and Domain if needed.