slackapi / slackapi/node-slack-sdk
feat(web-api): add support for parent_id parameter to bookmarks.list method
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 688
- Avg merge
- 15h 31m
- Merged PRs (30d)
- 27
Description
Package
@slack/web-api
Question
I'm trying to build an app that dynamically writes bookmark links to specific folders. Whilst bookmarks.add does indicate it's possible to specify a parent_id it looks like bookmarks.list doesn't expose them (see result below).
Is that right or am I missing something? If I am is there a plan to expose these ids sometime?
Thanks, Mark
@filmaj - you were very helpful a couple of years ago - If this is in your bailiwick would you take a look? Thanks
{"message":"Bookmark debug list","channel_id":"C0A2","count":2,"bookmarks":[{"id":"Bk0ANJFDG10X","title":"My link","type":"link","parent_id":"","link":"https://bramblegroup.slack.com/archives/C01SL.../p1774438786797799"},{"id":"Bk0APD1DUV5X","title":"Another Link","type":"link","parent_id":"","link":"https://bramblegroup.slack.com/archives/C01SL.../p1774438786797799"}]}
SDK Version
No response
Node.js Version
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the @slack/web-api implementation and tests for the bookmarks.list method, then compare its exposed fields with bookmarks.add, which already documents parent_id. Confirm how the SDK represents bookmark results; done means bookmarks.list exposes parent_id for returned bookmarks and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100