hosting
GET /v1/migrations
Every migration across the organisation, newest first.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/migrations \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
The estate-wide view. The per-site list exists too and answers a different question: this one is "what is moving in, anywhere", which is the question a customer has when they are moving a hosting account rather than a site. Each row carries the site's name, domain and status so the screen renders without one request per row. A pure database read — nothing here costs a Temporal describe or a connection to anybody's old host. Requires sites.view.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
cursor (query) | string | Ne | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | Ne | Maximum items to return (page size). |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
data | OrgMigration[] | Ano | — |
page | PageMeta | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 429