채널 프로필 API
채널 프로필 정보 조회 및 수정 API입니다.
프로필 조회
Endpoint
GET /v1/channels/{channelId}/profileRequest
Path Parameters
| Name | Type | Default |
|---|---|---|
channelId | number채널 ID |
Response
Examples
cURL
Terminal
curl https://openapi.meloming.com/v1/channels/1/profile프로필 수정
인증 필요 - 채널 소유자만 가능
Endpoint
PATCH /v1/channels/{channelId}/profileRequest
Request Body
모든 필드는 선택 사항입니다. 수정하려는 필드만 포함하세요.
Response
수정된 프로필 정보 (ProfileResponse)가 반환됩니다.
Examples
cURL
Terminal
curl -X PATCH "https://openapi.meloming.com/v1/channels/1/profile" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"nickname": "새 닉네임",
"bio": "안녕하세요!",
"mbti": "ENFP"
}'프로필 이미지 및 배너 이미지 업로드는 별도의 이미지 업로드 API를 통해 처리됩니다.
Last updated on