官方源码见:https://github.com/usememos/memos/tree/main/server

Memos 条数

路径:api/memo/amount

总条数

https://me.edui.fun/api/memo/amount

结果:

远程获取内容失败,请检查 API 有效性。

指定用户

参数:userIdopenId

早期个人的ID为 101 ,现在新创建默认为 1

https://me.edui.fun/api/memo/amount?userId=102

结果:

远程获取内容失败,请检查 API 有效性。

有了总条数,前端可以自行做分页加载处理。

时间戳列表

路径:api/memo/stats

指定用户(必选)

参数:creatorId

https://me.edui.fun/api/memo/stats?creatorId=101

结果:

{"data":[1685231944,1685157784,1685098037,1685020518,1684932657,1684764167,1684732115,1684626494,1684383567,1684161962,1684150348,1684144988,1684069701,1684065754,1684024136,1683969664,1683893228,1683600684,1683448407,1683440915,1683432314,1683428111,1683372594,1683208511,1683116717,1683103301,1683085955,1683042878,1683041690,1683041146,1683040491,1683040046,1683037820,1683017197,1682903667,1682761896,1682758167,1682735339,1682598502,1682516341,1682510443,1682507060,1682341186,1682267089,1682262670,1682256926,1682150090,1682144987,1682127639,1682122981,1682006205,1681992589,1681826929,1681819588,1681817399,1681749543,1681745400,1681743908,1681662169,1681658359,1681657462,1681654742,1681646371,1681623992,1681611421,1681561280,1681547297,1681541422,1681532486,1681523505,1681451782,1681450265,1681393579,1680926455,1680921919,1680659870,1680577897,1680513442,1680363066,1680266284,1680260160,1680091144,1680004458,1679816809,1679803028,1679796416,1679793112,1679727221,1679719630,1679704780,1679194083,1679061360,1678963485,1678802752,1678799842,1678795760,1678614757,1678551539,1678541508,1678531981,1678370985,1677982907,1677944791,1677901870,1677889291,1677860986,1677672895,1677509756,1677428639,1677417507,1677383495,1677331121,1677316466,1677305170,1676776734,1676631573,1676470266,1676462980,1676377601,1676263144,1676208000,1676207292,1676172019,1676104898,1676079514,1675866684,1675866636,1675784274,1675771216,1675735722,1675688684,1675684569,1675676465,1675660361,1675582029,1675508158,1675481879,1675396865,1675347385,1675344357,1675344207,1675344101,1675343744,1675323173,1675213812,1674814694,1674807923,1674802299,1674782417,1674653445,1674626177,1674398311,1674392665,1674375476,1674288012,1674225387,1674214548,1674094470,1674059250,1673960056,1673699125,1673695175,1673660577,1673601115,1673440420,1673436680,1673353709,1673334779,1673328479,1673228828,1673080340,1673071967,1673069253,1672983314,1672907099,1672743140,1672731242,1672661847,1672560273,1672327741,1672285153,1672214072,1672210502,1672124895,1672051956,1672051590,1671955616,1671805540,1671804493,1671803816,1671801177,1671787141,1671678859,1671612683,1671600775,1671537947,1671537091,1671451440,1671326369,1671196643,1671170904,1670944183,1670760287,1670748244,1670745127,1670741581,1670732070,1670636957,1670455041,1670336795,1670249408,1670166775,1670155833,1670121251,1670116947,1670049364,1670048525,1670027806,1669992238,1669898424,1669732444,1669613187,1669554869,1669547751,1669511231,1669475795,1669462804,1669428179,1669346560,1669300715,1669297138,1669291410,1669214256,1669202093,1669170555,1668948661,1668930815,1668930294,1668871211,1668865981,1668823340,1668689983,1668415056,1668317502,1668314270,1668260458,1668255375,1668175705,1668151415,1668140491,1668133743,1668131147,1668130896,1668118620,1668085610,1668078702,1667907891,1667879418,1667718108,1667645276,1667313533,1667101955,1667006273,1666842866,1666787040,1666487864,1666412487,1666360118,1666359836,1666350792,1666192276,1665965669,1665932460,1665924900,1665908416,1665904984,1665895334,1665888981,1665878843,1665849304,1665835205,1665816662,1665809972,1665808867,1665802951,1665719317,1665674157,1665651512,1665574952,1665542355,1665540169,1665499550,1665408201,1665324386,1665241429,1665218306,1665154278,1665149075,1665147572,1665132938,1665108193,1665073242,1665063063,1665053774,1665049356,1665048731,1664981401,1664962186,1664852645,1664638023,1664028948,1663480061,1663426595,1663232747,1663202464,1663058709,1662815081,1662787812,1662786969,1662645930,1662641144,1662637019]}

做个格子图?

RSS 输出接口

路径:/u/:id/rss.xml

Memos 列表

路径: /memo/memo/all

前者需要指定参数 creatorId

总列表

