File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 1571
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bcf7617272ec0b0db145fbe356f804b8261a42c820975eb2c52c0ce0ae39f2cb .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7af102e2f912eabbee2bcef5940326458c5568c07e57297f6b2b46c2ea3259a8 .yml
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ type Webhooks struct {
152
152
// The name of the webhook destination. This will be included in the request body
153
153
// when you receive a webhook notification.
154
154
Name string `json:"name"`
155
+ // Optional secret that will be passed in the `cf-webhook-auth` header when
156
+ // dispatching generic webhook notifications or formatted for supported
157
+ // destinations. Secrets are not returned in any API response body.
158
+ Secret string `json:"secret"`
155
159
// Type of webhook endpoint.
156
160
Type WebhooksType `json:"type"`
157
161
// The POST endpoint to call when dispatching a notification.
@@ -166,6 +170,7 @@ type webhooksJSON struct {
166
170
LastFailure apijson.Field
167
171
LastSuccess apijson.Field
168
172
Name apijson.Field
173
+ Secret apijson.Field
169
174
Type apijson.Field
170
175
URL apijson.Field
171
176
raw string
You can’t perform that action at this time.
0 commit comments