REST API - get_datastore_path

vcenter iso iso path: get datastore path

Returns the datastore path of a .iso file within an ISO content library item.

Request:

HTTP request

GET https://{server}/rest/com/vmware/vcenter/iso/iso-path/id:{library_item_id}/datastore-path

Path Parameters

Name Type Description
Required
library_item_id string The identifier of the ISO item that has a .iso file.

Response:

HTTP Status Code: 200

Representation:

{
    "value""string"
}

Response Type:

Name Type Description
bold = required
value string The datastore path of the .iso file in the library item identified by library_item_id.

Errors:

HTTP Status Code Type Description
404 not_found If the item identified by library_item_id is not found.
400 invalid_argument If the item identified by library_item_id is not a valid library item of type 'iso'.
500 internal_server_error If the Iso Service encounters an unexpected or unknown error.
500 error If the Iso Service is disabled.