1"use strict";(globalThis.webpackChunkdawarich_app=globalThis.webpackChunkdawarich_app||[]).push([[321],{58114(e,t,i){i.r(t),i.d(t,{assets:()=>v,contentTitle:()=>b,default:()=>V,frontMatter:()=>h,metadata:()=>s,toc:()=>P});const s=JSON.parse('{"id":"api/lists-all-yearly-digests","title":"Lists all yearly digests","description":"Returns all yearly digests for the authenticated user and available years for generation","source":"@site/docs/api/lists-all-yearly-digests.api.mdx","sourceDirName":"api","slug":"/api/lists-all-yearly-digests","permalink":"/docs/api/lists-all-yearly-digests","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"lists-all-yearly-digests","title":"Lists all yearly digests","description":"Returns all yearly digests for the authenticated user and available years for generation","sidebar_label":"Lists all yearly digests","hide_title":true,"hide_table_of_contents":true,"api":"eJy1VVFv20YM/isHPrWAVjvbnvSWrUNXbBiCLsMwBEFBS7TF5nSn8ii1nqD/XvBkx4odbMWAPdmnI7+PR34kR1DcJSjv4DXvKGmC+wJqSpVwpxwDlPCOtJeQHHrv9oTi966ebd02itOGHPbaUFCuUKl2fSJxGGqHA7LHjafsN5vvKJBghi6gQ8GWlMQiGCFgS1ACdvz+gfZQABv/x57EDkIfexaqoVTp6TzK65u37pfslKqGWoRyBN13hpdUOOxgmu4NJHUxJEp2/+16bT9PgU5v60MNBVQxKAU1Q+w6b2/kGFYfklmPl2xx84EqtcdJ7EiUZ64D7MIQRdDifUr/Kyd1cXuWacuFUpv+ncf8FlYclHYkFzS3zVwUo7IKzjwwFVBzUgwVfQ1IVPTu6OA4uEMxJ0tbH1SY0o/25yvAfuvbDeV4Hl3dwImV6ozH+t/Ast8TJCGT6bVeSqSAbZQW1WSASt8ot3SB/WdDYZEz9wnTUdVGME1TAY/K/8uE/0zRz6t5fMh0zpYBFp1kPXQgPrWSexGio8+clMPueL0nfZnDsYC+X19dSr0P1rhR+O8ceAEtaRNrKGFHWVmoDZSwwo5Xw9XqpMVEMhybthcPJTSqXblajTVtsff6c0w6QQEDClvYcwuc7hZHKMHHCn0Tk5bfrddri/neOKpeWPe/W4PNAMfBsEhnx3PT//PouBwVD7R3HaZEtcPk0GVL9ziPrA4bQiF5bylaMNpDj0PGzrPVBccP+bPT+EBhOR7t1jLNYRszKqs3mNf4CYWrxl3fvLW8kaQZaLh6Nn6TwdGncPvYi9viEIWVHHolCag8kNPo3sS48+RuuSXPgV65G4kD15QchbqLHA6DvMWAO9OPlSOrqkbFwqlg9ZCKuYVS4ZKimtKqVOQp30ahV5awLiZtMU/FQzlsmD23OM6fNJ6m7P+5bg4lVPqsq84jB4s663c8aP3OFGT5z1k/bcQma/YOxnGDif4QP032edaXdUHNyZhrKLfo0/l2Wr7vxbvDHnvpTjvr2ciy1BeSHtD3ZgXWHsfOgvLufiqgIaxJciiz23VVUacLr4vlZSiPDf/mp1uYpi/bJdAq","sidebar_class_name":"get api-method","info_path":"docs/api/dawarich-api","custom_edit_url":null},"sidebar":"apiSidebar","previous":{"title":"Get visited cities by date range","permalink":"/docs/api/get-visited-cities-by-date-range"},"next":{"title":"Generates a yearly digest","permalink":"/docs/api/generates-a-yearly-digest"}}');var a=i(74848),r=i(28453),l=i(57742),n=i.n(l),d=i(78178),o=i.n(d),c=i(19624),p=i.n(c),u=i(96226),g=i.n(u),f=(i(77675),i(19365),i(51107)),y=i(21312);const h={id:"lists-all-yearly-digests",title:"Lists all yearly digests",description:"Returns all yearly digests for the authenticated user and available years for generation",sidebar_label:"Lists all yearly digests",hide_title:!0,hide_table_of_contents:!0,api:"eJy1VVFv20YM/isHPrWAVjvbnvSWrUNXbBiCLsMwBEFBS7TF5nSn8
1ii1nqD/XvBkx4odbMWAPdmnI7+PR34kR1DcJSjv4DXvKGmC+wJqSpVwpxwDlPCOtJeQHHrv9oTi966ebd02itOGHPbaUFCuUKl2fSJxGGqHA7LHjafsN5vvKJBghi6gQ8GWlMQiGCFgS1ACdvz+gfZQABv/x57EDkIfexaqoVTp6TzK65u37pfslKqGWoRyBN13hpdUOOxgmu4NJHUxJEp2/+16bT9PgU5v60MNBVQxKAU1Q+w6b2/kGFYfklmPl2xx84EqtcdJ7EiUZ64D7MIQRdDifUr/Kyd1cXuWacuFUpv+ncf8FlYclHYkFzS3zVwUo7IKzjwwFVBzUgwVfQ1IVPTu6OA4uEMxJ0tbH1SY0o/25yvAfuvbDeV4Hl3dwImV6ozH+t/Ast8TJCGT6bVeSqSAbZQW1WSASt8ot3SB/WdDYZEz9wnTUdVGME1TAY/K/8uE/0zRz6t5fMh0zpYBFp1kPXQgPrWSexGio8+clMPueL0nfZnDsYC+X19dSr0P1rhR+O8ceAEtaRNrKGFHWVmoDZSwwo5Xw9XqpMVEMhybthcPJTSqXblajTVtsff6c0w6QQEDClvYcwuc7hZHKMHHCn0Tk5bfrddri/neOKpeWPe/W4PNAMfBsEhnx3PT//PouBwVD7R3HaZEtcPk0GVL9ziPrA4bQiF5bylaMNpDj0PGzrPVBccP+bPT+EBhOR7t1jLNYRszKqs3mNf4CYWrxl3fvLW8kaQZaLh6Nn6TwdGncPvYi9viEIWVHHolCag8kNPo3sS48+RuuSXPgV65G4kD15QchbqLHA6DvMWAO9OPlSOrqkbFwqlg9ZCKuYVS4ZKimtKqVOQp30ahV5awLiZtMU/FQzlsmD23OM6fNJ6m7P+5bg4lVPqsq84jB4s663c8aP3OFGT5z1k/bcQma/YOxnGDif4QP032edaXdUHNyZhrKLfo0/l2Wr7vxbvDHnvpTjvr2ciy1BeSHtD3ZgXWHsfOgvLufiqgIaxJciiz23VVUacLr4vlZSiPDf/mp1uYpi/bJdAq",sidebar_class_name:"get api-method",info_path:"docs/api/dawarich-api",custom_edit_url:null},b=void 0,v={},P=[];function m(e){const t={p:"p",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.default,{as:"h1",className:"openapi__heading",children:"Lists all yearly digests"}),"\n",(0,a.jsx)(n(),{method:"get",path:"/api/v1/digests",context:"endpoint"}),"\n",(0,a.jsx)(t.p,{children:"Returns all yearly digests for the authenticated user and available years for generation"}),"\n",(0,a.jsx)(f.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,a.jsx)(y.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,a.jsx)(o(),{...i(61585)}),"\n",(0,a.jsx)(p(),{...i(76075)}),"\n",(0,a.jsx)(g(),{...i(85341)})]})}function V(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(m,{...e})}):m(e)}},53381(e,t,i){i.r(t),i.d(t,{ResponseHeaders:()=>n,default:()=>d});i(96540);var s=i(60674),a=i.n(s),r=i(67114),l=i(74848);const n=({responseHeaders:e})=>e?(0,l.jsx)("ul",{style:{marginLeft:"1rem"},children:Object.entries(e).map(([e,t])=>(0,l.jsx)(a(),{name:e,collapsible:!1,schemaName:(0,r.getSchemaName)(t),qualifierMessage:(0,r.getQualifierMessage)(t),schema:t,discriminator:!1,children:null},e))}):null,d=n},61585(e){e.exports=JSON.parse('{"parameters":[{"name":"api_key","in":"query","required":true,"description":"API Key","schema":{"type":"string"}}]}')},76075(e){e.exports={title:"Body"}},85341(e){e.exports=JSON.parse('{"responses":{"200":{"description":"digests found","content":{"application/json":{"schema":{"type":"object","properties":{"digests":{"type":"array","description":"List of yearly digests","items":{"type":"object","properties":{"year":{"type":"integer","description":"The year of the digest"},"distance":{"type":"integer","description":"Total distance in meters"},"countriesCount":{"type":"integer","description":"Number of countries visited"},"citiesCount":{"type":"integer","description":"Number of cities visited"},"createdAt":{"type":"string","format":"date-time","description":"When the digest was generated"}}}},"availableYears":{"type":"array","items":{"type":"integer"},"description":"Years available for digest generation (no existing digest yet)"}}}}}},"401":{"description":"unauthorized"}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.