토픽 CRUD
토픽 생성 수정 삭제 api
토픽 목록
GET https://api.mint-app.com/v1/topic
Query Parameters
Name
Type
Description
last_key
string
마지막 토픽의 아이디 (cursor 방식)
{
"result": "success",
"data": [
{
"updated_at": "2021-08-27 14:03:43",
"count": 0,
"is_cancel": true,
"created_at": "2021-08-26 16:28:09",
"timestamp": 1629962889246,
"project_key": 4,
"is_deletable": true,
"id": "9c72a751-d97e-4135-b191-9386b8f5cd00",
"name": "남성 토픽",
"type": "gender_male",
"desc": "남성 사용자들 구독"
},...
]
}{
"result": "failed",
"reason": "유효하지 않은 키값입니다."
}sample
토픽 생성
POST https://api.mint-app.com/v1/topic
Request Body
Name
Type
Description
desc
string
토픽설명
type
string
토픽종류 이름
name
string
토픽이름
sample
토픽 상세 정보
GET https://api.mint-app.com/v1/topic/{topicId}
Path Parameters
Name
Type
Description
topicId
string
토픽아이디
sample
토픽 정보 수정
PUT https://api.mint-app.com/v1/topic/{topicId}/update
Path Parameters
Name
Type
Description
topicId
string
토픽 아이디
Request Body
Name
Type
Description
name
string
토픽이름
desc
string
토픽 설명
sample
토픽 정보 수정
DELETE https://api.mint-app.com/v1/topic/{topicId}/destory
Path Parameters
Name
Type
Description
topicId
string
sample
Last updated
Was this helpful?