Export Flow
Exports one or more flows, identified with their <flowIds>, to a generic filesystem, which can be your local filesystem or a remote one.
URI: POST /resource/export/flow
Parameters
Parameters in bold are mandatory
Location | Name | Description | Type |
---|---|---|---|
body | flowIds | The ID(s) of the flow(s) to be exported. Lists must be transformed into a string, by joining the separate elements with commas ",", and wrapping any spaces with quotes. For example:
See Get Resource ID for further details on how to retrieve IDs. | str, or list for multiple flows. |
body | params | The export parameters of the flows. Depending on the URI, the other parameters vary.
For ShareDrive, you need to specify the following parameters:
For HTTP, you need to specify the following parameters:
For FTP, you need to specify the following parameters:
For S3, you need to specify the following parameters:
For SharePoint, you need to specify the following parameters:
For HDFS, you need to specify the following parameters:
| dict |
body | flowLabels | The labels of the flows to be exported. See note above if multiple flows are to be exported. | str, or list for multiple names. |
body | diz_export | The parameters regarding the export mode. Their value can be True (default value) or False. The export mode parameters available are:
| dict |
querystring | source_refs | If True, references to saved sources will be exported. | bool |
querystring | addsuffix | If True, the date and timestamp will be added to the end of the basename as a suffix. | bool |
querystring | addprefix | If True, the date and timestamp will be added to the beginning of the basename as a prefix. | bool |
querystring | addtag | If True, the tag name will be added to the end of the basename as a suffix. | bool |
querystring | taskList | The list of the tasks to be exported. See note above if multiple flows are to be exported. | str, or list for multiple tasks. |
querystring | newnames | The new names to be assigned to the exported flows. See note above if multiple flows are to be exported. | str, or list for multiple flows. |
To see details on possible response codes, go to API Responses