API: List all tags

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

To list all tags used in the Zettelstore just send a HTTP GET request to the endpoint /t. If successful, the output is a JSON object:

# curl http://127.0.0.1:23123/t
{"tags":{"#api":[:["00001012921000","00001012920800","00001012920522",...],"#authorization":["00001010040700","00001010040400",...],...,"#zettelstore":["00010000000000","00001014000000",...,"00001001000000"]}}

The JSON object only contains the key "tags" with the value of another object. This second object contains all tags as keys and the list of identifier of those zettel with this tag as a value.

Please note that this structure will likely change in the future to be more compliant with other API calls.