hosting

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

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

બધા hosting એન્ડપૉઇન્ટ્સ

બધા ડેવલપર દસ્તાવેજો

પ્રમાણીકરણ

આ એન્ડપૉઇન્ટ સાર્વજનિક છે. તે કોઈ ઓળખપત્ર કે કોઈ સંસ્થા લેતો નથી — તે એ છે જે અમારી પોતાની માર્કેટિંગ સાઇટ અને AI જવાબ આપતા એન્જિન વાંચે છે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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