Use the /status
endpoint to check the status of your new app. This endpoint returns the status of the process that copies settings from your _Template
app to your new app.
GET https://settings.adjust.com/api/status/{ticket_token}
Fetch copy process
Use this endpoint to return the status of a settings copy process. You receive your ticket_token
when you create your app using the /app
endpoint.
Name | Data type | In | Description |
---|---|---|---|
ticket_token * | String | Path | The token of the ticket you want to check. The /app endpoint returns this when you create your app. |
{ "status": "String"}
Statuses
NEW
: the ticket was created, but the migration job hasn’t started.OPENED
: the job for this ticket has started.FAILED
: the job failed.COMPLETED
: the job was completed successfully.
Example
$ 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": [], "failures": [] }, "partners": { "section": "partners", "detail": "Could not be start, because {events} sections has failed" }}