Retrieve administrative data

00001012070500 · Info · (manual) · #api #manual #zettelstore

The endpoint /x allows you to retrieve some (administrative) data.

Currently, you can only request Zettelstore version data.

# curl 'http://127.0.0.1:23123/x'
{"major":0,"minor":4,"patch":0,"info":"dev","hash":"cb121cc980-dirty"}

Zettelstore conforms somehow to the Standard Semantic Versioning.

The names major, minor, and patch are described in this standard.

The name info contains sometimes some additional information, e.g. dev for a development version, or preview for a preview version.

The name hash contains some data to identify the version from a developers perspective.

HTTP Status codes

200

Retrieval was successful, the body contains an appropriate JSON object.