Skip to main content

域名:

https://dinoai.chatgo.pro
注意:接口均有限流,请勿频繁调用

token

复用 obsidian&思源 token,可在Dinox设置/同步设置/obsidian&思源同步中查看

接口

  1. 创建笔记
path: /note/create
method: POST
header:
    Content-Type: application/json
    Authorization: token
body:
    {
        content: ""    // 笔记内容 类型 string  支持 md,text 必须传
        tags: ["", ""]  // 标签列表 类型 string[] 可选
        title: ""  // 标题  类型: string   可选
    }
response:
    {
        "code": 0,
        "msg": "ok",
        "data": {
            "noteId": "a1b2c3d4e5f6g7h8i9j0"  // 笔记id
        }
    }