Self verbs
The self verb is included in each element and is based on REST philosophy. The self verb allows you to retrieve the API URI for the current element.
Example: For a host, the self verb might look like the following.
“link":
[
{
"href": "http://localhost:8082/7.0/elements/host/86",
"rel": "self",
"type": "host"
}
]
A link entry has the following structure:
- href: The API's URI to the associated verb
- rel: The keyword that is preserved beyond SMC versions. It represents the verb
- type: Optional information about the return type