Actions18
File → Duplicate
AI-generatedSummary
Duplicate specified file(s) in Sahabaa cloud storage by parsing entry IDs and sending them to the Sahabaa API.
Inputs
- duplicateEntryIds (required) — Comma-separated list of file/folder IDs to duplicate
- duplicateDestinationId — ID of the folder to place duplicates in (0 for same folder)
Output shape
JSON response from the Sahabaa API, containing details of the duplicated entry(ies).
Each input item is processed independently. IDs are parsed from comma-separated string to integer array. If duplicateDestinationId is 0 or omitted, it is sent as null to the API.
Examples
Example 1: Duplicate two files into the same folder
duplicateEntryIds: 123,456; duplicateDestinationId: 0