Migrations

List the projects (and teams) a Vercel access token can read, to choose what to import. The token is used for this call only

post/migrations/providers/projects

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/migrations/providers/projects
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Query parameters

orgIdstring

Request body

provider'vercel' | 'netlify' | 'heroku' required
tokenstring required

Read access token. Used for this one listing only; never stored, returned or logged

teamIdstring

Vercel only: list the projects of this team instead of the personal account

Response

Teams and projects

truncatedboolean required

the account has more projects than were listed

Changes

No recorded changes to this operation across all 1 revision of this API.