link relation
The name that says what a link means, such as next, author or self, written as rel in a Link header.
In more detail
Clients rely on the relation name, not the target address, so the server can change routing while keeping the meaning stable. Standard relation names are registered so everyone uses them the same way.
Related terms
- Link header — The response header that carries typed links to related resources, such as Link: </tasks/1/owner>; rel="author".
- hypermedia — Links placed inside representations so clients discover related resources and available actions instead of building addresses themselves.
- next link — The link a paginated response gives to the following page, which the client should follow exactly as supplied.
Taught in
- Sub-resources And Relationships — Modern API Architecture: REST, GraphQL & gRPC
- HATEOAS And Hypermedia — Modern API Architecture: REST, GraphQL & gRPC