We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
/api/block/batchUpdateBlock
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加 bulkUpdateBlock 接口
做了一个自动添加标题序号的插件,由于需要导出的时候也包含序号,因此需要直接修改标题 block 的文本内容。现在的接口直接一个一个发送 API 请求,太慢了。
允许 /api/block/updateBlock 接口传入一个列表,或者新增一个bulkUpdateBlock接口
No response
The text was updated successfully, but these errors were encountered:
🧑💻 Add a kernel API /api/block/batchUpdateBlock #14335
cdf884b
端点:/api/block/batchUpdateBlock 参数:
{ "blocks": [ { "id": "20250311104827-9fubw4s", "dataType": "markdown", "data": "bbbbbbbbbbba*b*c" }, { "id": "20250311114126-iortkld", "dataType": "markdown", "data": "aaaaaaaa2a*b*c" }, { "id": "20250311114126-vcvsxw8", "dataType": "markdown", "data": "11111113a*b*c" } ] }
Sorry, something went wrong.
88250
No branches or pull requests
添加 bulkUpdateBlock 接口
In what scenarios do you need this feature?
做了一个自动添加标题序号的插件,由于需要导出的时候也包含序号,因此需要直接修改标题 block 的文本内容。现在的接口直接一个一个发送 API 请求,太慢了。
Describe the optimal solution
允许 /api/block/updateBlock 接口传入一个列表,或者新增一个bulkUpdateBlock接口
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: