Skip to main content

EXPath Package

Back to listing of all packages

eXist-db OpenAPI

eXist-db OpenAPI

Description:OpenAPI-described HTTP surface for eXist-db: database management, query execution, language services, user management, package management, search, and cross-app linking
Version:0.9.7
Size:106k
Requirement:eXist-db version 7.0.0-SNAPSHOT or later
Package Abbrev:existdb-openapi
Package Name:http://exist-db.org/pkg/openapi
Author(s):The eXist-db Authors
License:GNU Lesser General Public License, version 2.1
Website:https://github.com/eXist-db/existdb-openapi
Download:existdb-openapi-0.9.7.xar

Download other versions:

    Change log:

    0.9.6
    • Fix POST /api/langservice/hover, /definition, and /references returning HTTP 500 (err:XPTY0004) for every request: JSON numbers in the request body parse as xs:double, but the underlying lang:hover / lang:definition / lang:references functions declare xs:integer parameters. Coerce line and column to xs:integer in the langservice handler (#30). Adds a Cypress spec covering all seven langservice endpoints so this class of regression can't ship silently again.
    0.9.5
    • Performance: cursor:eval now reuses compiled queries via the shared XQueryPool, mirroring RESTServer._query's pattern (#27). For repeated identical queries — typical of interactive eXide use — compile time drops from a typical 2–5 ms to 0–1 ms; for queries with substantial parse/analysis cost the saving scales with expression complexity.
    0.9.4
    • Fix cursor:eval returning 0 (or err:XPDY0002) for free-standing path expressions like count(//p), and resolve relative doc("x.xml") lookups against the supplied module-load-path (#26) — mirrors RESTServer._query's context setup
    0.9.3
    • Back-fill release-history entries in this changelog (no functional change)
    0.9.2
    • Demote "Cursor store: maximumSize=…" log line from INFO to DEBUG (#25)
    0.9.1
    • Fix cursor:fetch returning "Cursor not found or expired" 500s under concurrent use (#24) — CursorStore.configure() is now idempotent across XQuery context loads
    0.9.0-SNAPSHOT
    • Initial release — absorbs exist-lsp, adds REST API for db, users, packages, search, site
    0.9.0
    • Rename from exist-api to existdb-openapi (#18); split lsp namespace into langservice + cursor
    • SPDX license headers (#10); CI workflow with Cypress against existdb/existdb:latest (#11)
    • J21 idiom audit: text blocks for multi-line FunctionSignature descriptions
    • Drop functionsOrdered=true from CursorModule and LangServiceModule (use linear-scan 2-arg super(…); see eXist-db/exist#6378)
    • Comprehensive README