Possible to bulk import a volume directory into a SBG sub directory
I would like to import a list of files from a volume using
api.imports.bulk_submit(imports=...). It currently seems only possible to
import these files into the root of the project. Could this function be updated
to accept and additional parameter either in the given dictionary, or as an
argument specifing a parent folder?
Hi Michael, thanks for your feedback. Here our Python API client lags behind our REST API a bit, but we have it already scheduled.
If you urgently need this feature, you could turn directly to the REST API to achieve this, where we already have a 'parent' argument to specify the target folder:
https://docs.sevenbridges.com/v1.0/reference#start-an-import-job-v2
Thank you @christiansbg. That would be very useful in the API. I think this also would relate to the issue I saw in #112 since I wouldn't need to move a large number of files over if they could be imported into a folder directly.
In version 0.17.6 it's possible now for single file imports to specify the parent folder: https://github.com/sbg/sevenbridges-python/releases/tag/0.17.6
For bulk imports it is not fixed yet.