Link
Links represent a connection to another API resource. When setting links only the HREF value is required. Title and REL are used for meta data only.
Link [Schema]
Name | Type | Required | Description |
---|---|---|---|
title | xsd:string | no | The link title. Normally includes useful information about the linked entity. |
href | href | yes | The hypertext reference. Indicates the URL path to the linked entity. |
rel | xsd:string | no | The relation type. Indicates the data type of the linked entity. |
Example
<?xml version="1.0"?>
<Link xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" title="string" href="string" rel="string" />
{
"Link": {
"@title": "string",
"@href": "string",
"@rel": "string"
}
}