(((meta ((content . "API: Version data") (name . "title"))) (meta ((content . "manual") (name . "role"))) (meta ((content . "#api #manual #zettelstore") (name . "tags"))) (meta ((content . "zmk") (name . "syntax"))) (meta ((content . "00001012000000 00001012070500") (name . "back"))) (meta ((content . "00001012000000 00001012070500") (name . "backward"))) (meta ((content . "manual") (name . "box-name"))) (meta ((content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta ((content . "20220304164242") (name . "created"))) (meta ((content . "en") (name . "lang"))) (meta ((content . "EUPL-1.2-or-later") (name . "license"))) (meta ((content . "20261109130507") (name . "modified"))) (meta ((content . "20261109130507") (name . "published"))) (meta ((content . "public") (name . "visibility")))) (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."))))