https://demo.usememos.com/api/memo?creatorId=101
https://demo.usememos.com/api/memo/all

指定标签

参数:tag

https://me.edui.fun/api/memo?creatorId=101&tag=相册
https://me.edui.fun/api/memo/all?tag=相册

结果:

{"data":[{"content":"#相册 校园一景","createdTs":1684732115,"creatorId":101,"creatorName":"林木木","id":1580,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1684732115,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_7542.jpeg","filename":"IMG_7542.jpeg","id":249,"internalPath":"","linkedMemoAmount":1,"publicId":"f7c8c1ae-f5ba-4f57-8bdc-366e5dc2cf9a","size":445702,"type":"image/jpeg","updatedTs":1684732115}],"rowStatus":"NORMAL","updatedTs":1684732115,"visibility":"PUBLIC"},{"content":"#相册 堵在东钱湖","createdTs":1683041690,"creatorId":101,"creatorName":"林木木","id":1557,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4902_202305022333.jpeg","filename":"IMG_4902_202305022333.jpeg","id":232,"internalPath":"","linkedMemoAmount":1,"publicId":"dbceff85-edc0-4ad1-9c3f-c360da86218a","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4899_202305022333.jpeg","filename":"IMG_4899_202305022333.jpeg","id":233,"internalPath":"","linkedMemoAmount":1,"publicId":"97662b72-3472-4249-a837-9646d70cf671","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4907_202305022334.jpeg","filename":"IMG_4907_202305022334.jpeg","id":234,"internalPath":"","linkedMemoAmount":1,"publicId":"6adeeae6-f9d7-43f4-b91d-b494237e49b1","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4926_202305022334.jpeg","filename":"IMG_4926_202305022334.jpeg","id":235,"internalPath":"","linkedMemoAmount":1,"publicId":"b05b96ce-8d3c-4f1f-98c8-174750985dfa","size":0,"type":"image/jpeg","updatedTs":1683041724}],"rowStatus":"NORMAL","updatedTs":1683041724,"visibility":"PUBLIC"},{"content":"#相册 东钱湖十里四香的夕阳","createdTs":1683041146,"creatorId":101,"creatorName":"林木木","id":1556,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1683041146,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4922_202305022324.jpeg","filename":"IMG_4922_202305022324.jpeg","id":231,"internalPath":"","linkedMemoAmount":1,"publicId":"59011eca-bfcb-4877-90ad-a1d76b8e298e","size":0,"type":"image/jpeg","updatedTs":1683041146}],"rowStatus":"NORMAL","updatedTs":1683041146,"visibility":"PUBLIC"},{"content":"#相册 文化广场,城市夕阳","createdTs":1682903667,"creatorId":101,"creatorName":"林木木","id":1551,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1682903667,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4854_202305010913.jpeg","filename":"IMG_4854_202305010913.jpeg","id":230,"internalPath":"","linkedMemoAmount":1,"publicId":"ccb09411-483a-4e20-a5dd-e24bf3e971aa","size":0,"type":"image/jpeg","updatedTs":1682903667}],"rowStatus":"NORMAL","updatedTs":1682903667,"visibility":"PUBLIC"},{"content":"#相册 花花世界","createdTs":1682598502,"creatorId":101,"creatorName":"林木木","id":1546,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1682598502,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/IMG_4774_202304272028.jpeg","filename":"IMG_4774_202304272028.jpeg","id":228,"internalPath":"","linkedMemoAmount":1,"publicId":"e4a27813-fee3-4804-88c9-eefca9d8236f","size":0,"type":"image/jpeg","updatedTs":1682598502},{"createdTs":1682598502,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/IMG_4773_202304272028.jpeg","filename":"IMG_4773_202304272028.jpeg","id":229,"internalPath":"","linkedMemoAmount":1,"publicId":"45614cdd-66ac-40e4-af22-d6d381963def","size":0,"type":"image/jpeg","updatedTs":1682598502}],"rowStatus":"NORMAL","updatedTs":1682598502,"visibility":"PUBLIC"},{"content":"#相册 东钱湖的暮色湖景","createdTs":1681561280,"creatorId":101,"creatorName":"林木木","id":1512,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1681561280,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/3D6FAD13-28CF-45AE-9E1D-3F9281B72B29_202304152020.jpeg","filename":"3D6FAD13-28CF-45AE-9E1D-3F9281B72B29_202304152020.jpeg","id":218,"internalPath":"","linkedMemoAmount":1,"publicId":"f7da1d4a-827b-42d9-a2d2-d257e9f8264b","size":0,"type":"image/jpeg","updatedTs":1681561280}],"rowStatus":"NORMAL","updatedTs":1681561280,"visibility":"PUBLIC"},{"content":"#相册 大灶烤菜年糕!","createdTs":1680926455,"creatorId":101,"creatorName":"林木木","id":1501,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1680926455,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/253717F2-1C85-4D5D-A28F-5A4A0812DE39_202304081200.jpeg","filename":"253717F2-1C85-4D5D-A28F-5A4A0812DE39_202304081200.jpeg","id":215,"internalPath":"","linkedMemoAmount":1,"publicId":"cc317a0e-c43d-40bc-b275-9d14eed882e9","size":0,"type":"image/jpeg","updatedTs":1680926455}],"rowStatus":"NORMAL","updatedTs":1680926455,"visibility":"PUBLIC"},{"content":"#相册 春色","createdTs":1678799842,"creatorId":101,"creatorName":"林木木","id":1473,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/B9D48FF9-1F35-4AF2-A8F6-31AE38BEA4BB_202303142115.jpeg.image/jpeg","filename":"B9D48FF9-1F35-4AF2-A8F6-31AE38BEA4BB_202303142115.jpeg","id":198,"internalPath":"","linkedMemoAmount":1,"publicId":"a79ddcaa-0228-bae9-fccb-18c922283bde","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/86E7ADA1-267C-4542-87C9-D83142458F45_202303142115.jpeg.image/jpeg","filename":"86E7ADA1-267C-4542-87C9-D83142458F45_202303142115.jpeg","id":199,"internalPath":"","linkedMemoAmount":1,"publicId":"2e39d564-02ed-8e7d-4ac7-61f3853bd85d","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/84B2CC90-E260-4738-9225-743E0FD29B23_202303142116.jpeg.image/jpeg","filename":"84B2CC90-E260-4738-9225-743E0FD29B23_202303142116.jpeg","id":200,"internalPath":"","linkedMemoAmount":1,"publicId":"cff84acb-8a9e-ebb2-0d0d-2dd7337b2a4a","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/D2990C1E-773B-49A0-BD45-7D7393947D65_202303142116.jpeg.image/jpeg","filename":"D2990C1E-773B-49A0-BD45-7D7393947D65_202303142116.jpeg","id":201,"internalPath":"","linkedMemoAmount":1,"publicId":"f6a0ef92-d719-ca3e-c2ff-2d7499fe0fda","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/7CB2C6D1-3B52-4977-83C9-F1FF0F026EB0_202303142117.jpeg.image/jpeg","filename":"7CB2C6D1-3B52-4977-83C9-F1FF0F026EB0_202303142117.jpeg","id":202,"internalPath":"","linkedMemoAmount":1,"publicId":"d820c45d-21dd-7238-f0a1-e5bc85a771c8","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/AC250452-EB37-42FB-81EE-7650F33AC9A2.jpeg.image/jpeg","filename":"AC250452-EB37-42FB-81EE-7650F33AC9A2.jpeg","id":203,"internalPath":"","linkedMemoAmount":1,"publicId":"df81f67a-95ba-317c-cd36-2c7a4f91345b","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/6E1F0B09-7FD0-4153-88F5-8A166F45F1D5.jpeg.image/jpeg","filename":"6E1F0B09-7FD0-4153-88F5-8A166F45F1D5.jpeg","id":204,"internalPath":"","linkedMemoAmount":1,"publicId":"0f6f42f0-b0ce-733c-e9fa-da92d9b5a97a","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/0A06933C-BBBA-4306-B15A-BA9A7E888320.jpeg.image/jpeg","filename":"0A06933C-BBBA-4306-B15A-BA9A7E888320.jpeg","id":205,"internalPath":"","linkedMemoAmount":1,"publicId":"81af92a1-0222-12be-31bd-828f339ab8b7","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/9194ADB5-DB2D-4663-B767-5E42F9AF1EA0.jpeg.image/jpeg","filename":"9194ADB5-DB2D-4663-B767-5E42F9AF1EA0.jpeg","id":206,"internalPath":"","linkedMemoAmount":1,"publicId":"a1b927c0-ff15-5e5f-7793-d9b36acc87bb","size":0,"type":"image/jpeg","updatedTs":1678800372}],"rowStatus":"NORMAL","updatedTs":1678800372,"visibility":"PUBLIC"},{"content":"#相册 刷黑暗荣耀,吃韩国烤肉!啧、啧啧","createdTs":1678531981,"creatorId":101,"creatorName":"林木木","id":1465,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1678531981,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/78A5F936-023C-4688-84D9-2B03FC8E16D5.jpeg","filename":"78A5F936-023C-4688-84D9-2B03FC8E16D5.jpeg","id":194,"internalPath":"","linkedMemoAmount":1,"publicId":"5a257c31-55b2-461d-0c9f-3d41cd4f4da2","size":0,"type":"image/jpeg","updatedTs":1678531981},{"createdTs":1678531981,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/DB017C58-77B5-4672-BE84-7AF4BABE7382.jpeg","filename":"DB017C58-77B5-4672-BE84-7AF4BABE7382.jpeg","id":195,"internalPath":"","linkedMemoAmount":1,"publicId":"a101380d-3aad-d721-8f27-19f31e9462c2","size":0,"type":"image/jpeg","updatedTs":1678531981}],"rowStatus":"NORMAL","updatedTs":1678531981,"visibility":"PUBLIC"},{"content":"#相册 春芽","createdTs":1677316466,"creatorId":101,"creatorName":"林木木","id":1419,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1677316466,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-1.JPG","filename":"0225-zhongzi-1.JPG","id":181,"internalPath":"","linkedMemoAmount":1,"publicId":"7deaad95-d605-2203-52ab-2fb0f16a1bd3","size":0,"type":"image/jpeg","updatedTs":1677316766},{"createdTs":1677316766,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-2.JPG","filename":"0225-zhongzi-2.JPG","id":182,"internalPath":"","linkedMemoAmount":1,"publicId":"c0f32353-d16a-1fdd-52ae-f1cc601a0376","size":0,"type":"image/jpeg","updatedTs":1677316766},{"createdTs":1677316766,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-3.JPG","filename":"0225-zhongzi-3.JPG","id":183,"internalPath":"","linkedMemoAmount":1,"publicId":"bb0d4ab8-c7dd-ef7d-6ca7-a035dc0ef9e9","size":0,"type":"image/jpeg","updatedTs":1677316766}],"rowStatus":"NORMAL","updatedTs":1677316766,"visibility":"PUBLIC"},{"content":"#相册 兔子折纸 🎉","createdTs":1675688684,"creatorId":101,"creatorName":"林木木","id":1392,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675688684,"creatorId":101,"externalLink":"","filename":"D2A9D694-A88A-4364-9E8E-F24F4F884EE2.jpeg","id":175,"internalPath":"","linkedMemoAmount":1,"publicId":"6cd8d670-be26-7b2f-e6be-0353db1ba7e7","size":64760,"type":"image/jpeg","updatedTs":1676134494}],"rowStatus":"NORMAL","updatedTs":1676134494,"visibility":"PUBLIC"},{"content":"#相册 大上海之大!","createdTs":1675347385,"creatorId":101,"creatorName":"林木木","id":1366,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675347385,"creatorId":101,"externalLink":"","filename":"IMG_6526.jpg","id":173,"internalPath":"","linkedMemoAmount":1,"publicId":"51670831-20b5-ea6d-a46c-f6f0677068eb","size":280338,"type":"image/jpeg","updatedTs":1675347385}],"rowStatus":"NORMAL","updatedTs":1675347385,"visibility":"PUBLIC"},{"content":"#相册 惠山古镇特色小吃桂花糕","createdTs":1675344357,"creatorId":101,"creatorName":"林木木","id":1365,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344357,"creatorId":101,"externalLink":"","filename":"IMG_6400.jpg","id":171,"internalPath":"","linkedMemoAmount":1,"publicId":"6a9791f6-244a-0124-5a44-f02e2f8ded12","size":225647,"type":"image/jpeg","updatedTs":1675344357},{"createdTs":1675344357,"creatorId":101,"externalLink":"","filename":"IMG_6444_1.jpg","id":172,"internalPath":"","linkedMemoAmount":1,"publicId":"f0ed3570-6ffa-289e-30d8-e08ed833c455","size":154961,"type":"image/jpeg","updatedTs":1675344357}],"rowStatus":"NORMAL","updatedTs":1675344357,"visibility":"PUBLIC"},{"content":"#相册 无锡南长街的夜","createdTs":1675344207,"creatorId":101,"creatorName":"林木木","id":1364,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344207,"creatorId":101,"externalLink":"","filename":"IMG_2982_1.jpg","id":170,"internalPath":"","linkedMemoAmount":1,"publicId":"3d75b902-5d93-6691-91b2-e812c607e51b","size":716299,"type":"image/jpeg","updatedTs":1675344207}],"rowStatus":"NORMAL","updatedTs":1675344207,"visibility":"PUBLIC"},{"content":"#相册 鼋头渚喂海鸥","createdTs":1675344101,"creatorId":101,"creatorName":"林木木","id":1363,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344101,"creatorId":101,"externalLink":"","filename":"鼋头渚.jpg","id":169,"internalPath":"","linkedMemoAmount":1,"publicId":"4dc770a3-3784-e44c-02eb-e5b3a6deb8ad","size":169044,"type":"image/jpeg","updatedTs":1675344101}],"rowStatus":"NORMAL","updatedTs":1675344101,"visibility":"PUBLIC"},{"content":"#相册 折腾桌面","createdTs":1675343744,"creatorId":101,"creatorName":"林木木","id":1362,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675343744,"creatorId":101,"externalLink":"","filename":"zhuom.JPG","id":163,"internalPath":"","linkedMemoAmount":2,"publicId":"ab2d91b1-887d-ff51-5931-fe9c499d8410","size":278839,"type":"image/jpeg","updatedTs":1675343780}],"rowStatus":"NORMAL","updatedTs":1675343780,"visibility":"PUBLIC"},{"content":"有光 #相册 ","createdTs":1671787141,"creatorId":101,"creatorName":"林木木","id":1308,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1671787141,"creatorId":101,"externalLink":"","filename":"2F10DF80-899C-411E-B24D-25B81743E92B.jpeg","id":152,"internalPath":"","linkedMemoAmount":1,"publicId":"091bf38d-42ff-1024-f5f3-1d8e1961a21a","size":50392,"type":"image/jpeg","updatedTs":1677330091}],"rowStatus":"NORMAL","updatedTs":1677330091,"visibility":"PUBLIC"},{"content":"不知不觉,小声读书 #相册 ","createdTs":1670944183,"creatorId":101,"creatorName":"林木木","id":1292,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1670944183,"creatorId":101,"externalLink":"","filename":"iShot_2022-12-12_20.22.29.jpg","id":148,"internalPath":"","linkedMemoAmount":1,"publicId":"76f5bc96-78ad-0cd2-040a-a271918038d3","size":174770,"type":"image/jpeg","updatedTs":1677330176}],"rowStatus":"NORMAL","updatedTs":1677330176,"visibility":"PUBLIC"}]}
{"data":[{"content":"#相册 校园一景","createdTs":1684732115,"creatorId":101,"creatorName":"林木木","id":1580,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1684732115,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_7542.jpeg","filename":"IMG_7542.jpeg","id":249,"internalPath":"","linkedMemoAmount":1,"publicId":"f7c8c1ae-f5ba-4f57-8bdc-366e5dc2cf9a","size":445702,"type":"image/jpeg","updatedTs":1684732115}],"rowStatus":"NORMAL","updatedTs":1684732115,"visibility":"PUBLIC"},{"content":"#相册 堵在东钱湖","createdTs":1683041690,"creatorId":101,"creatorName":"林木木","id":1557,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4902_202305022333.jpeg","filename":"IMG_4902_202305022333.jpeg","id":232,"internalPath":"","linkedMemoAmount":1,"publicId":"dbceff85-edc0-4ad1-9c3f-c360da86218a","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4899_202305022333.jpeg","filename":"IMG_4899_202305022333.jpeg","id":233,"internalPath":"","linkedMemoAmount":1,"publicId":"97662b72-3472-4249-a837-9646d70cf671","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4907_202305022334.jpeg","filename":"IMG_4907_202305022334.jpeg","id":234,"internalPath":"","linkedMemoAmount":1,"publicId":"6adeeae6-f9d7-43f4-b91d-b494237e49b1","size":0,"type":"image/jpeg","updatedTs":1683041724},{"createdTs":1683041690,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4926_202305022334.jpeg","filename":"IMG_4926_202305022334.jpeg","id":235,"internalPath":"","linkedMemoAmount":1,"publicId":"b05b96ce-8d3c-4f1f-98c8-174750985dfa","size":0,"type":"image/jpeg","updatedTs":1683041724}],"rowStatus":"NORMAL","updatedTs":1683041724,"visibility":"PUBLIC"},{"content":"#相册 东钱湖十里四香的夕阳","createdTs":1683041146,"creatorId":101,"creatorName":"林木木","id":1556,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1683041146,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4922_202305022324.jpeg","filename":"IMG_4922_202305022324.jpeg","id":231,"internalPath":"","linkedMemoAmount":1,"publicId":"59011eca-bfcb-4877-90ad-a1d76b8e298e","size":0,"type":"image/jpeg","updatedTs":1683041146}],"rowStatus":"NORMAL","updatedTs":1683041146,"visibility":"PUBLIC"},{"content":"#相册 文化广场,城市夕阳","createdTs":1682903667,"creatorId":101,"creatorName":"林木木","id":1551,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1682903667,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_4854_202305010913.jpeg","filename":"IMG_4854_202305010913.jpeg","id":230,"internalPath":"","linkedMemoAmount":1,"publicId":"ccb09411-483a-4e20-a5dd-e24bf3e971aa","size":0,"type":"image/jpeg","updatedTs":1682903667}],"rowStatus":"NORMAL","updatedTs":1682903667,"visibility":"PUBLIC"},{"content":"#相册 花花世界","createdTs":1682598502,"creatorId":101,"creatorName":"林木木","id":1546,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1682598502,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/IMG_4774_202304272028.jpeg","filename":"IMG_4774_202304272028.jpeg","id":228,"internalPath":"","linkedMemoAmount":1,"publicId":"e4a27813-fee3-4804-88c9-eefca9d8236f","size":0,"type":"image/jpeg","updatedTs":1682598502},{"createdTs":1682598502,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/IMG_4773_202304272028.jpeg","filename":"IMG_4773_202304272028.jpeg","id":229,"internalPath":"","linkedMemoAmount":1,"publicId":"45614cdd-66ac-40e4-af22-d6d381963def","size":0,"type":"image/jpeg","updatedTs":1682598502}],"rowStatus":"NORMAL","updatedTs":1682598502,"visibility":"PUBLIC"},{"content":"#相册 东钱湖的暮色湖景","createdTs":1681561280,"creatorId":101,"creatorName":"林木木","id":1512,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1681561280,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/3D6FAD13-28CF-45AE-9E1D-3F9281B72B29_202304152020.jpeg","filename":"3D6FAD13-28CF-45AE-9E1D-3F9281B72B29_202304152020.jpeg","id":218,"internalPath":"","linkedMemoAmount":1,"publicId":"f7da1d4a-827b-42d9-a2d2-d257e9f8264b","size":0,"type":"image/jpeg","updatedTs":1681561280}],"rowStatus":"NORMAL","updatedTs":1681561280,"visibility":"PUBLIC"},{"content":"#相册 大灶烤菜年糕!","createdTs":1680926455,"creatorId":101,"creatorName":"林木木","id":1501,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1680926455,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/04/253717F2-1C85-4D5D-A28F-5A4A0812DE39_202304081200.jpeg","filename":"253717F2-1C85-4D5D-A28F-5A4A0812DE39_202304081200.jpeg","id":215,"internalPath":"","linkedMemoAmount":1,"publicId":"cc317a0e-c43d-40bc-b275-9d14eed882e9","size":0,"type":"image/jpeg","updatedTs":1680926455}],"rowStatus":"NORMAL","updatedTs":1680926455,"visibility":"PUBLIC"},{"content":"#相册 春色","createdTs":1678799842,"creatorId":101,"creatorName":"林木木","id":1473,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/B9D48FF9-1F35-4AF2-A8F6-31AE38BEA4BB_202303142115.jpeg.image/jpeg","filename":"B9D48FF9-1F35-4AF2-A8F6-31AE38BEA4BB_202303142115.jpeg","id":198,"internalPath":"","linkedMemoAmount":1,"publicId":"a79ddcaa-0228-bae9-fccb-18c922283bde","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/86E7ADA1-267C-4542-87C9-D83142458F45_202303142115.jpeg.image/jpeg","filename":"86E7ADA1-267C-4542-87C9-D83142458F45_202303142115.jpeg","id":199,"internalPath":"","linkedMemoAmount":1,"publicId":"2e39d564-02ed-8e7d-4ac7-61f3853bd85d","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/84B2CC90-E260-4738-9225-743E0FD29B23_202303142116.jpeg.image/jpeg","filename":"84B2CC90-E260-4738-9225-743E0FD29B23_202303142116.jpeg","id":200,"internalPath":"","linkedMemoAmount":1,"publicId":"cff84acb-8a9e-ebb2-0d0d-2dd7337b2a4a","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/D2990C1E-773B-49A0-BD45-7D7393947D65_202303142116.jpeg.image/jpeg","filename":"D2990C1E-773B-49A0-BD45-7D7393947D65_202303142116.jpeg","id":201,"internalPath":"","linkedMemoAmount":1,"publicId":"f6a0ef92-d719-ca3e-c2ff-2d7499fe0fda","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678799842,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/7CB2C6D1-3B52-4977-83C9-F1FF0F026EB0_202303142117.jpeg.image/jpeg","filename":"7CB2C6D1-3B52-4977-83C9-F1FF0F026EB0_202303142117.jpeg","id":202,"internalPath":"","linkedMemoAmount":1,"publicId":"d820c45d-21dd-7238-f0a1-e5bc85a771c8","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/AC250452-EB37-42FB-81EE-7650F33AC9A2.jpeg.image/jpeg","filename":"AC250452-EB37-42FB-81EE-7650F33AC9A2.jpeg","id":203,"internalPath":"","linkedMemoAmount":1,"publicId":"df81f67a-95ba-317c-cd36-2c7a4f91345b","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/6E1F0B09-7FD0-4153-88F5-8A166F45F1D5.jpeg.image/jpeg","filename":"6E1F0B09-7FD0-4153-88F5-8A166F45F1D5.jpeg","id":204,"internalPath":"","linkedMemoAmount":1,"publicId":"0f6f42f0-b0ce-733c-e9fa-da92d9b5a97a","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/0A06933C-BBBA-4306-B15A-BA9A7E888320.jpeg.image/jpeg","filename":"0A06933C-BBBA-4306-B15A-BA9A7E888320.jpeg","id":205,"internalPath":"","linkedMemoAmount":1,"publicId":"81af92a1-0222-12be-31bd-828f339ab8b7","size":0,"type":"image/jpeg","updatedTs":1678800372},{"createdTs":1678800372,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/03/9194ADB5-DB2D-4663-B767-5E42F9AF1EA0.jpeg.image/jpeg","filename":"9194ADB5-DB2D-4663-B767-5E42F9AF1EA0.jpeg","id":206,"internalPath":"","linkedMemoAmount":1,"publicId":"a1b927c0-ff15-5e5f-7793-d9b36acc87bb","size":0,"type":"image/jpeg","updatedTs":1678800372}],"rowStatus":"NORMAL","updatedTs":1678800372,"visibility":"PUBLIC"},{"content":"#相册 刷黑暗荣耀,吃韩国烤肉!啧、啧啧","createdTs":1678531981,"creatorId":101,"creatorName":"林木木","id":1465,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1678531981,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/78A5F936-023C-4688-84D9-2B03FC8E16D5.jpeg","filename":"78A5F936-023C-4688-84D9-2B03FC8E16D5.jpeg","id":194,"internalPath":"","linkedMemoAmount":1,"publicId":"5a257c31-55b2-461d-0c9f-3d41cd4f4da2","size":0,"type":"image/jpeg","updatedTs":1678531981},{"createdTs":1678531981,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/DB017C58-77B5-4672-BE84-7AF4BABE7382.jpeg","filename":"DB017C58-77B5-4672-BE84-7AF4BABE7382.jpeg","id":195,"internalPath":"","linkedMemoAmount":1,"publicId":"a101380d-3aad-d721-8f27-19f31e9462c2","size":0,"type":"image/jpeg","updatedTs":1678531981}],"rowStatus":"NORMAL","updatedTs":1678531981,"visibility":"PUBLIC"},{"content":"#相册 春芽","createdTs":1677316466,"creatorId":101,"creatorName":"林木木","id":1419,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1677316466,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-1.JPG","filename":"0225-zhongzi-1.JPG","id":181,"internalPath":"","linkedMemoAmount":1,"publicId":"7deaad95-d605-2203-52ab-2fb0f16a1bd3","size":0,"type":"image/jpeg","updatedTs":1677316766},{"createdTs":1677316766,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-2.JPG","filename":"0225-zhongzi-2.JPG","id":182,"internalPath":"","linkedMemoAmount":1,"publicId":"c0f32353-d16a-1fdd-52ae-f1cc601a0376","size":0,"type":"image/jpeg","updatedTs":1677316766},{"createdTs":1677316766,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/0225-zhongzi-3.JPG","filename":"0225-zhongzi-3.JPG","id":183,"internalPath":"","linkedMemoAmount":1,"publicId":"bb0d4ab8-c7dd-ef7d-6ca7-a035dc0ef9e9","size":0,"type":"image/jpeg","updatedTs":1677316766}],"rowStatus":"NORMAL","updatedTs":1677316766,"visibility":"PUBLIC"},{"content":"#相册 兔子折纸 🎉","createdTs":1675688684,"creatorId":101,"creatorName":"林木木","id":1392,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675688684,"creatorId":101,"externalLink":"","filename":"D2A9D694-A88A-4364-9E8E-F24F4F884EE2.jpeg","id":175,"internalPath":"","linkedMemoAmount":1,"publicId":"6cd8d670-be26-7b2f-e6be-0353db1ba7e7","size":64760,"type":"image/jpeg","updatedTs":1676134494}],"rowStatus":"NORMAL","updatedTs":1676134494,"visibility":"PUBLIC"},{"content":"#相册 大上海之大!","createdTs":1675347385,"creatorId":101,"creatorName":"林木木","id":1366,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675347385,"creatorId":101,"externalLink":"","filename":"IMG_6526.jpg","id":173,"internalPath":"","linkedMemoAmount":1,"publicId":"51670831-20b5-ea6d-a46c-f6f0677068eb","size":280338,"type":"image/jpeg","updatedTs":1675347385}],"rowStatus":"NORMAL","updatedTs":1675347385,"visibility":"PUBLIC"},{"content":"#相册 惠山古镇特色小吃桂花糕","createdTs":1675344357,"creatorId":101,"creatorName":"林木木","id":1365,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344357,"creatorId":101,"externalLink":"","filename":"IMG_6400.jpg","id":171,"internalPath":"","linkedMemoAmount":1,"publicId":"6a9791f6-244a-0124-5a44-f02e2f8ded12","size":225647,"type":"image/jpeg","updatedTs":1675344357},{"createdTs":1675344357,"creatorId":101,"externalLink":"","filename":"IMG_6444_1.jpg","id":172,"internalPath":"","linkedMemoAmount":1,"publicId":"f0ed3570-6ffa-289e-30d8-e08ed833c455","size":154961,"type":"image/jpeg","updatedTs":1675344357}],"rowStatus":"NORMAL","updatedTs":1675344357,"visibility":"PUBLIC"},{"content":"#相册 无锡南长街的夜","createdTs":1675344207,"creatorId":101,"creatorName":"林木木","id":1364,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344207,"creatorId":101,"externalLink":"","filename":"IMG_2982_1.jpg","id":170,"internalPath":"","linkedMemoAmount":1,"publicId":"3d75b902-5d93-6691-91b2-e812c607e51b","size":716299,"type":"image/jpeg","updatedTs":1675344207}],"rowStatus":"NORMAL","updatedTs":1675344207,"visibility":"PUBLIC"},{"content":"#相册 鼋头渚喂海鸥","createdTs":1675344101,"creatorId":101,"creatorName":"林木木","id":1363,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675344101,"creatorId":101,"externalLink":"","filename":"鼋头渚.jpg","id":169,"internalPath":"","linkedMemoAmount":1,"publicId":"4dc770a3-3784-e44c-02eb-e5b3a6deb8ad","size":169044,"type":"image/jpeg","updatedTs":1675344101}],"rowStatus":"NORMAL","updatedTs":1675344101,"visibility":"PUBLIC"},{"content":"#相册 折腾桌面","createdTs":1675343744,"creatorId":101,"creatorName":"林木木","id":1362,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1675343744,"creatorId":101,"externalLink":"","filename":"zhuom.JPG","id":163,"internalPath":"","linkedMemoAmount":2,"publicId":"ab2d91b1-887d-ff51-5931-fe9c499d8410","size":278839,"type":"image/jpeg","updatedTs":1675343780}],"rowStatus":"NORMAL","updatedTs":1675343780,"visibility":"PUBLIC"},{"content":"有光 #相册 ","createdTs":1671787141,"creatorId":101,"creatorName":"林木木","id":1308,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1671787141,"creatorId":101,"externalLink":"","filename":"2F10DF80-899C-411E-B24D-25B81743E92B.jpeg","id":152,"internalPath":"","linkedMemoAmount":1,"publicId":"091bf38d-42ff-1024-f5f3-1d8e1961a21a","size":50392,"type":"image/jpeg","updatedTs":1677330091}],"rowStatus":"NORMAL","updatedTs":1677330091,"visibility":"PUBLIC"},{"content":"不知不觉,小声读书 #相册 ","createdTs":1670944183,"creatorId":101,"creatorName":"林木木","id":1292,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1670944183,"creatorId":101,"externalLink":"","filename":"iShot_2022-12-12_20.22.29.jpg","id":148,"internalPath":"","linkedMemoAmount":1,"publicId":"76f5bc96-78ad-0cd2-040a-a271918038d3","size":174770,"type":"image/jpeg","updatedTs":1677330176}],"rowStatus":"NORMAL","updatedTs":1677330176,"visibility":"PUBLIC"}]}

指定条数

参数:limit

https://me.edui.fun/api/memo?creatorId=101&tag=相册&limit=1
https://me.edui.fun/api/memo/all?tag=相册&limit=1

结果:

{"data":[{"content":"#相册 校园一景","createdTs":1684732115,"creatorId":101,"creatorName":"林木木","id":1580,"pinned":false,"relationList":[],"resourceList":[{"createdTs":1684732115,"creatorId":101,"externalLink":"https://r2m.immmmm.com/memos/2023/05/IMG_7542.jpeg","filename":"IMG_7542.jpeg","id":249,"internalPath":"","linkedMemoAmount":1,"publicId":"f7c8c1ae-f5ba-4f57-8bdc-366e5dc2cf9a","size":445702,"type":"image/jpeg","updatedTs":1684732115}],"rowStatus":"NORMAL","updatedTs":1684732115,"visibility":"PUBLIC"}]}

指定偏移

参数:offset

https://me.edui.fun/api/memo?creatorId=101&tag=相册&limit=1&offset=2
https://me.edui.fun/api/memo/all?tag=相册&limit=1&offset=2

利用 limit=1offset 和总条数之间随机数,可实现调取随机一条 Memos 。

调取部分 Memos

参数:rowStatus

https://me.edui.fun/api/memo?creatorId=101&rowStatus=NORMAL

加上 rowStatus=NORMAL 不用调取在归档里的 Memos 。

Open API

参数:openId

https://demo.usememos.com/api/memo?openId=4D878AD599A6CCACD52C56753A36C4C7

此参数拥有最高权限,get、post 都可以。get 到的内容包括仅自己可见的内容。

个人 Memos 总数

https://demo.usememos.com/api/memo/amount?openId=4D878AD599A6CCACD52C56753A36C4C7

个人标签列表

路径:api/tag

https://demo.usememos.com/api/tag?openId=4D878AD599A6CCACD52C56753A36C4C7

内置资源列表

路径:api/resource

https://demo.usememos.com/api/resource?openId=4D878AD599A6CCACD52C56753A36C4C7

资源链接格式

网址+o/r/+resourceId/+filename,如:

https://me.edui.fun/o/r/167/iShot_2023-01-22_16.22.45.png

做个资源外链清单?

发 Memos

POST https://demo.usememos.com/api/memo?openId=4D878AD599A6CCACD52C56753A36C4C7
Content-type: application/json
{
  "content": "Hello #memos from https://demo.usememos.com",
  "visibility": "PUBLIC",
  "resourceIdList" : []
}

参数:content

参数:visibility

  • PUBLIC(公开) PRIVATE(仅自己) PROTECTED(登录可见)

参数:resourceIdList

  • 值是数组,上传图片之后的 resourceId。