REST API - get_multiple

esx vm data sets entries: get multiple

Gets the value of multiple entries in a data set. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

POST https://{server}/api/esx/vm/{vm}/data-sets/{dataSet}

?actions=get-multiple
[
    "string",
    "string"
]

Path Parameters

Name Type Description
Required
vm string Identifier of the virtual machine.

Body Parameters:

Name Type Description
bold = required
- string[] Optional. The keys of the entries to query. If a key is not in use, it is not returned.

Response:

HTTP Status Code: 200

Response Body Structure:

{
    "<string>""string"
}

Headers:

None

Type:

Name Type Description
bold = required
- object the requested entries.Object with element values of type string.
-.* string

Errors:

HTTP Status Code Type Description
404 not_found if the virtual machine is not found.
403 unauthorized if the data set access mode prevents the operation.