docs(im): document chat.nickname get/update/delete - #1378
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds documentation for the ChangesChat nickname API documentation and scope configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1378 +/- ##
==========================================
+ Coverage 71.58% 71.97% +0.39%
==========================================
Files 689 696 +7
Lines 65521 65891 +370
==========================================
+ Hits 46901 47424 +523
+ Misses 14972 14811 -161
- Partials 3648 3656 +8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@899b2790ccbcb017a210a370d75f9a62be1e062b🧩 Skill updatenpx skills add shifengjuan-dev/lark-cli#feat/im-chat-nickname -y -g |
02cfbed to
af9f8e2
Compare
ac3b27a to
8995d76
Compare
Add chat.nickname resource section (self-only, user identity) and its dedicated scope mappings (im:chat.nickname:read / im:chat.nickname:write) to the lark-im skill doc. Register the fine-grained scopes in scope_priorities.json (im:chat.nickname:read=88.06, im:chat.nickname:write=79.60, im:chat.user_setting:write=83.66) so the missing-scope hint recommends the narrow scopes instead of falling back to the broader im:chat (57). Change-Id: I066b10f010a660438275d66932a497b9501c26de
899b279
8995d76 to
899b279
Compare
What
Document the
chat.nicknameresource in thelark-imskill doc.### chat.nicknamesection coveringget/update/delete(self-only,useridentity /user_access_token).chat.nickname.get→im:chat.nickname:readchat.nickname.update→im:chat.nickname:writechat.nickname.delete→im:chat.nickname:writeWhy
The
chat.nicknameresource already exists ininternal/registry/meta_data.json(GET/PUT/DELETE /open-apis/im/v1/chats/{chat_id}/nickname) but was undocumented in the skill. This brings the doc in line with the registry. Scopes match the method definitions inmeta_data.json.Docs-only change; no code or registry modification.
Summary by CodeRabbit
Documentation
New Features