REST API - import_from_imgdb

esx attestation os esx base images: import from imgdb

Import ESX metadata as a new trusted base image.

Import a boot_imgdb.tgz file which contains metadata that describes a trusted ESX base image. A boot_imgdb.tgz file can be downloaded from a representative host over HTTP using: https://[hostname]/boot_imgdb.tgz


HTTP request

POST https://{server}/api/esx/attestation/os/esx/base-images


Body Parameters:

Name Type Description
bold = required
- binary The ESX metadata file.


HTTP Status Code: 200

Response Body Structure:





Name Type Description
bold = required
- string The imported imgdb version identifier.


HTTP Status Code Type Description
400 already_exists if ESX metadata for the same version has already been added.
500 error if there is a generic error.
400 invalid_argument if the imgdb is invalid.
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized.