You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5193bc1
Browse filesBrowse the repository at this point in the historyBrowse files
stlc-bot
committed
fix(scrape): derive the /web/scrape request spec from its zod schema (#2044)
@@ -1170,7 +1170,7 @@ class BatchUnifiedScrapeData < ContextDev::Internal::Type::BaseModel
1170
1170
#
1171
1171
# @param shared_params [ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::BatchUnifiedScrapeData::SharedParams] Browser and content settings shared by all outputs.
1172
1172
#
1173
-
# @param tags [Array<String>] Labels for tracking request usage. Not retained when zdr is enabled.
1173
+
# @param tags [Array<String>] Labels for filtering usage in the dashboard.
1174
1174
#
1175
1175
# @param timeout_opts [ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::BatchUnifiedScrapeData::TimeoutOpts] Deadline for each page, using the same behavior and defaults as POST /web/scrape
1176
1176
#
@@ -1848,10 +1848,20 @@ class ProductParams < ContextDev::Internal::Type::BaseModel
@@ -4190,7 +4200,7 @@ class BatchUnifiedCrawlData < ContextDev::Internal::Type::BaseModel
4190
4200
#
4191
4201
# @param shared_params [ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::BatchUnifiedCrawlData::SharedParams] Browser and content settings shared by all outputs.
4192
4202
#
4193
-
# @param tags [Array<String>] Labels for tracking request usage. Not retained when zdr is enabled.
4203
+
# @param tags [Array<String>] Labels for filtering usage in the dashboard.
4194
4204
#
4195
4205
# @param timeout_opts [ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::BatchUnifiedCrawlData::TimeoutOpts] Deadline for each page, using the same behavior and defaults as POST /web/scrape
4196
4206
#
@@ -5140,10 +5150,20 @@ class ProductParams < ContextDev::Internal::Type::BaseModel
@@ -131,9 +130,9 @@ class WebScrapeParams < ContextDev::Internal::Type::BaseModel
131
130
#
132
131
# @param shared_params [ContextDev::Models::WebScrapeParams::SharedParams] Browser and content settings shared by all outputs.
133
132
#
134
-
# @param tags [Array<String>] Labels for tracking request usage. Not retained when zdr is enabled.
133
+
# @param tags [Array<String>] Labels for filtering usage in the dashboard.
135
134
#
136
-
# @param timeout_opts [ContextDev::Models::WebScrapeParams::TimeoutOpts] Deadline for the whole request. Defaults to 90000 ms with `fail`. Fixed waits mu
135
+
# @param timeout_opts [ContextDev::Models::WebScrapeParams::TimeoutOpts] Request deadline and what to return when it passes.
137
136
#
138
137
# @param zdr [Symbol, ContextDev::Models::WebScrapeParams::Zdr] `enabled` turns on zero data retention. Your organization must have ZDR enabled.
139
138
#
@@ -755,10 +754,20 @@ class ProductParams < ContextDev::Internal::Type::BaseModel
Copy file name to clipboardExpand all lines: lib/context_dev/resources/web.rb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -209,9 +209,9 @@ def map_urls(params)
209
209
#
210
210
# @param shared_params [ContextDev::Models::WebScrapeParams::SharedParams] Browser and content settings shared by all outputs.
211
211
#
212
-
# @param tags [Array<String>] Labels for tracking request usage. Not retained when zdr is enabled.
212
+
# @param tags [Array<String>] Labels for filtering usage in the dashboard.
213
213
#
214
-
# @param timeout_opts [ContextDev::Models::WebScrapeParams::TimeoutOpts] Deadline for the whole request. Defaults to 90000 ms with `fail`. Fixed waits mu
214
+
# @param timeout_opts [ContextDev::Models::WebScrapeParams::TimeoutOpts] Request deadline and what to return when it passes.
215
215
#
216
216
# @param zdr [Symbol, ContextDev::Models::WebScrapeParams::Zdr] `enabled` turns on zero data retention. Your organization must have ZDR enabled.
0 commit comments