Skip to content

Added endpoints to list and search notes in V2 Rest API.#1062

Merged
whikernel merged 3 commits into
dfir-iris:developfrom
fatpeppapig:case_notes
Apr 21, 2026
Merged

Added endpoints to list and search notes in V2 Rest API.#1062
whikernel merged 3 commits into
dfir-iris:developfrom
fatpeppapig:case_notes

Conversation

@fatpeppapig

Copy link
Copy Markdown

No description provided.

@coderabbitai

coderabbitai Bot commented Apr 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • api_*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b4cc6874-1190-4c73-ac10-f8064826beaa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread source/app/blueprints/rest/v2/case_routes/notes.py
Comment thread source/app/blueprints/rest/v2/case_routes/notes.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@whikernel whikernel merged commit fe53427 into dfir-iris:develop Apr 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants