Skip to main content

notes_create

Function notes_create 

Source
pub fn notes_create(
    parent_id: &str,
    title: Option<&str>,
    body: Option<&str>,
) -> Result<UpsertResult, PluginError>
Expand description

notes.create:新建笔记(能力 notes:write)。parent_id 必须是已存在笔记本(否则 invalid)。 pending=truenote.id 为空串——id 由宿主在用户批准时生成,无法链式写入。