Main APIAI API
GET /ai/portfolio/{userId}
포트폴리오 조회
포트폴리오 조회
사용자의 포트폴리오를 조회합니다. 로그인 여부에 따라 노출되는 정보가 다릅니다.
| 항목 | 값 |
|---|---|
| 메서드 | GET |
| 경로 | /ai/portfolio/\{userId\} |
| 인증 | 부분적 |
로그인한 사용자는 더 상세한 정보를 볼 수 있습니다.
요청
GET /ai/portfolio/user123 HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...curl "https://api.glowb.com/ai/portfolio/user123" \
-H "Authorization: Bearer {access_token}"const response = await fetch(`/ai/portfolio/${userId}`, {
headers: {
'Authorization': `Bearer ${accessToken}` // 선택
}
});
const portfolio = await response.json();Path Parameters
Prop
Type
응답
성공 응답 (200 OK)
{
"name": "크리에이터명",
"intro": "자기소개",
"profileImage": "https://...",
"snsAccounts": [...],
"references": [...],
"statistics": {
"totalFollowers": 150000
}
}Response 스키마
Prop
Type