Changes

Jump to navigation Jump to search
3 bytes removed ,  23:36, 3 August 2013
Since {{Version|7.7}}, the RESTXQ service is by default available on top level at {{Code|http://localhost:8984/}} (before: <code><nowiki>http://localhost:8984/restxq</nowiki></code>).
All RESTXQ [[XQuery 3.0#Annotations|annotations]] are assigned to the {{Code|<nowiki>http://exquery.org/ns/restxq</nowiki>}} namespace, which is statically bound to the {{Code|restxqrest}} prefix (and since before {{Version|7.7}}: {{Code|restrestxq}}). A ''Resource Function'' is an XQuery function that has been marked up with RESTXQ annotations. When an HTTP request comes in, a resource function will be invoked that matches the constraints indicated by its annotations.
Whenever a RESTXQ URL is requested, the [[Options#RESTXQPATH|RESTXQPATH]] module directory and its sub-directories will be parsed for library modules (detected by the extension {{Code|.xqm}}) and functions with RESTXQ annotations.
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu