Skip to content

feat: REST API - 質問一覧・詳細エンドポイント(GET /api/questions) #21

@Asheze1127

Description

@Asheze1127

Why

ダッシュボードがデータを取得するための API。

Scope

  • apps/api/internal/question/handler.go
  • GET /api/questions — status フィルタ(?status=pending)、ページング(limit/offset)
  • GET /api/questions/:id — triage_result を含む詳細
  • apps/api/internal/question/repository.go — sqlc 使用

Out of scope

認証(MVP では不要)・書き込み系 API

Dependencies

Acceptance Criteria

  • GET /api/questions?status=pending でフィルタリングできる
  • GET /api/questions/:id で triage_result が返る
  • 存在しない ID は 404 を返す

Size: S | Parallelizable: Yes(#A-03 + #C-01 完了後)

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend Go/Node

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions