Get user's webhook
Changed onGet user's webhook
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
Webhook ID
Response
Example response
{
"name": "webhook1",
"description": "description",
"url": "http://url",
"secret": "123abc",
"content_type": "application/json",
"template": "{\"text\": \"Package {{ .Package.Name }} version {{ .Package.Version }} released! {{ .Package.URL }}\"}",
"packages": [
{
"name": "pkg1",
"normalized_name": "pkg1",
"logo_image_id": "12345abcde",
"display_name": "Package 1",
"description": "This is a package sample",
"version": "1.0.0",
"app_version": "0.1.0",
"license": "MIT",
"repository": {
"name": "repo1",
"display_name": "Repository 1",
"url": "http://repourl",
"user_alias": "jdoe",
"organization_name": "org1",
"organization_display_name": "Organization 1"
},
"category_display_name": "Database",
"stars": 3
}
],
"last_notifications": [
{
"error": "error"
}
]
}Changes
- warning
added the new
10.00enum value to the////response property for the response status - warning
added the new
11.00enum value to the////response property for the response status - warning
added the new
9.00enum value to the////response property for the response status - info
added the optional property
////to the response with the status
- warning
- warning
added the new
22.00enum value to the////////response property for the response status - warning
added the new
23.00enum value to the////////response property for the response status - warning
added the new
24.00enum value to the////////response property for the response status - warning
added the new
25.00enum value to the////////response property for the response status - warning
added the new
26.00enum value to the////////response property for the response status - warning
added the new
27.00enum value to the////////response property for the response status
- warning