((META (EMPTY-STRING title "API: Version data") (WORD role "manual") (TAG-SET tags ("#api" "#manual" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001012000000" "00001012070500")) (ZID-SET backward ("00001012000000" "00001012070500")) (WORD box-name "manual") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20220304164242") (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20261109130507") (TIMESTAMP published "20261109130507") (WORD visibility "public")) (BLOCK (PARA (TEXT "To retrieve the version data, send an HTTP GET request to the endpoint ") (LITERAL-INPUT () "/x") (TEXT ", either without the query parameter ") (LITERAL-INPUT () "data") (TEXT ", with an empty value, or with ") (LITERAL-INPUT () "data=version") (TEXT ".")) (VERBATIM-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\")") (PARA (TEXT "Zettelstore conforms to the ") (LINK () (EXTERNAL "https://semver.org/") (TEXT "Semantic Versioning")) (TEXT " standard.")) (UNORDERED () (ITEM () (PARA (TEXT "The first three numbers represent the major, minor, and patch versions."))) (ITEM () (PARA (TEXT "The first string contains optional pre-release information, for example ") (LITERAL-CODE () "\"dev\"") (TEXT " for a development version or ") (LITERAL-CODE () "\"preview\"") (TEXT " for a preview version."))) (ITEM () (PARA (TEXT "The second string contains optional information that identifies the version from a developer's perspective.")))) (HEADING () 2 (TEXT "HTTP Status codes")) (DESCRIPTION () (TERM () (LITERAL-INPUT () "200")) (DETAIL (ENTRY () (PARA (TEXT "Retrieval was successful, the body contains an appropriate object.")))) (TERM () (LITERAL-INPUT () "400")) (DETAIL (ENTRY () (PARA (TEXT "The value of the query parameter ") (LITERAL-INPUT () "data") (TEXT " is unknown.")))))))