接口地址

域名:https://open.mindoffice.cn
uri : /open-platform/api/note/v1/notes

请求地址

https://open.mindoffice.cn/open-platform/api/note/v1/notes

请求方式

POST+JSON

请求Header

app-id 系统分配
app-secret 系统分配

请求参数

 

字段类型必须描述默认示例值
tags[]string["LS","Git"]标签(或 的关系)
["LS","Git"] : 标签为 LS 或 Git
["","LS"]:无标签或标签为LS
 
project_idstringETJ6EOMind项目ID/ 事项ID 
pageint1页码否,默认1 
limitint20分页条数否,默认50,上限100 

 

返回参数

 

字段类型必须描述默认示例值
codestring状态码200200:成功
非200:失败
msgstring提示  
dataobject

 

data参数

字段 类型 必须 描述 默认 示例值
count int 总条数 0 []
records array []
snapshot_id string 唯一id
app_id string 服务号ID xxx
project_id string Mind项目ID/ 事项ID zzzzzff
tags []string 标签 ["LS1","Git"]
title string 标题 xxx
format string 内容 markdown
body string 内容 {\"content\":\"各种格式类型:markdown、富文本、纯文本\",\"format\":\"markdown\"}
created_at int 创建时间(毫秒时间戳) 1730085979877

成功

{
  "code": 200,
  "msg": "OK",
  "data": {
    "count": 5,
    "records": [
      {
        "snapshot_id": "241028112619877378088",
        "app_id": "mind_0ayt9y5643dl9z95",
        "project_id": "ETJ6EO",
        "tags": [
          "LS1",
          "Git2"
        ],
        "title": "XX项目记录",
        "format": "markdown",
        "body": "{\"content\":\"各种格式类型:markdown、富文本、纯文本\",\"format\":\"markdown\"}",
        "created_at": 1730085979877
      }
    ]
  }
}

失败

{
  "code": 100002,
  "msg": "appId或appSecret异常,未能查询到app",
  "data": null
}

 

Curl 格式

curl -X POST --location "https://open.mindoffice.cn/open-platform/api/note/v1/notes" \
    -H "Content-Type: application/json" \
    -H "APP-ID: xxxxx" \
    -H "APP-Secret: xxxx" \
    -d "{
          \"project_id\":\"\",
          \"tags\":[\"LS1\"],
          \"limit\": 20,
          \"page\":1
        }"
 更新时间:2026-03-26
上一篇:
下一篇: