구독¶
POST /api/v1/channel/{channel_uuid}/subscribe
개요¶
라우트 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| channel_uuid | string | Y | 채널 UUID |
본문 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| type | string | Y | 구독 유형 예시: responsible 널 허용: False 허용 값: ['responsible', 'participate', 'attention', 'cancel'] |
매개변수 추가 설명¶
요청 본문 구조 설명
| 매개변수명 | type | 설명 |
|---|---|---|
| type | string | 열거 값(담당: responsible, 참여: participate, 관심: attention, 취소: cancel) |
요청 예시¶
curl 'https://openapi.guance.com/api/v1/channel/chan_xxxx32/subscribe' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"type": "participate"}' \
--compressed