ApiLink#
- class ApiLink(href=None, rel=None, *args, **kwargs)[source]#
Bases:
object
A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource.
- Parameters:
- property href#
The URL at which the entity described by the link can be accessed.
- Type:
str
- property rel#
A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of “self” identifies the URL for the object.
- Type:
str