hosting
GET /v1/migrations
Every migration across the organisation, newest first.
تصدیقهویت
یو API کی د بیئرر ټوکن (bearer token) په توګه ولیکئ. کی باید د sites.view اجازه ولري؛ له دې اجازې پرته کی د 404 پرځای د 403 په واسطه رد کیږي.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X GET https://api.zinndigital.com/v1/migrations \
-H "Authorization: Bearer zdk_live_…"ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
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.
پارامترونه
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
cursor (query) | string | نه | Opaque cursor from a previous page's page.next_cursor. |
limit (query) | integer | نه | Maximum items to return (page size). |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
data | OrgMigration[] | هو | — |
page | PageMeta | هو | — |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
401 · 403 · 429