Webhooks
Add organization's webhook
Add organization's webhook
post/webhooks/org/{orgName}
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.
Path parameters
orgNamestring required
Example:org1
Organization name
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.