Request a sync of a git source from a push webhook
POST
/hooks/git/{sourceId}
const url = 'https://example.com/hooks/git/example';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/hooks/git/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”sourceId
required
string
Responses
Section titled “ Responses ”The call is valid.
Media typeapplication/json