hosting
GET /v1/migrations
Every migration across the organisation, newest first.
Uwierzytelnianie
Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie sites.view; klucz bez niego jest odrzucany z kodem 403, a nie 404.
Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.
Wypróbuj
Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.
curl -X GET https://api.zinndigital.com/v1/migrations \
-H "Authorization: Bearer zdk_live_…"Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API
Szczegóły
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
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
cursor (query) | string | Nie | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | Nie | Maximum items to return (page size). |
Odpowiedź
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
data | OrgMigration[] | Tak | — |
page | PageMeta | Tak | — |
Błędy, które ten punkt końcowy może zwrócić
401 · 403 · 429