🚚(global) move favorite documents API endpoint to /documents/favorites/ - #2540
🚚(global) move favorite documents API endpoint to /documents/favorites/#2540jmaupetit wants to merge 1 commit into
/documents/favorites/#2540Conversation
To respect the globally used pattern, we can safely switch to a simpler path.
/documents/favorites/
|
Size Change: 0 B Total Size: 4.36 MB 📦 View Changed
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
WalkthroughThe favorite documents API route is renamed from Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Purpose
Current favorite documents listing endpoint path is
/documents/favorite_list/. To respect current API semantic (e.g./documents/{id}/favorite/), we think we can make a shorter version of the endpoint path without being less explicit 😜Proposal
/documents/favorites/