(zettel (meta (back "00001007700000 00001007720000") (backward "00001007700000 00001007720000") (box-number "1") (created "20211119133357") (forward "00001007030300 00001007040340") (modified "20230928190540") (published "20230928190540") (role "manual") (syntax "zmk") (tags "#manual #zettelstore") (title "Query: Unlinked Directive")) (rights 4) (encoding "") (content "The value of a personal Zettelstore is determined in part by explicit connections between related zettel.\nIf the number of zettel grow, some of these connections are missing.\nThere are various reasons for this.\nMaybe, you forgot that a zettel exists.\nOr you add a zettel later, but forgot that previous zettel already mention its title.\n\n__Unlinked references__ are phrases in a zettel that mention the title of another, currently unlinked zettel.\n\nTo retrieve unlinked references to an existing zettel, use the query ''{ID} UNLINKED''.\n\n````\n# curl 'http://127.0.0.1:23123/z?q=00001012000000+UNLINKED'\n00001012921200 API: Encoding of Zettel Access Rights\n````\n\nThis returns all zettel (in this case: only one) that references the title of the given Zettel, but does not references it directly.\n\nIn addition you may add __phrases__ if you do not want to scan for the title of the given zettel.\n\n```\n# curl 'http://localhost:23123/z?q=00001012054400+UNLINKED+PHRASE+API'\n00001012050600 API: Provide an access token\n00001012921200 API: Encoding of Zettel Access Rights\n00001012080200 API: Check for authentication\n00001012080500 API: Refresh internal data\n00001012050200 API: Authenticate a client\n00001010040700 Access token\n```\n\nThis finds all zettel that does contain the phrase \"\"API\"\" but does not directly reference the given zettel.\n\nThe directive searches within all zettel whether the title of the specified zettel occurs there.\nThe other zettel must not link to the specified zettel.\nThe title must not occur within a link (e.g. to another zettel), in a [[heading|00001007030300]], in a [[citation|00001007040340]], and must have a uniform formatting.\nThe match must be exact, but is case-insensitive.\nFor example \"\"API\"\" does not match \"\"API:\"\"."))