HostingMigrations
Download migration CSV file
GET
/api/migrations/{migration_code}/fileDownloads the CSV file uploaded for a migration. Admin only.
Authorization
api_key X-Api-Token<token>
API token used to authenticate requests.
In: header
Path Parameters
migration_code*string
Migration code: MG followed by 8 digits. Example: MG12345678.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/migrations/string/file" \ -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"
}
]
}