状态终端

使用 /status 终端,查看新应用的状态。通过该终端返回的状态,您可以了解_模板应用向新应用复制设置的流程情况。

操作前须知

要使用该终端,您需要先验证您的请求。请按照验证指南中的说明操作。

终端

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

GET 请求

使用该终端返回设置复制流程的状态。使用 /app 终端创建应用时,会收到 ticket_token

参数

名称数据类型In描述
ticket_token*字符串路径 (Path)您想要检查的工单识别码。在您创建应用时, /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"
    }
}