story-dict
  1. 리액션
story-dict
  • v0
    • ping-pong
      GET
  • v1
    • 인증
      • 로그아웃
    • 유저
      • 로그인한 유저 정보 요청
      • 회원가입
    • 이미지
      • 미리 서명된 URL
      • 이미지 이동
    • 이야기
      • 리액션
        • 이야기의 리액션 생성
        • 이야기의 리액션 수정
        • 이야기의 리액션 제거
      • 댓글
        • 리액션
          • 이야기의 댓글의 리액션 생성
            POST
          • 이야기의 댓글의 리액션 수정
            PATCH
          • 이야기의 댓글의 리액션 삭제
            DELETE
        • 이야기의 댓글 생성
          POST
        • 이야기의 모든 댓글들 가져오기
          GET
        • 이야기의 댓글 수정
          PATCH
        • 이야기의 댓글 삭제
          DELETE
      • 모든 이야기들 가져오기
        GET
      • 랜덤 이야기들 가져오기
        GET
      • 단일 이야기 가져오기
        GET
      • 제목으로 단일 이야기 가져오기
        GET
      • 키워드로 이야기들 검색
        GET
      • 카테고리로 이야기들 가져오기
        GET
      • 단일 이야기 수정
        PATCH
      • 단일 이야기 삭제
        DELETE
      • 이야기 제목 중복 검사
        POST
      • 단일 이야기 생성
        POST
  1. 리액션

이야기의 댓글의 리액션 삭제

Develop Env
http://localhost:9050
Develop Env
http://localhost:9050
DELETE
/apis/v1/stories/{storyId}/comments/{commentId}/reactions/{reactionId}
storycommentreaction
이야기의 댓글의 리액션 삭제

Request

Path Params
storyId
string 
required
이야기 식별자
Example:
00000000-0000-0000-0000-200000000000
commentId
string 
required
댓글의 식별자
Example:
1a692474-377e-43ea-babf-d60e16ab92c1
reactionId
string 
required
리액션의 식별자
Example:
21a5cf31-d868-48bf-8833-10b54187fed5

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://localhost:9050/apis/v1/stories/00000000-0000-0000-0000-200000000000/comments/1a692474-377e-43ea-babf-d60e16ab92c1/reactions/21a5cf31-d868-48bf-8833-10b54187fed5'

Responses

🟢200🟢 리액션 제거 성공
application/json
Body
toast
object (Toast) 
required
title
string 
required
프론트에서 렌더링할 토스트 메시지 제목
description
string 
required
프론트에서 렌더링할 토스트 메시지 내용
payload
object (StoryCommentReaction) 
required
댓글 리액션 스키마
id
string 
required
댓글 리액션 식별자
createdAt
string 
required
생성 일자
Default:
CURRENT_TIMESTAMP
updatedAt
string 
required
수정 일자
deletedAt
string  | null 
optional
삭제 일자
type
enum<string> 
required
리액션 타입
Allowed values:
GOODBADFIRESEEHEARTSMILESADANGRYWOWQUESTION
userId
string 
required
작성자 식별자
storyId
string 
required
연결된 이야기 식별자
commentId
string 
required
연결된 댓글 식별자
Example
{
    "toast": {
        "title": "댓글 리액션 제거",
        "description": "댓글의 리액션을 제거했습니다."
    },
    "payload": {
        "id": "736c840e-87c3-463f-8f3d-fd93ad18c085",
        "createdAt": "2025-01-12T01:36:27.459Z",
        "updatedAt": "2025-01-12T01:41:15.608Z",
        "deletedAt": null,
        "type": "FIRE",
        "userId": "00000000-0000-0000-0000-000000000000",
        "postId": "00000000-0000-0000-0000-200000000000",
        "commentId": "5348370c-0a03-4b17-a824-e46f1c6cfe62"
    }
}
🟠400🔴 유효성 검사 실패
🟠403🔴 권한없음
🟠404🔴 존재하지 않음
Previous
이야기의 댓글의 리액션 수정
Next
이야기의 댓글 생성
Built with