(zettel (meta (back "00001006000000 00001012000000 00001012051600 00001012051800 00001012053400 00001012053500 00001012053600 00001012080200 00001012080500") (backward "00001006000000 00001012000000 00001012050200 00001012050400 00001012051200 00001012051400 00001012051600 00001012051800 00001012053200 00001012053300 00001012053400 00001012053500 00001012053600 00001012054200 00001012054400 00001012054600 00001012070500 00001012080100 00001012080200 00001012080500") (box-number "1") (created "20210126175322") (forward "00001004010000 00001006050000 00001012050200 00001012050400 00001012051200 00001012051400 00001012053200 00001012053300 00001012054200 00001012054400 00001012054600 00001012070500 00001012080100") (modified "20230731162343") (published "20230731162343") (role "manual") (syntax "zmk") (tags "#api #manual #reference #zettelstore") (title "Endpoints used by the API")) (rights 4) (encoding "") (content "All API endpoints conform to the pattern ''[PREFIX]LETTER[/ZETTEL-ID]'', where:\n; ''PREFIX''\n: is the URL prefix (default: \"\"/\"\"), configured via the ''url-prefix'' [[startup configuration|00001004010000]],\n; ''LETTER''\n: is a single letter that specifies the resource type,\n; ''ZETTEL-ID''\n: is an optional 14 digits string that uniquely [[identify a zettel|00001006050000]].\n\nThe following letters are currently in use:\n\n|= Letter:| Without zettel identifier | With [[zettel identifier|00001006050000]] | Mnemonic\n| ''a'' | POST: [[client authentication|00001012050200]] | | **A**uthenticate\n| | PUT: [[renew access token|00001012050400]] |\n| ''x'' | GET: [[retrieve administrative data|00001012070500]] | | E**x**ecute\n| | POST: [[execute command|00001012080100]]\n| ''z'' | GET: [[list zettel|00001012051200]]/[[query zettel|00001012051400]] | GET: [[retrieve zettel|00001012053300]] | **Z**ettel\n| | POST: [[create new zettel|00001012053200]] | PUT: [[update zettel|00001012054200]]\n| | | DELETE: [[delete zettel|00001012054600]]\n| | | MOVE: [[rename zettel|00001012054400]]\n\nThe full URL will contain either the \"\"http\"\" oder \"\"https\"\" scheme, a host name, and an optional port number.\n\nThe API examples will assume the \"\"http\"\" schema, the local host \"\"127.0.0.1\"\", the default port \"\"23123\"\", and the default empty ''PREFIX'' \"\"/\"\".\nTherefore, all URLs in the API documentation will begin with \"\"http://127.0.0.1:23123/\"\"."))