((p "To retrieve the version data, send an HTTP GET request to the endpoint " (kbd "/x") ", either without the query parameter " (kbd "data") ", with an empty value, or with " (kbd "data=version") ".") (pre (code "# curl 'http://127.0.0.1:23123/x'\n(3 0 0 \"dev\" \"7efe008cc3\")\n# curl 'http://127.0.0.1:23123/x?data=version'\n(3 0 0 \"dev\" \"7efe008cc3\")")) (p "Zettelstore conforms to the " (a ((href . "https://semver.org/") (rel . "external")) "Semantic Versioning") " standard.") (ul (li "The first three numbers represent the major, minor, and patch versions.") (li "The first string contains optional pre-release information, for example " (code "\"dev\"") " for a development version or " (code "\"preview\"") " for a preview version.") (li "The second string contains optional information that identifies the version from a developer's perspective.")) (h3 ((id . "http-status-codes")) "HTTP Status codes") (dl (dt (kbd "200")) (dd (p "Retrieval was successful, the body contains an appropriate object.")) (dt (kbd "400")) (dd (p "The value of the query parameter " (kbd "data") " is unknown."))))