Admin APIAdmin Dashboard API
GET /ai/admin/dashboard/source-campaigns
소스 캠페인 선택 리스트 조회
소스 캠페인 선택 리스트 조회
타 캠페인 신청자 불러오기 모달에서 소스 캠페인을 선택할 때 사용하는 경량 캠페인 목록입니다.
기존 GET /ai/admin/campaigns와 별개로, 모달 내 캠페인 선택 전용으로 만들어진 경량 엔드포인트입니다. 제목·담당자·유형 정보만 반환합니다.
HTTP 요청
GET /ai/admin/dashboard/source-campaigns
Authorization: Bearer {access_token}Query Parameters
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
search | String | 아니오 | 검색어 (캠페인 제목/상품명) |
page | Integer | 아니오 | 페이지 번호 (0부터 시작, 기본값: 0) |
응답
성공 응답 (200 OK)
{
"status": 200,
"code": null,
"message": "소스 캠페인 목록 조회 성공",
"data": {
"content": [
{
"no": 1234,
"title": "캠페인 제목",
"campaignStatus": "CREATOR_RECRUIT",
"businessName": "글로브 주식회사",
"sns": "INSTAGRAM",
"snsContentFormat": "INSTAGRAM_REELS"
}
],
"totalElements": 100,
"totalPages": 5,
"number": 0,
"size": 20,
"first": true,
"last": false
}
}응답 필드 설명
data (Page 객체)
| 필드 | 타입 | 설명 |
|---|---|---|
content | Array | 캠페인 목록 (최대 20개) |
totalElements | Integer | 전체 캠페인 수 |
totalPages | Integer | 전체 페이지 수 |
number | Integer | 현재 페이지 번호 (0부터 시작) |
size | Integer | 페이지 크기 (20 고정) |
first | Boolean | 첫 번째 페이지 여부 |
last | Boolean | 마지막 페이지 여부 |
content 항목
| 필드 | 타입 | 설명 |
|---|---|---|
no | Integer | 캠페인 번호 |
title | String | 캠페인 제목 (title 없으면 productName 사용) |
campaignStatus | String | 캠페인 진행 상태 (CampaignSubStep 값) |
businessName | String | 기업명 |
sns | String | SNS 플랫폼 |
snsContentFormat | String | 콘텐츠 유형 |