알림
notice list
GET
http://api.phopo.best/api/notice
This endpoint allows you to get free cakes.
Query Parameters
page
string
'페이징 넘버'
created_time
boolean
'알림 생성'
Headers
Authentication
string
'규칙 참조'
'알림 리스트 불러오는 부분 response'
'공통 response data key
id = 알림 테이블 id
receiver_id = (int)알림 받는 유저의 아이디(pk)
comment_id = (int)코멘트 테이블 아이디(pk)
report_id = (int) 신고 테이블 아이디(pk)
resason_detail = (string)신고 상세 사유
kind =(int) 분기처( 반려 사진 - 22001, 통과 사진 - 22002, 댓글 남김 - 22003,
귀칙위반 사진 - 22004, 규칙 위반 댓글 22005)
confirmation = (boolean)알림 확인 불린값
created_date = (string)알림 생성일(datetime)
.
그 외 추가 데이터
post_image = 사진 url
reason = 신고 or 반려 사유
comment_user_nick = 댓글을 단 유저의 닉네임
comment_user_image = 댓글을 단 유저의 프로필 이미지 url
comment_post_id= 댓글이 달린 게시물의 id
show detail notice item
GET
http://api.phopo.best/api/notice/:pk
Path Parameters
pk
integer
'알림 id(pk)'
Headers
Authentication
string
'규칙 참조'
delete notice record
DELETE
http://api.phopo.best/api/notice/:pk
Path Parameters
pk
integer
'알림 id(pk)'
Headers
Authentication
string
'규칙 참조'
Last updated
Was this helpful?