Liking cljdoc? Tell your friends :D

oc.lib.hateoas

Namespace of helpers for creating HATEOAS links.

Namespace of helpers for creating HATEOAS links.
raw docstring

(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.
raw docstring

(archive-link url)
(archive-link url others)

Link to archive an existing resource.

Link to archive an existing resource.
raw docstring

(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.
raw docstring

(create-link url media-type)
(create-link url media-type others)

Link to create a new resource.

Link to create a new resource.
raw docstring

DELETEclj


(delete-link url)
(delete-link url others)

Link to delete an existing resource.

Link to delete an existing resource.
raw docstring

GETclj



http-methodsclj


(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.
raw docstring

json-collection-versionclj


(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.
raw docstring

OPTIONSclj


(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.
raw docstring

PATCHclj


POSTclj


PUTclj


(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.
raw docstring

(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.
raw docstring

(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.
raw docstring

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close