1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/memos/README.md

20 lines
731 B
Markdown
Raw Normal View History

2024-08-22 12:52:10 +02:00
memos
=====
[Memos][1] is a privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.
2024-09-12 11:43:11 +02:00
```bash
2024-09-14 10:43:04 +02:00
$ 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"}
2024-09-12 11:43:11 +02:00
```
Read API Doc [here][2].
2024-08-22 12:52:10 +02:00
[1]: https://www.usememos.com/
2024-09-12 11:43:11 +02:00
[2]: https://memos.apidocumentation.com/reference#tag/memoservice/POST/api/v1/memos