Webhooks
Create webhook
Changed onCreates a new webhook for a stack. The webhook secret is auto-generated and only returned in the creation response. Requires admin role.
post/api/webhooks
Request
- Base URLhttps://localhost:1852
- URLhttps://localhost:1852/api/webhooks
- AuthHTTP bearer
Request body
Example request
{
"name": "GitHub Deploy Hook",
"stack_name": "my-app"
}Response
Webhook created. The secret field is the HMAC signing key; save it now.
Changes
- info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status - info
removed the
ADMIRAL_REQUIREDenum value from theresponse property for the response status
- info
- warning
the
request property's maxLength was set to100 - info
added the new optional request property
- info
added the new
git-pullenum value to the request property
- warning