-
Notifications
You must be signed in to change notification settings - Fork 0
신고하기
Haely edited this page Nov 14, 2020
·
1 revision
[POST] ~/detail/report
메소드 | 파라미터 | 설명 |
---|---|---|
Content-Type | application/json | |
token | {token} | 토큰 |
변수 | 타입 | 설명 |
---|---|---|
sort | String | theme인지 sentence인지 |
idx | Int | themeIdx 혹은 sentenceIdx |
content | String | falseAd 혹은 inappropriate |
{
"sort":"sentence",
"idx": 30,
"content":"inappropriate"
}
{
"sort":"theme",
"idx": 18,
"content":"falseAd"
}
{
"status": 200,
"success": true,
"message": "신고 성공"
}
{
"status": 400,
"success": false,
"message": "필요한 값이 없습니다"
}
{
"status": 400,
"success": false,
"message": "토큰이 없습니다"
}
{
"status": 401,
"success": false,
"message": "유효하지 않은 토큰입니다"
}
{
"status": 401,
"success": false,
"message": "만료된 토큰입니다"
}
{
"status": 600,
"success": false,
"message": "서버 내부 오류"
}
-
메인(Main)
-
검색(Search)
-
작성(Post)
-
큐레이터(Curator)
-
조회(Detail)
-
내 서재(My)
-
유저(Users)