Skip to main content
GET
/
storage
/
migrations
/
{id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const migration = await client.storage.migrations.retrieve('');

console.log(migration.data);
{
  "data": {
    "source_id": "<string>",
    "target_bucket_name": "<string>",
    "target_region": "<string>",
    "id": "<string>",
    "refresh": true,
    "last_copy": [
      "2020-01-01T00:00:00Z"
    ],
    "status": "pending",
    "bytes_to_migrate": 123,
    "bytes_migrated": 123,
    "speed": 123,
    "eta": [
      "2020-01-01T00:00:00Z"
    ],
    "created_at": [
      "2020-01-01T00:00:00Z"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for the data migration.

Response

200 - application/json

Create Migration Response

data
object