Athena
ProvisionClones

List or create durable Postgres clone jobs

Persists one snapshot clone job that Athena Daemon will claim and execute. The request accepts one source Postgres URL and one Athena-managed target mode.

POST
/admin/provision/clones

Header Parameters

apikey*string

The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.

Request Body

application/json

source*
target*|
registration?
provisioning?
requested_by?|
max_attempts?|
Formatint32

Response Body

application/json

curl -X POST "https://athena-cluster.com/admin/provision/clones" \  -H "apikey: string" \  -H "Content-Type: application/json" \  -d '{    "source": {      "source_uri": "http://example.com"    },    "target": {      "mode": "create_managed_instance",      "client_name": "string"    }  }'
{
  "summary": {
    "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
    "status": "queued",
    "phase": "validate_source",
    "attempt_count": 0,
    "max_attempts": 0,
    "execution_daemon_id": "string",
    "cancel_requested": true,
    "requested_by": "string",
    "redacted_summary": {},
    "verification_summary": {},
    "failure_summary": {},
    "created_at": "2019-08-24T14:15:22Z",
    "started_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "completed_at": "2019-08-24T14:15:22Z"
  },
  "source": {},
  "target": {},
  "registration": {
    "register_runtime": false,
    "register_catalog": false,
    "register_name": "string",
    "description": "string"
  },
  "provisioning": {
    "provision_schema": false
  },
  "lease_expires_at": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty