{"revision":"74db551f2ba44300","language":"en","entry":{"id":"learn-page","kind":"endpoint","group":"share","title":"Open an explainer page","method":"GET","path":"/learn/{slug}","paths":[],"summary":"One explainer page, written in English and in Italian, with its questions and answers.","response":"A page with the article and its questions, in the language of the address, with an Article, a FAQPage and a BreadcrumbList in JSON-LD.","parameters":[{"name":"slug","description":"The page: public-key-directory, veil-vs-keybase, veil-vs-keyoxide, veil-vs-pgp-keyservers, verify-a-discord-account, release-signing, for-organizations or for-communities. Any other slug is the 404 page.","in":"path","required":true},{"name":"lang","description":"en or it. English is the default.","in":"query","required":false}],"sample":"/learn/public-key-directory","access":"public","base":"directory","notes":["An unknown slug answers 404 with the error page and noindex."],"errors":["404 not_found","429 rate_limited","500 internal_error","503 busy"],"related":["learn-index","sitemap"],"sections":[{"kind":"code","language":"shell","code":"curl -fsS 'https://veil.pub/learn/public-key-directory'"}],"live":false,"responses":[{"status":200,"contentType":"text/html","description":"A page with the article and its questions, in the language of the address, with an Article, a FAQPage and a BreadcrumbList in JSON-LD.","fields":[]}],"responseObjects":[],"errorFormat":"json","errorDetails":[{"status":404,"code":"not_found","description":"No explainer page has this slug. A browser gets the HTML error page.","action":"Use a slug from GET /learn.","scope":"endpoint"},{"status":429,"code":"rate_limited","description":"An anonymous, signed-request or API-key allowance was exceeded.","action":"Wait at least `Retry-After` seconds. Share a queue and retry budget across your workers.","scope":"common"},{"status":500,"code":"internal_error","description":"An unexpected server error occurred. Internal details are not returned.","action":"Retry reads with bounded backoff. Check write results before sending a new signed operation.","scope":"common"},{"status":503,"code":"busy","description":"The application has reached a temporary concurrency or database limit.","action":"Wait `Retry-After` seconds and retry with bounded backoff.","scope":"common"}],"responseHeaders":[{"name":"Content-Type","value":"text/html","description":"Use the declared media type before choosing a parser."},{"name":"Date","value":"HTTP date","description":"Server time. Compare it with your clock when signing requests."},{"name":"Retry-After","value":"integer seconds, on rate_limited or busy","description":"Wait at least this long before retrying. Other 429/503 codes do not necessarily include it."}],"documentationUrl":"https://veil.pub/docs/learn-page","supportsBrowserFetch":false,"browserMode":"navigation"}}