Skip to content
New issue

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

Add kernel API /api/block/getChildBlocks #8249

Closed
frostime opened this issue May 13, 2023 · 2 comments
Closed

Add kernel API /api/block/getChildBlocks #8249

frostime opened this issue May 13, 2023 · 2 comments
Assignees
Milestone

Comments

@frostime
Copy link
Contributor

In what scenarios do you need this feature?

新的 API ,

  • 可以遵循在文档 DOM 中的顺序获取一个块直接的子块 ID
  • 包括标题块

https://ld246.com/article/1683971024988

Describe the optimal solution

  • API : /api/block/getChildBlocks
  • 参数
{
    "parentID": ""
}
  • 返回
{
    "data": ["子块 ID"]
}

Describe the candidate solution

No response

Other information

No response

@88250 88250 changed the title 新的 API,getChildBlocks Add kernel API /api/block/getChildBlockIDs May 13, 2023
@88250 88250 self-assigned this May 13, 2023
@88250 88250 added this to the 2.8.8 milestone May 13, 2023
@88250 88250 changed the title Add kernel API /api/block/getChildBlockIDs Add kernel API /api/block/getChildBlocks May 13, 2023
@88250
Copy link
Member

88250 commented May 13, 2023

返回值有些许调整,请以 API 文档为准。

@88250 88250 closed this as completed May 13, 2023
@frostime
Copy link
Contributor Author

返回值有些许调整,请以 API 文档为准。

D 大速度,令人震惊😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants