Add optional pagination to the incidents API
@ishitatrivedi-dell がすでに取り組んでいます。
2026年12月2日 から。
評価
この issue はまだ評価されていません。
説明
Problem
The GET /api/incidents endpoint currently returns every incident from the security report.
As incident volume increases, returning the complete collection may become inefficient.
Suggested Implementation
Add optional limit and offset query parameters with appropriate validation.
Preserve the existing response structure and behavior when pagination parameters are not supplied.
Relevant File
dashboard_api/main.py
Acceptance Criteria
- Support optional limit and offset parameters.
- Reject negative offsets and invalid limits.
- Handle offsets beyond the available incident count.
- Preserve compatibility with existing API consumers.
- Add automated tests covering pagination behavior.
- 主要言語
- Python
- スター
- 1
- フォーク
- 3
- 平均マージ
- 47分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hrittijab/SecureOps のほかの issue
-
enhancement good first issue help wanted python streaming
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
enhancement good first issue help wanted java
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
good first issue help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
dashboard enhancement good first issue help wanted python
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hrittijab/SecureOps の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bad-antics/lateralus-lang#1623 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
fossguild/thelifesnake#82 ·
メンテナーはふだん 1 日以内に返信
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pietbarber/Manage2Soar#1189 ·
メンテナーはふだん 1 日以内に返信
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinates対応中かも @dtgaebe が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sandialabs/WecOptTool#467 ·