获取Note
接口地址
域名: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_id | string | ETJ6EO | Mind项目ID/ 事项ID | 否 | |
| page | int | 1 | 页码 | 否,默认1 | |
| limit | int | 20 | 分页条数 | 否,默认50,上限100 |
返回参数
| 字段 | 类型 | 必须 | 描述 | 默认 | 示例值 |
|---|---|---|---|---|---|
| code | string | 是 | 状态码 | 200 | 200:成功非200:失败 |
| msg | string | 是 | 提示 | ||
| data | object | 是 |
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