Hostingsurge Migrations API
The Migrations API from Hostingsurge — 27 operation(s) for migrations.
Operations 29
POST
/migrations/batch
Import several (or all) Vercel projects: one import per project, analyzed one…
#
POST
/migrations/providers/projects
List the projects (and teams) a Vercel access token can read, to choose what to…
#
POST
/migrations/cpanel/test
Check cPanel (mode uapi) or WHM (mode whm) sign-in details in a few seconds…
#
POST
/migrations/{migrationId}/crons/enable
Turn on the cron jobs of the old host that the import created paused (after the…
#
GET
/migrations/{migrationId}/plan-check
What the team's plan says about the import before Start: the site class it…
#
POST
/migrations/{migrationId}/analyze
Analyze (again): reads the source or the uploaded files and prepares the…
#
POST
/migrations/{migrationId}/databases/{databaseKey}/connect
Vercel review: read a Neon (Vercel Postgres) database's connection string with…
#
POST
/migrations/{migrationId}/start
Start the import after the review: creates the project (or WordPress site /…
#
POST
/migrations/{migrationId}/retry
Continue a failed import from the step that failed (Migration.resume), with the…
#
POST
/migrations/{migrationId}/discard
Before starting over: delete what a failed or canceled import created…
#
POST
/migrations/{migrationId}/cutover
Connect your domain: adds it to the project, checks DNS and ownership and…
#
POST
/migrations/{migrationId}/final-sync
Vercel/Heroku imports that moved databases: copy them once more right before…
#
POST
/migrations/{migrationId}/mail-check
Check the mail of the domains a cutover connects: what it runs on (MX, SPF…
#
POST
/migrations/{migrationId}/mail
cPanel: move the account's mail to Hostingsurge's mail service: each domain in…
#
POST
/migrations/{migrationId}/mail/sync
cPanel, after a mail move: copy the moved mailboxes from the old server over…
#
POST
/migrations/{migrationId}/preview-check
Check the preview again: broken pages and files, mixed content, the old site…
#
GET
/migrations/{migrationId}/files-report
Download the whole list of a live cPanel download's files that did not arrive…
#
POST
/migrations/{migrationId}/artifacts
Start (or resume, same name and size) a chunked upload of a backup file: 16 MiB…
#
POST
/migrations/{migrationId}/upload-link
Declare one backup file (like POST /artifacts) and get a signed link that…
#
PUT
/migrations/{migrationId}/artifacts/{artifactId}/chunks/{index}
Upload chunk {index} (0-based) as application/octet-stream; ?sha256= verifies…
#
POST
/migrations/{migrationId}/artifacts/{artifactId}/complete
Assemble the chunks and verify the size and SHA-256
#
DELETE
/migrations/{migrationId}/artifacts/{artifactId}
Remove an uploaded or unfinished file (draft and review only)
#
POST
/migrations/move-requests
Ask Hostingsurge to move a site for you: stored for the team, which gets in…
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json