[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get Metadata Entry
DescriptionGet a single metadata entry.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/entities/{id}/metadata/{metadataId}
Path Parameters
Path Parameters
string
id
Required
the URN of the entity the entry is attached to.
string
metadataId
Required
a metadata vcloud id urn
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
MetadataEntry
of type(s) application/json;version=37.2
{
"id": "string",
"keyValue": {
"domain": "string",
"key": "string",
"namespace": "string",
"value": {
"type": "string",
"value": {}
}
},
"persistent": false,
"readOnly": false
}
string
id
Optional
boolean
persistent
Optional
Persistent entries can be copied over on some entity operation, for example: | Creating a copy of an Org VDC | Capturing a vApp to a template | Instantiating a catalog item as a VM
boolean
readOnly
Optional
The kind of level of access organizations of the entry’s domain have
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/entities/{id}/metadata/{metadataId}
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 37.0
Defined Entity Operations
delete
delete
get