[Feature] 발송 상세 로그 조회 API 구현 (DDL-02) #136

Closed
opened 2026-02-11 00:27:31 +00:00 by seonkyu.kim · 0 comments
Owner

개요

특정 메시지(MessageCode)에 속한 개별 디바이스별 발송 상세 로그를 조회하는 API를 구현한다.

기능 상세

  • 엔드포인트: POST /v1/in/stats/send-log
  • 기능 ID: DDL-02
  • 참조: Feature_Spec.md §DDL-02, API 매핑: PUSH_06 (필터 확장)

기존 push/log와 차이점

  • 플랫폼(iOS/Android/Web) 필터 추가
  • 디바이스 정보(platform, device_token) 응답에 포함
  • 메시지 코드 필수 (특정 메시지의 상세 로그)

구현 범위

신규 파일

  • SendLogDetailRequestDto.cs — 요청 DTO (message_code, status?, platform?, page, size)
  • SendLogDetailResponseDto.cs — 응답 DTO (items + pagination)

수정 파일

  • IPushSendLogRepository.cs — GetDetailLogPagedAsync 메서드 추가
  • PushSendLogRepository.cs — 구현 (Include Device, 플랫폼 필터)
  • IStatsService.cs — GetSendLogDetailAsync 메서드 추가
  • StatsService.cs — 구현
  • StatsController.cs — 엔드포인트 추가

참조

  • Documents/Feature_Spec.md §DDL-02
  • Phase 3-2 마일스톤 (v0.5.0)
## 개요 특정 메시지(MessageCode)에 속한 개별 디바이스별 발송 상세 로그를 조회하는 API를 구현한다. ## 기능 상세 - **엔드포인트**: `POST /v1/in/stats/send-log` - **기능 ID**: DDL-02 - **참조**: Feature_Spec.md §DDL-02, API 매핑: PUSH_06 (필터 확장) ### 기존 push/log와 차이점 - 플랫폼(iOS/Android/Web) 필터 추가 - 디바이스 정보(platform, device_token) 응답에 포함 - 메시지 코드 필수 (특정 메시지의 상세 로그) ## 구현 범위 ### 신규 파일 - [x] `SendLogDetailRequestDto.cs` — 요청 DTO (message_code, status?, platform?, page, size) - [x] `SendLogDetailResponseDto.cs` — 응답 DTO (items + pagination) ### 수정 파일 - [x] `IPushSendLogRepository.cs` — GetDetailLogPagedAsync 메서드 추가 - [x] `PushSendLogRepository.cs` — 구현 (Include Device, 플랫폼 필터) - [x] `IStatsService.cs` — GetSendLogDetailAsync 메서드 추가 - [x] `StatsService.cs` — 구현 - [x] `StatsController.cs` — 엔드포인트 추가 ## 참조 - `Documents/Feature_Spec.md` §DDL-02 - Phase 3-2 마일스톤 (v0.5.0)
seonkyu.kim added the
Priority
High
Status
Available
Type
Feature
labels 2026-02-11 00:27:40 +00:00
seonkyu.kim added this to the Phase 3-2: 통계 & Webhook & 배치 milestone 2026-02-11 00:27:42 +00:00
seonkyu.kim self-assigned this 2026-02-11 00:27:45 +00:00
seonkyu.kim added
Status
Done
and removed
Status
Available
labels 2026-02-11 00:33:55 +00:00
Sign in to join this conversation.
No description provided.