From 849118f9b874c7dddcf3b9767bc3f031cf64ab76 Mon Sep 17 00:00:00 2001 From: life Date: Tue, 31 Mar 2015 18:27:53 +0800 Subject: [PATCH] update api doc --- app/controllers/api/API列表-v0.1.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/api/API列表-v0.1.md b/app/controllers/api/API列表-v0.1.md index d4957d5..9179530 100644 --- a/app/controllers/api/API列表-v0.1.md +++ b/app/controllers/api/API列表-v0.1.md @@ -253,7 +253,6 @@ http://leanote.com/api/file/getImage?fileId=xx http://leanote.com/api/file/getAttach?fileId=xx 所有附件: http://leanote.com/api/file/getAllAttachs?noteId=xxx -``` **注意:** addNote时必须要把Files, 和相关的图片/附件一起传到服务器中 @@ -272,7 +271,9 @@ addNote时必须要把Files, 和相关的图片/附件一起传到服务器中 http://leanote.com 不绝对, 因为用户可以自建服务, 所以在开发时需要可配置 ### /note/updateNote 更新笔记 + 当更新了笔记某个属性时, 只要传某个属性就行, 其它不用传, 比如把笔记拉入了trash, 那么就传IsTrash: true + ``` 参数: (注意首字大写) NoteId string 必传