HostingMigrations
Get migration run log
GET
/api/migrations/log/{run_code}Returns the log for a migration run.
Authorization
api_key X-Api-Token<token>
API token used to authenticate requests.
In: header
Path Parameters
run_code*string
Migration run code returned by the migration service.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/migrations/log/string" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json"Empty
{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}