ProvisionClones
List or create durable Postgres clone jobs
Returns redacted control-plane state for Athena-managed Postgres clone jobs.
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.
Response Body
application/json
curl -X GET "https://athena-cluster.com/admin/provision/clones" \ -H "apikey: string"{
"jobs": [
{
"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"
}
]
}Empty
Empty
Provision a database with the Athena schema POST
Runs the bundled provisioning SQL against either a direct `uri` or a registered `client_name`. When `register` is true and `uri` is provided, the client is added to the runtime catalog after provisioning.
List or create durable Postgres clone jobs POST
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.