📄
lee
  • Initial page
  • API
  • 이메일 인증
    • 이메일 인증
    • 패스워드 찾기 이메일 인증
  • 회원가입 및 신규 패스워드
    • 소셜 계정
    • 회원가입
    • 신규 패스워드
  • 로그인
    • 토큰 발급(로그인)
    • 토큰 인증(자동 로그인)
  • 마이페이지
    • 유저 마이페이지
    • 마이페이지
  • 댓글
    • 댓글
  • 알림
  • 좋아요
  • 게시글(사진)
  • 패스워드
  • 신고
  • 스크랩
    • 스크랩 페이지
    • 스크랩
  • 태그
  • 검색
  • 최근검색어
  • 유저
  • 규칙
Powered by GitBook
On this page

Was this helpful?

신고

'게시물 및 댓글 신고'

POST http://api.phopo.best/api/report

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

Authentication

string

'규칙 참조'

Request Body

Name
Type
Description

post_url

string

'게시물 신고 시 게시물 사진 url 첨부'

post_caption

string

'게시물 신고 시 게시물 내용 첨부'

comment_contents

string

'댓글 신고 시 댓글 내용 첨부'

comment_id

integer

'댓글 id(pk)'

post_id

integer

'게시글 id(pk)'

detail

string

'신고 내용 reason 파라미터 값 참조하여 데이터 삽입 reason value 0 - 기타사유 작성 내용 1 - 스팸 2 - 욕설 및 비방 3 - 음란물 4 - 무단도용'

reason

integer

'신고 사유 int로 분기처리 0 - 기타 1 - 스팸 2 - 욕설 및 비방 3 - 음란물 4 - 무단도용'

{
    "payload": {
        "result": true
    },
    "message": "Report post successful"
}
{
    "payload": {
        "result": true
    },
    "message": "Report comment successful"
}
{
    "error": {
        "message": "Send it in a bundle name 'sending'"
    }
}
{
    "error": {
        "<required key>": "<required key> field is required"
        ...
        ...
        ...
    }
}
{
    "error": "<Object> matching query does not exist."
}

Previous패스워드Next스크랩

Last updated 5 years ago

Was this helpful?