A Link helps with discoverability and resource availability. A link may represent an available action or server resources like files, images, etc. Most GunBroker.com REST API responses contain a list of links.
Field | Data Type | Description |
---|---|---|
Href | string | The the fully qualified URL for the linked resource. |
Rel | string | The relation or purpose of the link relative to the current resource. |
Verb | string | The HTTP Verb associated with the linked resource. |
ContentType | string | The Content-Type associated with the expected response for the linked resource (ex: image/jpg). |
Title | string | The suggested title for the link if displayed in a UI. |
Rel | string | The full description for the purpose of the link. |