To retrieve the version data, send an HTTP GET request to the endpoint /x, either without the query parameter data, with an empty value, or with data=version.

# curl 'http://127.0.0.1:23123/x'
(3 0 0 "dev" "7efe008cc3")
# curl 'http://127.0.0.1:23123/x?data=version'
(3 0 0 "dev" "7efe008cc3")

Zettelstore conforms to the Semantic Versioning standard.

HTTP Status codes

200

Retrieval was successful, the body contains an appropriate object.

400

The value of the query parameter data is unknown.