[backend]評価履歴を削除するDELETE APIを追加する
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 90/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- api, backend, documentation, testing
Research direction
Start with backend/app/routers/evaluations.py and compare the existing DELETE /companies/{company_id} implementation described in the API specification. Add the endpoint and extend backend/tests/test_evaluations.py for successful deletion and a missing ID returning 404. Update documents/backend/API仕様.md in sections 2 and 5, then run cd backend && uv run pytest tests/test_evaluations.py.
Written by the indexing model from the issue text.
Description
種別: 実装 — コードを書き、「検証方法」で検証してから PR を出す。
目的
評価履歴一覧から不要な結果を削除できるようにするため、評価結果を削除する API を新設する。
完了条件
-
DELETE /evaluations/{evaluation_id}を追加する。成功時は204(レスポンスボディなし)を返す - 指定した
evaluation_idが存在しない場合は404を返す - API仕様 の API 一覧(2章)と面接・評価(5章)に、既存の
DELETE /companies/{company_id}と同様の形式でエンドポイントを追記する -
backend/tests/test_evaluations.pyに、削除の成功・存在しないIDでの404を検証するテストを追加する
やらないこと
- フロントエンドからの削除操作の実装([#後続Issue] で扱う)
- 評価履歴一覧・詳細の取得 API(
GET /evaluations系)の変更
触る範囲
backend/app/routers/evaluations.pybackend/tests/test_evaluations.pydocuments/backend/API仕様.md
検証方法
cd backend
uv run pytest tests/test_evaluations.py
前提・依存
- 依存Issue: なし
- 適用ADR: なし
参考
- API仕様 4.1章 — 同型の
DELETE /companies/{company_id}の実装例
- Dominant language
- HTML
- Stars
- 1
- Forks
- 0
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 76
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from study-basic-hackathon/hanasu
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
study-basic-hackathon/hanasu#219 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
study-basic-hackathon/hanasu#218 ·
-
種別: 実装
Difficulty 2/5 Half a day Newbie friendliness 88/100
study-basic-hackathon/hanasu#211 ·
-
種別: 実装
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
study-basic-hackathon/hanasu#210 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
study-basic-hackathon/hanasu#227 · 3 comments ·
All issues in study-basic-hackathon/hanasu
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
crossplane/crossplane#7859 ·
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nightscout/nocturne#1379 ·