post https://example.com/datasets
Imports a dataset form a imgapi compatible server or promotes a VM's snapshot to a dataset.
If url
is given a imgapi import is performed. if vm
, snapshot
and config
is given then the snapshot in question is promoted to a mimage.
config
is an object and needs to have the fields: version
, os
, name
and description
, all strings.