Import Flow
Imports one or more flows from a specified origin, placing them in the environment identified with the ID {envId}.
POST /resource/import/flow/{envId}
Parameters
Parameters in bold are mandatory.
Location | Name | Description | Type |
---|---|---|---|
path | envId | The ID of the environment where the flows will be imported. To find out more on how to retrieve the ID, see Get Resource ID. | str |
querystring | origin | The source where the flow to import is located. Possible values are '__filesystem__', '__local__', '__repo__'. | str |
body | params | Import mode parameters. Their value can be True (default value) or False. The import mode parameters available are:
| dict |
querystring | incurr | If True, the flow will be imported in the current flow . | bool |
querystring | label | The new name of the imported flow. | str |
querystring | inmemory | If True, the flow will be imported in in memory mode (no interaction with the database). | bool |
body | permissionList | The list of the permissions to be assigned to the imported flow. The parameters to specify are:
| dict, or list for multiple flows |
querystring | withprogress | If True, progress information will be calculated. | bool |
querystring | convertmodule | The mode chosen for module conversion. | str |
To see details on possible response codes, go to API Responses.