(zettel (meta (back "00001012000000") (backward "00001012000000 00001012920000") (box-number "1") (created "20220304164242") (forward "00001012920000") (modified "20230928190516") (published "20230928190516") (role "manual") (syntax "zmk") (tags "#api #manual #zettelstore") (title "API: Retrieve administrative data")) (rights 4) (encoding "") (content "The [[endpoint|00001012920000]] ''/x'' allows you to retrieve some (administrative) data.\n\nCurrently, you can only request Zettelstore version data.\n\n````\n# curl 'http://127.0.0.1:23123/x'\n(0 13 0 \"dev\" \"f781dc384b-dirty\")\n````\n\n* Zettelstore conforms somehow to the Standard [[Semantic Versioning|https://semver.org/]].\n\n The first three digits contain the major, minor, and patch version as described in this standard.\n* The first string contains additional information, e.g. \"\"dev\"\" for a development version, or \"\"preview\"\" for a preview version.\n* The second string contains data to identify the version from a developers perspective.\n\nIf any of the three digits has the value -1, its semantic value is unknown.\nSimilar, the two string might be empty.\n\n=== HTTP Status codes\n; ''200''\n: Retrieval was successful, the body contains an appropriate object."))