hosting
GET /v1/migrations
Every migration across the organisation, newest first.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/migrations \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
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.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
cursor (query) | string | Hayır | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | Hayır | Maximum items to return (page size). |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
data | OrgMigration[] | Evet | — |
page | PageMeta | Evet | — |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 429