Namespace of helpers for creating HATEOAS links.
Namespace of helpers for creating HATEOAS links.
(add-link method url media-type)(add-link method url media-type others)Link to add an existing item to a collection.
Link to add an existing item to a collection.
(archive-link url)(archive-link url others)Link to archive an existing resource.
Link to archive an existing resource.
(collection-link url media-type)(collection-link url media-type others)Link that points to a collection (list) of items.
Link that points to a collection (list) of items.
(create-link url media-type)(create-link url media-type others)Link to create a new resource.
Link to create a new resource.
(delete-link url)(delete-link url others)Link to delete an existing resource.
Link to delete an existing resource.
(item-link url media-type)(item-link url media-type others)Link that points to an individual item in a collection.
Link that points to an individual item in a collection.
(link-for & rest)(link-for links :guard sequential? rel :guard string?)(link-for links
:guard
sequential?
rels
:guard
sequential?
methods
:guard
sequential?)(link-for links
:guard
sequential?
rels
:guard
sequential?
method
:guard
string?)(link-for links
:guard
sequential?
rel
:guard
string?
methods
:guard
sequential?)(link-for links :guard sequential? rel :guard string? params :guard nil-or-map?)(link-for links :guard sequential? rel :guard string? method :guard string?)(link-for links
:guard
sequential?
rels
:guard
sequential?
methods
:guard
sequential?
params
:guard
nil-or-map?)(link-for links
:guard
sequential?
rels
:guard
sequential?
method
:guard
string?
params
:guard
nil-or-map?)(link-for links
:guard
sequential?
rel
:guard
string?
methods
:guard
sequential?
params
:guard
nil-or-map?)(link-for links
:guard
sequential?
rel
:guard
string?
params
:guard
nil-or-map?
replacements
:guard
map?)(link-for links
:guard
sequential?
rel
:guard
string?
method
:guard
string?
params
:guard
nil-or-map?)(link-for links
:guard
sequential?
rels
:guard
sequential?
methods
:guard
sequential?
params
:guard
nil-or-map?
replacements
:guard
map?)(link-for links
:guard
sequential?
rels
:guard
sequential?
method
:guard
string?
params
:guard
nil-or-map?
replacements
:guard
map?)(link-for links
:guard
sequential?
rel
:guard
string?
methods
:guard
sequential?
params
:guard
nil-or-map?
replacements
:guard
map?)(link-for links
:guard
sequential?
rel
:guard
string?
method
:guard
string?
params
:guard
nil-or-map?
replacements
:guard
map?)(link-map rel method url media-types)(link-map rel method url media-types others)Create a HATEOAS link for the specified relation, HTTP method, URL, and media-type.
Any additional key/values will be included as additional properties of the link.
Create a HATEOAS link for the specified relation, HTTP method, URL, and media-type. Any additional key/values will be included as additional properties of the link.
(link-replace-href link replacements)Given a link with an :href and a :replace map, and given a replacements map, apply the replacements to the link.
Given a link with an :href and a :replace map, and given a replacements map, apply the replacements to the link.
(partial-update-link url media-types)(partial-update-link url media-types others)Link to update an existing resource with a fragment of content that's merged into the existing content.
Link to update an existing resource with a fragment of content that's merged into the existing content.
(remove-link url)(remove-link url media-type)(remove-link url media-type others)Link to remove an item from a collection.
Link to remove an item from a collection.
(self-link url media-type)(self-link url media-type others)Link that points back to the resource itself.
Link that points back to the resource itself.
(up-link url media-type)(up-link url media-type others)Link that points to the parent collection that contains this item.
Link that points to the parent collection that contains this item.
(update-link url media-types)(update-link url media-types others)Link to replace an existing resource with new content.
Link to replace an existing resource with new content.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |