(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."))))))