Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add advisory v2 api endpoint 2224#2227

Open
shivamshrma09 wants to merge 2 commits into
aboutcode-org:main from
shivamshrma09:add-advisory-v2-api-endpoint-2224
Open

Add advisory v2 api endpoint 2224 #2227
shivamshrma09 wants to merge 2 commits into
aboutcode-org:main from
shivamshrma09:add-advisory-v2-api-endpoint-2224

Conversation

@shivamshrma09

@shivamshrma09 shivamshrma09 commented Mar 20, 2026

Copy link
Copy Markdown

Summary

Add a dedicated /api/v2/advisories/ endpoint for the AdvisoryV2 model.

Changes

  • AdvisoryV2ViewSet at /api/v2/advisories/ (ReadOnly)
  • AdvisoryV2FilterSet with filters: alias, advisory_id, datasource_id
  • Registered in api_v2_router
  • 8 test cases in AdvisoryV2ViewSetTest

Fixes #2224

Signed-off-by: shivamshrma09 <shivamsharma27107@gmail.com>
@shivamshrma09 shivamshrma09 force-pushed the add-advisory-v2-api-endpoint-2224 branch from 24423fa to 7fe2c65 Compare March 20, 2026 04:47

Copy link
Copy Markdown
Author

Hi @keshav-space @pombredanne @ziadhany , just wanted to follow up on this PR. Could you please take a look when you get a chance? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing source URL from severity details tab

1 participant

AltStyle によって変換されたページ (->オリジナル) /