((META (EMPTY-STRING title "API: Retrieve administrative data") (WORD role "manual") (TAG-SET tags ("#api" "#manual" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001012000000")) (ZID-SET backward ("00001012000000" "00001012920000")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20220304164242") (ZID-SET forward ("00001012920000")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20230928190516") (TIMESTAMP published "20230928190516") (WORD visibility "public")) (BLOCK (PARA (TEXT "The ") (LINK-ZETTEL () "00001012920000" (TEXT "endpoint")) (TEXT " ") (LITERAL-INPUT () "/x") (TEXT " allows you to retrieve some (administrative) data.")) (PARA (TEXT "Currently, you can only request Zettelstore version data.")) (VERBATIM-CODE () "# curl 'http://127.0.0.1:23123/x'\n(0 13 0 \"dev\" \"f781dc384b-dirty\")") (UNORDERED (BLOCK (PARA (TEXT "Zettelstore conforms somehow to the Standard ") (LINK-EXTERNAL () "https://semver.org/" (TEXT "Semantic Versioning")) (TEXT ".")) (PARA (TEXT "The first three digits contain the major, minor, and patch version as described in this standard."))) (BLOCK (PARA (TEXT "The first string contains additional information, e.g. ") (FORMAT-QUOTE () (TEXT "dev")) (TEXT " for a development version, or ") (FORMAT-QUOTE () (TEXT "preview")) (TEXT " for a preview version."))) (BLOCK (PARA (TEXT "The second string contains data to identify the version from a developers perspective.")))) (PARA (TEXT "If any of the three digits has the value -1, its semantic value is unknown.") (SOFT) (TEXT "Similar, the two string might be empty.")) (HEADING 1 () "http-status-codes" "http-status-codes" (TEXT "HTTP Status codes")) (DESCRIPTION ((LITERAL-INPUT () "200")) (BLOCK (BLOCK (PARA (TEXT "Retrieval was successful, the body contains an appropriate object.")))))))