[{"data":1,"prerenderedAt":244},["ShallowReactive",2],{"page-/post/memos/memos-apis":3,"surrounding-page":235},{"id":4,"title":5,"author":6,"body":7,"date":224,"description":225,"extension":226,"group":6,"lastmod":227,"meta":228,"navigation":229,"path":230,"rawbody":231,"seo":232,"showTitle":5,"stem":233,"tags":6,"versions":6,"__hash__":234},"content/post/Memos/Memos-Apis.md","Memos Apis",null,{"type":8,"value":9,"toc":221},"minimark",[10,18,23,29,100,105,217],[11,12,13,14],"p",{},"注意：Memos版本为： ",[15,16,17],"code",{},"V0.22.4",[19,20,22],"h3",{"id":21},"get-apiv1memosfilter","GET: /api/v1/memos?filter=",[11,24,25],{},[26,27,28],"strong",{},"Spelling the string directly may not succeed. I suggest requesting in the following way.",[30,31,36],"pre",{"className":32,"code":33,"language":34,"meta":35,"style":35},"language-typescript shiki shiki-themes github-light","const filterValue = \"creator=='users/1'&&tag_search==['Blog']&&visibilities==['PUBLIC', 'PROTECTED']&&limit==30\";\nconst encodedFilterValue = encodeURIComponent(filterValue);\nconst url = `https://example.com/api/v1/memos?filter=${encodedFilterValue}`;\n","typescript","",[15,37,38,62,79],{"__ignoreMap":35},[39,40,43,47,51,54,58],"span",{"class":41,"line":42},"line",1,[39,44,46],{"class":45},"sD7c4","const",[39,48,50],{"class":49},"sYu0t"," filterValue",[39,52,53],{"class":45}," =",[39,55,57],{"class":56},"sYBdl"," \"creator=='users/1'&&tag_search==['Blog']&&visibilities==['PUBLIC', 'PROTECTED']&&limit==30\"",[39,59,61],{"class":60},"sgsFI",";\n",[39,63,65,67,70,72,76],{"class":41,"line":64},2,[39,66,46],{"class":45},[39,68,69],{"class":49}," encodedFilterValue",[39,71,53],{"class":45},[39,73,75],{"class":74},"s7eDp"," encodeURIComponent",[39,77,78],{"class":60},"(filterValue);\n",[39,80,82,84,87,89,92,95,98],{"class":41,"line":81},3,[39,83,46],{"class":45},[39,85,86],{"class":49}," url",[39,88,53],{"class":45},[39,90,91],{"class":56}," `https://example.com/api/v1/memos?filter=${",[39,93,94],{"class":60},"encodedFilterValue",[39,96,97],{"class":56},"}`",[39,99,61],{"class":60},[11,101,102],{},[26,103,104],{},"it's all about query params ↓",[30,106,110],{"className":107,"code":108,"language":109,"meta":35,"style":35},"language-go shiki shiki-themes github-light","var MemoFilterCELAttributes = []cel.EnvOption{\n    cel.Variable(\"content_search\", cel.ListType(cel.StringType)),\n    cel.Variable(\"visibilities\", cel.ListType(cel.StringType)),\n    cel.Variable(\"tag_search\", cel.ListType(cel.StringType)),\n    cel.Variable(\"order_by_pinned\", cel.BoolType),\n    cel.Variable(\"display_time_before\", cel.IntType),\n    cel.Variable(\"display_time_after\", cel.IntType),\n    cel.Variable(\"creator\", cel.StringType),\n    cel.Variable(\"uid\", cel.StringType),\n    cel.Variable(\"row_status\", cel.StringType),\n    cel.Variable(\"random\", cel.BoolType),\n    cel.Variable(\"limit\", cel.IntType),\n    cel.Variable(\"include_comments\", cel.BoolType),\n    cel.Variable(\"has_link\", cel.BoolType),\n    cel.Variable(\"has_task_list\", cel.BoolType),\n    cel.Variable(\"has_code\", cel.BoolType),\n    cel.Variable(\"has_incomplete_tasks\", cel.BoolType),\n}\n","go",[15,111,112,117,122,127,133,139,145,151,157,163,169,175,181,187,193,199,205,211],{"__ignoreMap":35},[39,113,114],{"class":41,"line":42},[39,115,116],{},"var MemoFilterCELAttributes = []cel.EnvOption{\n",[39,118,119],{"class":41,"line":64},[39,120,121],{},"    cel.Variable(\"content_search\", cel.ListType(cel.StringType)),\n",[39,123,124],{"class":41,"line":81},[39,125,126],{},"    cel.Variable(\"visibilities\", cel.ListType(cel.StringType)),\n",[39,128,130],{"class":41,"line":129},4,[39,131,132],{},"    cel.Variable(\"tag_search\", cel.ListType(cel.StringType)),\n",[39,134,136],{"class":41,"line":135},5,[39,137,138],{},"    cel.Variable(\"order_by_pinned\", cel.BoolType),\n",[39,140,142],{"class":41,"line":141},6,[39,143,144],{},"    cel.Variable(\"display_time_before\", cel.IntType),\n",[39,146,148],{"class":41,"line":147},7,[39,149,150],{},"    cel.Variable(\"display_time_after\", cel.IntType),\n",[39,152,154],{"class":41,"line":153},8,[39,155,156],{},"    cel.Variable(\"creator\", cel.StringType),\n",[39,158,160],{"class":41,"line":159},9,[39,161,162],{},"    cel.Variable(\"uid\", cel.StringType),\n",[39,164,166],{"class":41,"line":165},10,[39,167,168],{},"    cel.Variable(\"row_status\", cel.StringType),\n",[39,170,172],{"class":41,"line":171},11,[39,173,174],{},"    cel.Variable(\"random\", cel.BoolType),\n",[39,176,178],{"class":41,"line":177},12,[39,179,180],{},"    cel.Variable(\"limit\", cel.IntType),\n",[39,182,184],{"class":41,"line":183},13,[39,185,186],{},"    cel.Variable(\"include_comments\", cel.BoolType),\n",[39,188,190],{"class":41,"line":189},14,[39,191,192],{},"    cel.Variable(\"has_link\", cel.BoolType),\n",[39,194,196],{"class":41,"line":195},15,[39,197,198],{},"    cel.Variable(\"has_task_list\", cel.BoolType),\n",[39,200,202],{"class":41,"line":201},16,[39,203,204],{},"    cel.Variable(\"has_code\", cel.BoolType),\n",[39,206,208],{"class":41,"line":207},17,[39,209,210],{},"    cel.Variable(\"has_incomplete_tasks\", cel.BoolType),\n",[39,212,214],{"class":41,"line":213},18,[39,215,216],{},"}\n",[218,219,220],"style",{},"html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":35,"searchDepth":64,"depth":64,"links":222},[223],{"id":21,"depth":81,"text":22},"2024-08-15T00:00:00.000Z","注意：Memos版本为： V0.22.4","md","2025-08-19T00:00:00.000Z",{},true,"/post/memos/memos-apis","---\ntitle: Memos Apis\ndate: 2024-08-15\nlastmod: 2025-08-19\nshowTitle: Memos Apis\n---\n注意：Memos版本为： `V0.22.4`\n###   GET: /api/v1/memos?filter=\n\n**Spelling the string directly may not succeed. I suggest requesting in the following way.**\n\n```typescript\nconst filterValue = \"creator=='users/1'&&tag_search==['Blog']&&visibilities==['PUBLIC', 'PROTECTED']&&limit==30\";\nconst encodedFilterValue = encodeURIComponent(filterValue);\nconst url = `https://example.com/api/v1/memos?filter=${encodedFilterValue}`;\n```\n\n**it's all about query params ↓**\n```go\nvar MemoFilterCELAttributes = []cel.EnvOption{\n\tcel.Variable(\"content_search\", cel.ListType(cel.StringType)),\n\tcel.Variable(\"visibilities\", cel.ListType(cel.StringType)),\n\tcel.Variable(\"tag_search\", cel.ListType(cel.StringType)),\n\tcel.Variable(\"order_by_pinned\", cel.BoolType),\n\tcel.Variable(\"display_time_before\", cel.IntType),\n\tcel.Variable(\"display_time_after\", cel.IntType),\n\tcel.Variable(\"creator\", cel.StringType),\n\tcel.Variable(\"uid\", cel.StringType),\n\tcel.Variable(\"row_status\", cel.StringType),\n\tcel.Variable(\"random\", cel.BoolType),\n\tcel.Variable(\"limit\", cel.IntType),\n\tcel.Variable(\"include_comments\", cel.BoolType),\n\tcel.Variable(\"has_link\", cel.BoolType),\n\tcel.Variable(\"has_task_list\", cel.BoolType),\n\tcel.Variable(\"has_code\", cel.BoolType),\n\tcel.Variable(\"has_incomplete_tasks\", cel.BoolType),\n}\n```\n\n",{"title":5,"description":225},"post/Memos/Memos-Apis","WroruiFNUUU9LGeoIxNHmzmlkHISFti_S62CUtj7Lp4",[236,240],{"title":237,"path":238,"stem":239},"OpenClaw 安装入门（Windows）","/post/zzao/openclaw/openclaw-install-windows","post/zzao/openclaw/openclaw-install-windows",{"title":241,"path":242,"stem":243},"假设你是AI，你的Skill应该是什么样的","/post/zzao/ai-skill-structure","post/zzao/ai-skill-structure",1779005086749]