(add-link resource rel m)
Adds a link to a resource. If the rel is already present, the values will form a vector.
Adds a link to a resource. If the rel is already present, the values will form a vector.
(add-links resource & args)
Adds each rel->link to the resource
Adds each rel->link to the resource
(add-properties resource & args)
Takes a map, or key->value pairs. It adds each key->value pair to the resource. If the key is already present, it will be overwritten.
Takes a map, or key->value pairs. It adds each key->value pair to the resource. If the key is already present, it will be overwritten.
(add-property resource rel r)
Adds a new property to the resource. If the key is already present, it will be overwritten.
Adds a new property to the resource. If the key is already present, it will be overwritten.
(add-resource resource key r)
Adds an embedded resource to the resource. If the key is already present, the values will form a vector.
Adds an embedded resource to the resource. If the key is already present, the values will form a vector.
(add-resources resource & args)
Adds each key->resource pair to the resource. If the same key is used, the values will form a vector.
Adds each key->resource pair to the resource. If the same key is used, the values will form a vector.
(get-href resource key)
Gets a href within a resource
Gets a href within a resource
(get-in-properties resource keys)
Navigates through the keys in properties
Navigates through the keys in properties
(get-link resource key)
Gets a link from a resource
Gets a link from a resource
(get-property resource key)
Gets an property from a resource
Gets an property from a resource
(get-resource resource key)
Gets an embedded resource from a resource
Gets an embedded resource from a resource
(links resource)
Gets a map of all the links in the resource
Gets a map of all the links in the resource
(new-resource)
(new-resource self)
Creates a new HAL resource
Creates a new HAL resource
(properties resource)
Gets all the properties from a resource as a map
Gets all the properties from a resource as a map
(resources resource)
Gets all the embedded resources as a map
Gets all the embedded resources as a map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close