Skip to content

Commit

Permalink
Report eXist-db compatible version number in /version end-point
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Nov 1, 2020
1 parent 48ffd69 commit 3a5ffaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/xar-resources/api.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ function api:version() {
"product-name": system:get-product-name(),
"version": system:get-version(),
"revision": system:get-revision(),
"build": system:get-build()
"build": system:get-build(),
"exist-db": map {
"compatible-version": util:system-property("exist-db-compatible-version")
}
}
}
)
Expand Down

0 comments on commit 3a5ffaf

Please sign in to comment.