mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
docs(webhooks): document required endpoint and webhook type [EE-5286] (#8973)
This commit is contained in:
parent
8acea44ee8
commit
ef00350922
3 changed files with 16 additions and 13 deletions
|
@ -1306,11 +1306,12 @@ type (
|
|||
// Webhook represents a url webhook that can be used to update a service
|
||||
Webhook struct {
|
||||
// Webhook Identifier
|
||||
ID WebhookID `json:"Id" example:"1"`
|
||||
Token string `json:"Token"`
|
||||
ResourceID string `json:"ResourceId"`
|
||||
EndpointID EndpointID `json:"EndpointId"`
|
||||
RegistryID RegistryID `json:"RegistryId"`
|
||||
ID WebhookID `json:"Id" example:"1"`
|
||||
Token string `json:"Token"`
|
||||
ResourceID string `json:"ResourceId"`
|
||||
EndpointID EndpointID `json:"EndpointId"`
|
||||
RegistryID RegistryID `json:"RegistryId"`
|
||||
// Type of webhook (1 - service)
|
||||
WebhookType WebhookType `json:"Type"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue