प्रमाणीकरण

बेरर टोकन म्हणून API की पाठवा. की मध्ये hosting.import.manage परवानगी असणे आवश्यक आहे; ती नसलेली की 404 ऐवजी 403 सह नाकारली जाते.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

curl -X POST https://api.zinndigital.com/v1/site-imports/{importId}/cancel \
  -H "Authorization: Bearer zdk_live_…"

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

Marks the job cancelled. The running workflow notices at the top of its next fetch batch and stops cleanly, which leaves the job's rows consistent — cancelling the workflow itself would abort mid-batch with items half-written. An already-finished job returns 422. Requires hosting.import.manage.

पॅरामीटर्स

नावप्रकारआवश्यकहे काय आहे
importId (path)UuidहोयSite-import job ID (UUIDv7).

प्रतिसाद

नावप्रकारआवश्यकहे काय आहे
idUuidहोयUUIDv7 identifier — sortable by creation time (docs/02 §8).
site_idstringनाहीThe site this import lands on, or empty. Empty is a real outcome, not an error: an aged-domain restore produces a downloadable bundle and the customer picks the target afterwards.
sourceSiteImportSourceहोयWhere the content comes from. ⛔ Deliberately not the same enum as a site's source: that one records what a site was built from, for ever, while this selects a fetch strategy and…
outputSiteImportOutputहोयWhat the import produces. Both are supported; neither is a default.
statusSiteImportStatusहोयfetching and building are separate states rather than one running because they fail for opposite reasons and the customer's next action differs — a stall in fetching is…
status_reasonstringनाहीA machine code the dashboard renders through its own catalogue — never an English sentence composed by the engine, which could not be shown to the other 57 locales.
source_domainstringहोय
target_domainstringनाही
snapshot_daystringनाही
crawl_depthintegerनाही
urls_totalintegerहोय
urls_doneintegerहोय
urls_failedintegerहोय
detected_platformstringनाहीWhat the archived site was built on, once the crawl has seen a page — the same codes as ArchivePlatform.platform. ⛔ Empty means not established, never plain HTML; the two…
pre_restore_backup_idstringनाहीThe safety backup taken of the target site immediately before this restore overwrote it. ⚖️ Owner ruling 2026-09-08: a restore onto a site that already has content is gated behind…
progress_percentintegerहोयFor a progress bar only. The per-URL counters are the primary display, because a percentage cannot say which step.
requests_spentintegerहोय
request_budgetintegerहोय
budget_exhaustedbooleanहोयTrue when the job stopped because it ran out of requests. Surfaced deliberately — it otherwise looks identical to a job that finished, and the customer's next action depends on…
bundle_bytesintegerनाही
created_atstringहोय
started_atstringनाही
finished_atstringनाही
can_cancelbooleanहोय

ही एंडपॉइंट परत करू शकेल अशा त्रुटी

401 · 403 · 404 · 422 · 429