Glowb Dev Docs
Main API인플루언서 API

GET /influence/home/{nation}

홈화면 데이터 조회

홈화면 데이터 조회

인플루언서 홈화면에 표시할 Collab, Business 데이터를 조회합니다.

항목
메서드GET
경로/influence/home/{nation}
인증필요

요청

GET /influence/home/KR HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
curl "https://api.glowb.com/influence/home/KR" \
  -H "Authorization: Bearer {access_token}"
const response = await fetch(`/influence/home/${nation}`, {
  headers: {
    'Authorization': `Bearer ${accessToken}`
  }
});
const homeData = await response.json();

Path Parameters

Prop

Type

응답

성공 응답 (200 OK)

{
  "collabs": [
    {
      "no": 1,
      "title": "캠페인 제목",
      "thumbnail": "https://...",
      "deadline": "2024-12-31"
    }
  ],
  "businesses": [
    {
      "memberId": "business_001",
      "businessName": "기업명",
      "profileImage": "https://..."
    }
  ],
  "recommendations": [...]
}

API 테스트

On this page