Skip to content

Commit 1cd5fcf

Browse files
authored
docs(tem): add missing webhook service documentation (#2149)
1 parent 6ebeac2 commit 1cd5fcf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

api/tem/v1alpha1/tem_sdk.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ func (s *API) CreateWebhook(req *CreateWebhookRequest, opts ...scw.RequestOption
18121812
return &resp, nil
18131813
}
18141814

1815-
// ListWebhooks:
1815+
// ListWebhooks: Retrieve Webhooks in a specific Project or in a specific Organization using the `region` parameter.
18161816
func (s *API) ListWebhooks(req *ListWebhooksRequest, opts ...scw.RequestOption) (*ListWebhooksResponse, error) {
18171817
var err error
18181818

@@ -1853,7 +1853,7 @@ func (s *API) ListWebhooks(req *ListWebhooksRequest, opts ...scw.RequestOption)
18531853
return &resp, nil
18541854
}
18551855

1856-
// GetWebhook: Get information about a Webhook.
1856+
// GetWebhook: Retrieve information about a specific Webhook using the `webhook_id` and `region` parameters.
18571857
func (s *API) GetWebhook(req *GetWebhookRequest, opts ...scw.RequestOption) (*Webhook, error) {
18581858
var err error
18591859

@@ -1884,7 +1884,7 @@ func (s *API) GetWebhook(req *GetWebhookRequest, opts ...scw.RequestOption) (*We
18841884
return &resp, nil
18851885
}
18861886

1887-
// UpdateWebhook:
1887+
// UpdateWebhook: Update a Webhook events type, SNS ARN or name.
18881888
func (s *API) UpdateWebhook(req *UpdateWebhookRequest, opts ...scw.RequestOption) (*Webhook, error) {
18891889
var err error
18901890

@@ -1920,7 +1920,7 @@ func (s *API) UpdateWebhook(req *UpdateWebhookRequest, opts ...scw.RequestOption
19201920
return &resp, nil
19211921
}
19221922

1923-
// DeleteWebhook:
1923+
// DeleteWebhook: You must specify the Webhook you want to delete by the `region` and `webhook_id`. Deleting a Webhook is permanent and cannot be undone.
19241924
func (s *API) DeleteWebhook(req *DeleteWebhookRequest, opts ...scw.RequestOption) error {
19251925
var err error
19261926

@@ -1949,7 +1949,7 @@ func (s *API) DeleteWebhook(req *DeleteWebhookRequest, opts ...scw.RequestOption
19491949
return nil
19501950
}
19511951

1952-
// ListWebhookEvents:
1952+
// ListWebhookEvents: Retrieve the list of Webhook events triggered from a specific Webhook or for a specific Project or Organization. You must specify the `region`.
19531953
func (s *API) ListWebhookEvents(req *ListWebhookEventsRequest, opts ...scw.RequestOption) (*ListWebhookEventsResponse, error) {
19541954
var err error
19551955

0 commit comments

Comments
 (0)