importInventorySource
POST/api/v1/inventory/sources/:name/import
Imports the source now and merges a new snapshot (docs/pipeline.md §15). For a csv source, the files are uploaded with the columns of the sql queries (docs/spec-format.md §3.10).
Request
Responses
- 202
- 404
- 409
- 422
Operation started
object.not_found: no such InventorySource in the active revision
inventory.import_running: an import of the source runs
inventory.upload: files for a source that isn't csv, a csv source without files, or columns that don't match