Skip to content

[김소희] notification API 엔드포인트 #25

@S2OHEE

Description

@S2OHEE

/notification

  • 알림 생성 (POST /notification)

    • Notification 테이블에 새로운 레코드 생성
    • content, type, userId 등의 필드 포함
  • 현재까지 온 알림 조회(전체)(GET /notification)

    • 사용자 ID에 해당하는 모든 알림 목록 응답
    • 알림 생성 시간부터 경과시간 계산
  • 알림 업데이트(수정) (PATCH /notification/id)

    • 해당 알림의 id를 기반으로 Notification 테이블의 레코드 수정
    • Notification 테이블의 read 필드 업데이트
  • 알림 삭제(DELETE /notification/:id)

    • 해당 알림의 id를 기반으로 Notification 테이블의 레코드 삭제

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions