Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c66151a

Browse files
committedMar 13, 2025
feat(api): api update (#3954)
1 parent e031240 commit c66151a

File tree

146 files changed

+3407
-3272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+3407
-3272
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1542
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-948db90b67e56eee030c84195a5836541eb93a4bc6b46571f1b00d4cf069eb10.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fc5b966b698b287edea83ecae20186c967fd805bfd665e0b1d0aec760ee85636.yml

‎radar/aibotsummary.go

+21-22
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ func NewAIBotSummaryService(opts ...option.RequestOption) (r *AIBotSummaryServic
3434
return
3535
}
3636

37-
// Percentage of Internet traffic generated by AI user agents, over a given time
38-
// period.
37+
// Retrieves the distribution of traffic by AI user agent.
3938
func (r *AIBotSummaryService) UserAgent(ctx context.Context, query AIBotSummaryUserAgentParams, opts ...option.RequestOption) (res *AIBotSummaryUserAgentResponse, err error) {
4039
var env AIBotSummaryUserAgentResponseEnvelope
4140
opts = append(r.Options[:], opts...)
@@ -181,34 +180,34 @@ func (r aiBotSummaryUserAgentResponseMetaConfidenceInfoAnnotationJSON) RawJSON()
181180
}
182181

183182
type AIBotSummaryUserAgentParams struct {
184-
// Array of comma separated list of ASNs, start with `-` to exclude from results.
185-
// For example, `-174, 3356` excludes results from AS174, but includes results from
186-
// AS3356.
183+
// Comma-separated list of Autonomous System Numbers (ASNs). Prefix with `-` to
184+
// exclude ASNs from results. For example, `-174, 3356` excludes results from
185+
// AS174, but includes results from AS3356.
187186
ASN param.Field[[]string] `query:"asn"`
188-
// Array of comma separated list of continents (alpha-2 continent codes). Start
189-
// with `-` to exclude from results. For example, `-EU,NA` excludes results from
190-
// Europe, but includes results from North America.
187+
// Comma-separated list of continents (alpha-2 continent codes). Prefix with `-` to
188+
// exclude continents from results. For example, `-EU,NA` excludes results from EU,
189+
// but includes results from NA.
191190
Continent param.Field[[]string] `query:"continent"`
192191
// End of the date range (inclusive).
193192
DateEnd param.Field[[]time.Time] `query:"dateEnd" format:"date-time"`
194-
// For example, use `7d` and `7dControl` to compare this week with the previous
195-
// week. Use this parameter or set specific start and end dates (`dateStart` and
196-
// `dateEnd` parameters).
193+
// Filters results by the specified date range. For example, use `7d` and
194+
// `7dcontrol` to compare this week with the previous week. Use this parameter or
195+
// set specific start and end dates (`dateStart` and `dateEnd` parameters).
197196
DateRange param.Field[[]string] `query:"dateRange"`
198-
// Array of datetimes to filter the start of a series.
197+
// Start of the date range.
199198
DateStart param.Field[[]time.Time] `query:"dateStart" format:"date-time"`
200-
// Format results are returned in.
199+
// Format in which results will be returned.
201200
Format param.Field[AIBotSummaryUserAgentParamsFormat] `query:"format"`
202-
// Limit the number of objects (e.g., browsers, verticals, etc.) to the top items
203-
// within the specified time range. If the limitPerGroup is set, the response will
204-
// include that number of items, with the remaining items grouped together under an
205-
// "other" category.
201+
// Limits the number of objects per group to the top items within the specified
202+
// time range. If there are more items than the limit, the response will include
203+
// the count of items, with any remaining items grouped together under an "other"
204+
// category.
206205
LimitPerGroup param.Field[int64] `query:"limitPerGroup"`
207-
// Array of comma separated list of locations (alpha-2 country codes). Start with
208-
// `-` to exclude from results. For example, `-US,PT` excludes results from the US,
209-
// but includes results from PT.
206+
// Comma-separated list of locations (alpha-2 codes). Prefix with `-` to exclude
207+
// locations from results. For example, `-US,PT` excludes results from the US, but
208+
// includes results from PT.
210209
Location param.Field[[]string] `query:"location"`
211-
// Array of names that will be used to name the series in responses.
210+
// Array of names used to label the series in the response.
212211
Name param.Field[[]string] `query:"name"`
213212
}
214213

@@ -221,7 +220,7 @@ func (r AIBotSummaryUserAgentParams) URLQuery() (v url.Values) {
221220
})
222221
}
223222

224-
// Format results are returned in.
223+
// Format in which results will be returned.
225224
type AIBotSummaryUserAgentParamsFormat string
226225

227226
const (

0 commit comments

Comments
 (0)
Please sign in to comment.