1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/memos
2024-09-14 16:43:04 +08:00
..
docker-compose.yml add memos 2024-08-22 18:52:10 +08:00
README.md update memos 2024-09-14 16:43:04 +08:00

memos

Memos is a privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.

$ API_URL=http://127.0.0.1:5230/api/v1 API_TOKEN=******

$ curl -H "Content-Type: application/json" -H "Authorization: Bearer $API_TOKEN" $API_URL/memos -d '{"content": "hello", "visibility": "PUBLIC"}'
{"name":"memos/9", ... , "snippet":"hello\n"}

$ curl -H "Content-Type: application/json" -H "Authorization: Bearer $API_TOKEN" $API_URL/memos/9/comments -d '{"content": "world", "visibility": "PUBLIC"}'
{"name":"memos/10", ... , "snippet":"world\n"}

Read API Doc here.