Added endpoints to list and search notes in V2 Rest API.#1062
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Pull request overview
This PR updates the v2 REST API to support listing and searching case notes, and includes a small fix to case filtering parameter naming.
Changes:
- Add v2 endpoints to list notes for a case and search notes within a case.
- Fix v2 note update/delete route paths to include the missing leading slash.
- Fix
cases_filter()invocation to use the correct keyword argument (name) in the v2 cases filter endpoint.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| source/app/blueprints/rest/v2/cases.py | Fixes keyword argument name passed to cases_filter() to match business-layer signature. |
| source/app/blueprints/rest/v2/case_routes/notes.py | Adds GET list/search endpoints for case notes and corrects update/delete route paths. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
No description provided.