title: API: Retrieve administrative data
role: manual
tags: #api #manual #zettelstore
syntax: zmk
back: 00001012000000
backward: 00001012000000 00001012920000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20220304164242
forward: 00001012920000
lang: en
license: EUPL-1.2-or-later
modified: 20251215172906
published: 20251215172906
visibility: public

The [endpoint](00001012920000) `/x` allows you to retrieve some (administrative) data.

Currently, you can only request Zettelstore version data.

    # curl 'http://127.0.0.1:23123/x'
    (0 13 0 "dev" "f781dc384b-dirty")

* Zettelstore conforms somehow to the Standard [Semantic Versioning](https://semver.org/).
  The first three digits contain the major, minor, and patch version as described in this standard.
* The first string contains additional information, e.g. &ldquo;dev&rdquo; for a development version, or &ldquo;preview&rdquo; for a preview version.
* The second string contains data to identify the version from a developers perspective.

If any of the three digits has the value -1, its semantic value is unknown.
Similar, the two strings might be empty.

# HTTP Status codes

