hosting

POST /v1/webhooks/git/{provider}/{repoId}

Ingest a push from a customer's git provider and deploy it.

सभी hosting एंडपॉइंट्स

सभी डेवलपर दस्तावेज़

प्रमाणन

यह एंडपॉइंट सार्वजनिक है। यह कोई क्रेडेंशियल और कोई संगठन नहीं लेता है—यह वही है जिसे हमारी अपनी मार्केटिंग साइट और AI उत्तर इंजन पढ़ते हैं।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

curl -X POST https://api.zinndigital.com/v1/webhooks/git/{provider}/{repoId}

साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें

विवरण

Unauthenticated by design — the git provider holds no Zinn® credential, so the signature over the raw body is the authentication. A verified push on the branch a repository is wired to triggers a deploy of that site. ⛔ The repoId in the path identifies which connection's secret verifies the signature; it is not a permission. A request whose signature does not verify is refused before anything is read from it.

पैरामीटर

नामप्रकारआवश्यकयह क्या है
provider (path)string<github, gitlab, bitbucket>हाँThe git host that sent the push.
repoId (path)stringहाँThe connected repository this push belongs to.

प्रतिक्रिया

नामप्रकारआवश्यकयह क्या है
statusstring<handled, ignored, duplicate>हाँhandled — acted on. ignored — a valid event of a type Zinn® does not consume. duplicate — already processed; Stripe may stop redelivering.

त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है

400 · 404