신고

'게시물 및 댓글 신고'

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"
}

Last updated

Was this helpful?