((META (EMPTY-STRING title "API: Execute commands") (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 "20211230230441") (ZID-SET forward ("00001012080200" "00001012080500" "00001012920000")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20220908163125") (TIMESTAMP published "20220908163125") (WORD visibility "public")) (BLOCK (PARA (TEXT "The ") (LINK-ZETTEL () "00001012920000" (TEXT "endpoint")) (TEXT " ") (LITERAL-INPUT () "/x") (TEXT " allows you to execute some (administrative) commands.") (SOFT) (TEXT "To differentiate between the possible commands, you have to set the query parameter ") (LITERAL-INPUT () "cmd") (TEXT " to a specific value:")) (DESCRIPTION ((LITERAL-INPUT () "authenticated")) (BLOCK (BLOCK (PARA (LINK-ZETTEL () "00001012080200" (TEXT "Check for authentication"))))) ((LITERAL-INPUT () "refresh")) (BLOCK (BLOCK (PARA (LINK-ZETTEL () "00001012080500" (TEXT "Refresh internal data")))))) (PARA (TEXT "Other commands will be defined in the future."))))