Get Metadata Entry

Get Metadata Entry

Get a single metadata entry.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/entities/{id}/metadata/{metadataId}
COPY
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.
Responses
200

OK

Returns MetadataEntry of type(s) application/json;version=40.0
{
    "id": "string",
    "persistent": false,
    "readOnly": false,
    "keyValue": {
        "domain": "string",
        "namespace": "string",
        "key": "string",
        "value": {
            "value": {},
            "type": "string"
        }
    }
}
string
id
Optional

id

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

keyValue
Required

Containins core metadata entry data.


Vendor Extension

This operation contains the following vendor extensions defined in the spec:

                    [object Object]
                
Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/entities/{id}/metadata/{metadataId}