메인 콘텐츠로 건너뛰기
GET
/
v1
/
server
/
campaigns
캠페인 목록 조회
curl --request GET \
  --url https://sdk-api.playcamp.io/v1/server/campaigns \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "campaignId": "<string>",
      "projectId": "<string>",
      "campaignName": {},
      "description": {},
      "startDate": "2023-11-07T05:31:56Z",
      "endDate": "2023-11-07T05:31:56Z",
      "status": "PENDING_EXPOSURE"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "totalPages": 123
  }
}

인증

Authorization
string
header
필수

Server API Key (format: {keyId}:{secret})

쿼리 매개변수

page
integer
기본값:1
limit
integer
기본값:20
필수 범위: x <= 100

응답

200 - application/json

성공

data
object[]
필수
pagination
object
필수