168
edits
(Created page with "Link headers are a way to signal available actions to clients. Which actions can be available and how you can perform these actions are documented in the Media-Type specific...") |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
== Common Links == | == Common Links == | ||
* | * <code>rel=self</code>: This is the [[Canonical URL | canonical URL]] for this resource. PUT and DELETE requests should generally be done here. | ||
* | * <code>rel=next</code>: The next page in a list | ||
* | * <code>rel=prev</code>: The previous page in a list | ||
* | * <code>rel=first</code>: The first page in a list | ||
* | * <code>rel=last</code>: The last page in a list | ||
A full list of publicly registered relation types can be found on the [https://www.iana.org/assignments/link-relations/link-relations.xhtml IANA Link Relations page]. | A full list of publicly registered relation types can be found on the [https://www.iana.org/assignments/link-relations/link-relations.xhtml IANA Link Relations page]. | ||
== Additional Properties == | == Additional Properties == | ||
A link can have other optional properties as well, an example is the | A link can have other optional properties as well, an example is the <code>templated=true</code> property that should be added if a client is supposed to fill in a [[URL Template]]. | ||
[[Category: Terminology]] | |||