상태 엔드포인트

/status 엔드포인트를 사용하면 새 앱의 상태를 확인할 수 있습니다. 이 엔드포인트는 _Template 앱에서 새 앱으로의 설정을 복사하는 과정의 상태를 반환합니다.

시작에 앞서

상태 엔드포인트를 사용하려면 요청을 인증해야 합니다. Adjust의 인증 가이드에 나온 설명을 참조하시기 바랍니다.

엔드포인트

https://settings.adjust.com/api/status/{ticket_token}

GET request

이 엔드포인트는 설정 복사 과정의 상태를 반환합니다. /app 엔드포인트를 사용해 앱을 생성하면 ticket_token을 수신할 수 있습니다.

파라미터

이름데이터 유형In설명
ticket_token*StringPath확인하고자 하는 티켓의 토큰. /app 엔드포인트 가 앱을 생성할 때 이를 반환.

응답

{
   "status": "String"
}

상태

예시

cURL
curl \
--header "AdjustAuthorization: Token <adjust api token>" \
--header "SignatureAuthorization: Token <adjust signature token>" \
-X GET https://settings.adjust.com/api/status/<ticket_token>
{
    "status": "OPENED",
    "events": {
        "successes": [
            <list of tasks for specific section which were completed successfully>
        ],
        "failures": [
            <list of tasks which were failed>
        ],
    },
    # If a section migration failed before the migration process started,
    # the response contains information about the failure
    "partners": {
        "section": "partners",
        "detail": "Could not be start, because {events} sections has failed"
    }
}