list note¶
- interface address:
/api/note/list
- HTTP request method:
GET
- request params:
- response code:
common response
example:
curl -X GET "$BASE_URL/api/note/list"
response example:
JSON:
{ }
create note¶
- interface address:
/api/note/create
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/create"
response example:
JSON:
{ }
get note detail¶
- interface address:
/api/note/detail/:id
- HTTP request method:
GET
- request params:
- response code:
common response
example:
curl -X GET "$BASE_URL/api/note/detail/:id"
response example:
JSON:
{ }
delete note¶
- interface address:
/api/note/delete
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/delete"
response example:
JSON:
{ }
archive note¶
- interface address:
/api/note/archive
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/archive"
response example:
JSON:
{ }
unarchive note¶
- interface address:
/api/note/unarchive
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/unarchive"
response example:
JSON:
{ }
modify note starred state¶
- interface address:
/api/note/starredstate
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/starredstate"
response example:
JSON:
{ }
modify note important state¶
- interface address:
/api/note/importantstate
- HTTP request method:
POST
- request params:
- response code:
common response
example:
curl -X POST "$BASE_URL/api/note/importantstate"
response example:
JSON:
{ }