Workflows

Import resources from an external source

Changed on
post/api/v1/workflows/resourceImport

Request

Request body multipart/form-data

groupinteger required

ID of the Group that will own the imported resources.

sourceTypestring required

The source of the resources to import('upload_archive', 'upload_files', or 'git'.

gitUrlstring

The URL of the git repository containing resources to import. A git branch can optionally be specified by appending #BRANCH_NAME. Used when sourceType is 'git'.

archiveFilestring binary

The archive file containing resources to import (.tar.gz). Used when sourceType is 'upload_archive'.

configPathstring

The path to the toml configuration file.

resolveNameConflictsStrategystring

Strategy for resolving resource name conflicts. Available options are 'fail', 'update', or 'overwrite'

Response

Success

Changes