{ "opencollection": "1.0.0", "info": { "name": "FlashArray REST Active Directory Files API", "version": "2.52" }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Pure Storage Create a File Copy", "type": "http" }, "http": { "method": "POST", "url": "/api/2.52/files", "headers": [ { "name": "Authorization", "value": "" }, { "name": "X-Request-ID", "value": "" } ], "params": [ { "name": "directory_ids", "value": "", "type": "query", "description": "Performs the operation on the unique managed directory IDs specified.\nEnter multiple managed directory IDs in comma-separated format.\nThe `directory_ids` or `directory_names` parameter is required, but they cannot be set together.\n" }, { "name": "directory_names", "value": "", "type": "query", "description": "Performs the operation on the managed directory names specified.\nEnter multiple full managed directory names in comma-separated format.\nFor example, `fs:dir01,fs:dir02`.\n" }, { "name": "overwrite", "value": "", "type": "query", "description": "If set to `true`,\noverwrites an existing object during an object copy operation.\nIf set to `false` or not set at all and the target name is an existing object,\nthe copy operation fails.\nRequired if the `source` body parameter is set\nand the source overwrites an existing object during the copy operation.\n" }, { "name": "paths", "value": "", "type": "query", "description": "Target file path relative to the target directory.\nEnter multiple target file path in a comma-separated format.\nFor example, `/dir1/dir2/file1,/dir3/dir4/file2`.\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a file copy from one path to another path.\nThe `directory_ids`, `directory_names` or `paths` value must be specified.\nIf the `directory_ids` or `directory_names` value is not specified, the file is copied to the\nsource directory specified in the body params.\nThe `paths` value refers to the path of the target file relative to the target directory.\nIf `paths` value is not specified, the file will be copied to the relative path specified\nin `source_path` under the target directory.\nThe `sou" } ] } ], "bundled": true }