Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Mar 12, 2024
1 parent c2bbbba commit 2991edd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1,076 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1288
configured_endpoints: 1282
14 changes: 0 additions & 14 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5111,20 +5111,6 @@ Methods:

## Widgets

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetList">NcChallengesAdminWidgetList</a>

Methods:

- <code title="post /accounts/{account_identifier}/challenges/widgets">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetNewParams">WidgetNewParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_identifier}/challenges/widgets/{sitekey}">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, sitekey <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetUpdateParams">WidgetUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_identifier}/challenges/widgets">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetListParams">WidgetListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/shared#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetList">NcChallengesAdminWidgetList</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_identifier}/challenges/widgets/{sitekey}">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, sitekey <a href="https://pkg.go.dev/builtin#string">string</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_identifier}/challenges/widgets/{sitekey}">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, sitekey <a href="https://pkg.go.dev/builtin#string">string</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_identifier}/challenges/widgets/{sitekey}/rotate_secret">client.Challenges.Widgets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetService.RotateSecret">RotateSecret</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, sitekey <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#WidgetRotateSecretParams">WidgetRotateSecretParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges">challenges</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/challenges#NcChallengesAdminWidgetDetail">NcChallengesAdminWidgetDetail</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

# Hyperdrive

## Configs
Expand Down

0 comments on commit 2991edd

Please sign in to comment.