mirror of
https://github.com/cve-search/vulnerability-lookup.git
synced 2024-12-28 16:31:33 +00:00
chg: [website] Added missing per_page optional arguments to the sighting API endpoint.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
MyPy / Python 3.11 sample (push) Waiting to run
MyPy / Python 3.12 sample (push) Waiting to run
MyPy / Python 3.10 sample (push) Waiting to run
API Test / Python 3.10 sample (push) Waiting to run
API Test / Python 3.11 sample (push) Waiting to run
API Test / Python 3.12 sample (push) Waiting to run
Models Tests / Python 3.10 sample (push) Waiting to run
Models Tests / Python 3.11 sample (push) Waiting to run
Models Tests / Python 3.12 sample (push) Waiting to run
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
MyPy / Python 3.11 sample (push) Waiting to run
MyPy / Python 3.12 sample (push) Waiting to run
MyPy / Python 3.10 sample (push) Waiting to run
API Test / Python 3.10 sample (push) Waiting to run
API Test / Python 3.11 sample (push) Waiting to run
API Test / Python 3.12 sample (push) Waiting to run
Models Tests / Python 3.10 sample (push) Waiting to run
Models Tests / Python 3.11 sample (push) Waiting to run
Models Tests / Python 3.12 sample (push) Waiting to run
This commit is contained in:
parent
6ccbe8ec79
commit
8653173845
1 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,12 @@ parser.add_argument(
|
|||
type=str,
|
||||
help="Query for the meta JSON field. Example: meta=[{'tags': ['tcp']}]",
|
||||
)
|
||||
parser.add_argument(
|
||||
"per_page",
|
||||
type=int,
|
||||
default=10,
|
||||
help="Number of elements to return.",
|
||||
)
|
||||
|
||||
# Response marshalling
|
||||
bundle_params_model = {
|
||||
|
|
Loading…
Reference in a new issue