Webhooks
Add user's webhook
Add user's webhook
post/webhooks/user
Request
- Base URLhttps://artifacthub.io/api/v1
- AuthAPI key in header X-API-KEY-ID and API key in header X-API-KEY-SECRET
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "webhook1",
"description": "description",
"url": "http://url",
"secret": "123abc",
"content_type": "application/json",
"template": "{\"text\": \"Package {{ .Package.Name }} version {{ .Package.Version }} released! {{ .Package.URL }}\"}"
}Response
The request has succeeded and has led to the creation of a resource
Changes
No recorded changes to this operation across all 1 revision of this API.