Skip to content

Commit e216795

Browse files
feat(api): api update
1 parent 5d7cbe4 commit e216795

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 37
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-21a0195dcea548066fd6c227d634217b897900a6732a688e41c83344c2e92c94.yml
3-
openapi_spec_hash: 388f5780dc9bf205c04b6a6214e4fafc
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-758c3a2fbd5b7be61c8e6e0ad2e6a5ec30695747bb675960d888c497647d13d7.yml
3+
openapi_spec_hash: 00002d90bde02f67e174368ae470c597
44
config_hash: 2bea1743c84d63bd61f8501a6ea63065

pkg/cmd/batch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
var batchRetrieve = cli.Command{
1818
Name: "retrieve",
19-
Usage: "Check progress and get download links when the batch finishes. Also returns the\nrejected-URL list from submission. The webhook signing secret is not repeated\nhere — it is returned once, by the submit response.",
19+
Usage: "Check progress, and get download links once the batch finishes.",
2020
Suggest: true,
2121
Flags: []cli.Flag{
2222
&requestflag.Flag[string]{
@@ -88,7 +88,7 @@ var batchCancel = cli.Command{
8888

8989
var batchGetResults = cli.Command{
9090
Name: "get-results",
91-
Usage: "Page through the result records of a finished batch as JSON, in the same order\nas the downloadable result files. Use this instead of downloading and parsing\nthe NDJSON files yourself.",
91+
Usage: "Page through a finished batch's results as JSON instead of downloading the\nNDJSON files.",
9292
Suggest: true,
9393
Flags: []cli.Flag{
9494
&requestflag.Flag[string]{

pkg/cmd/web.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{
247247
},
248248
&requestflag.Flag[string]{
249249
Name: "country",
250-
Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.",
250+
Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).",
251251
QueryPath: "country",
252252
},
253253
&requestflag.Flag[string]{
@@ -461,7 +461,7 @@ var webWebCrawlMd = requestflag.WithInnerFlags(cli.Command{
461461
},
462462
&requestflag.Flag[string]{
463463
Name: "country",
464-
Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.",
464+
Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).",
465465
BodyPath: "country",
466466
},
467467
&requestflag.Flag[[]string]{
@@ -617,7 +617,7 @@ var webWebScrapeHTML = requestflag.WithInnerFlags(cli.Command{
617617
},
618618
&requestflag.Flag[string]{
619619
Name: "country",
620-
Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.",
620+
Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).",
621621
QueryPath: "country",
622622
},
623623
&requestflag.Flag[any]{
@@ -813,7 +813,7 @@ var webWebScrapeMd = requestflag.WithInnerFlags(cli.Command{
813813
},
814814
&requestflag.Flag[string]{
815815
Name: "country",
816-
Usage: "Two-letter ISO 3166-1 alpha-2 country code identifying a supported Context.dev residential proxy exit location. Must be one of Context.dev's supported countries. When provided, Context.dev fetches the target page from that country.",
816+
Usage: "Fetch the target page through a residential proxy in this country (ISO 3166-1 alpha-2).",
817817
QueryPath: "country",
818818
},
819819
&requestflag.Flag[any]{

0 commit comments

Comments
 (0)