REST API - list

esx attestation os esx base images: list

Return a list of trusted ESX base images.

Request:

HTTP request

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

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "display_name""string",
        "version""obj-103"
    },
    {
        "display_name""string",
        "version""obj-103"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- summary[] A list of configured trusted ESX base images.
-[].version string A unique ESX version number.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.attestation.os.esx.base_images. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.attestation.os.esx.base_images.

-[].display_name string A unique ESX version formatted for display.

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized.