VulnerabilityHistoryProject / vulnerability-history

vulnerabilityhistory.org
MIT License
33 stars 5 forks source link

Refactor API for tags#show to be more conventional #1055

Open andymeneely opened 1 year ago

andymeneely commented 1 year ago

Motivation Currently we kinda combine two queries into a single call and break rest conventions. Instead of /api/tags/1 showing a list of vulnerabilites, it should be /api/tags/1/vulnerabilities. That also means the web page should do the example list form.

Check the following: