hosting
POST /v1/sites/{siteId}/clones/{cloneId}/retry
Finish a copy that failed, onto the same new site.
પ્રમાણીકરણ
એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે hosting.backup.manage પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.
આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.
આયમાવો
કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.
curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/clones/{cloneId}/retry \
-H "Authorization: Bearer zdk_live_…"साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો
વિગતો
Recovery goes to the step that failed: when the copy of this site was never made a new one is taken, and when it was it is reused. Either way it is restored onto the SAME new site, so a half-built site never has to be deleted to try again. 409 when the copy has not failed; 422 when its new site has been deleted. Requires hosting.backup.manage, because it overwrites the new site's content.
પેરામીટર્સ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
siteId (path) | Uuid | હા | Site ID (UUIDv7). |
cloneId (path) | Uuid | હા | The id of a row from listSiteClones. |
જવાબ
| નામ | પ્રકાર | જરૂરી | તે શું છે |
|---|---|---|---|
id | Uuid | હા | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
blueprint_id | Uuid | હા | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
site_id | Uuid | હા | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
site_name | string | હા | — |
site_domain | string | હા | — |
site_status | string | હા | The new site's status, or deleted when it no longer exists. |
step | SiteCloneStep | હા | copying — the copy of the original is being taken; waiting — the new site is still being built; restoring — the copy is being put onto it; done; failed. |
message | string | હા | Why it failed, or what still needs attention. English; shown verbatim. |
can_retry | boolean | હા | Whether retrySiteClone will accept this row. |
created_at | string | હા | — |
finished_at | object | ના | — |
આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે
401 · 403 · 404 · 409 · 422 · 429 · 503