Skip to content

Commit 5a543dc

Browse files
author
stlc-bot
committed
docs(scrape): describe late scrape outputs as per-output REQUEST_TIMEOUT in a 200 (#3080)
Stainless-Generated-From: 620bbd8692018ba806558276c96772b5c2d4869e
1 parent ccf46ce commit 5a543dc

12 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎src/Batch/BatchSubmitParams/Input/Crawl/Data/TimeoutOpts.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class TimeoutOpts implements BaseModel
2929
public int $milliseconds;
3030

3131
/**
32-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
32+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
3333
*
3434
* @var value-of<Behavior>|null $behavior
3535
*/
@@ -87,7 +87,7 @@ public function withMilliseconds(int $milliseconds): self
8787
}
8888

8989
/**
90-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
90+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
9191
*
9292
* @param Behavior|value-of<Behavior> $behavior
9393
*/

‎src/Batch/BatchSubmitParams/Input/Crawl/Data/TimeoutOpts/Behavior.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ContextDev\Batch\BatchSubmitParams\Input\Crawl\Data\TimeoutOpts;
66

77
/**
8-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
8+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
99
*/
1010
enum Behavior: string
1111
{

‎src/Batch/BatchSubmitParams/Input/Scrape/Data/TimeoutOpts.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class TimeoutOpts implements BaseModel
2929
public int $milliseconds;
3030

3131
/**
32-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
32+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
3333
*
3434
* @var value-of<Behavior>|null $behavior
3535
*/
@@ -87,7 +87,7 @@ public function withMilliseconds(int $milliseconds): self
8787
}
8888

8989
/**
90-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
90+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
9191
*
9292
* @param Behavior|value-of<Behavior> $behavior
9393
*/

‎src/Batch/BatchSubmitParams/Input/Scrape/Data/TimeoutOpts/Behavior.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ContextDev\Batch\BatchSubmitParams\Input\Scrape\Data\TimeoutOpts;
66

77
/**
8-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
8+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
99
*/
1010
enum Behavior: string
1111
{

‎src/Web/WebExtractStyleguideParams/TimeoutOpts.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class TimeoutOpts implements BaseModel
2929
public int $milliseconds;
3030

3131
/**
32-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
32+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
3333
*
3434
* @var value-of<Behavior>|null $behavior
3535
*/
@@ -87,7 +87,7 @@ public function withMilliseconds(int $milliseconds): self
8787
}
8888

8989
/**
90-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
90+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
9191
*
9292
* @param Behavior|value-of<Behavior> $behavior
9393
*/

‎src/Web/WebExtractStyleguideParams/TimeoutOpts/Behavior.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ContextDev\Web\WebExtractStyleguideParams\TimeoutOpts;
66

77
/**
8-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
8+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
99
*/
1010
enum Behavior: string
1111
{

‎src/Web/WebScrapeParams/TimeoutOpts.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class TimeoutOpts implements BaseModel
2929
public int $milliseconds;
3030

3131
/**
32-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
32+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
3333
*
3434
* @var value-of<Behavior>|null $behavior
3535
*/
@@ -87,7 +87,7 @@ public function withMilliseconds(int $milliseconds): self
8787
}
8888

8989
/**
90-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
90+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
9191
*
9292
* @param Behavior|value-of<Behavior> $behavior
9393
*/

‎src/Web/WebScrapeParams/TimeoutOpts/Behavior.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ContextDev\Web\WebScrapeParams\TimeoutOpts;
66

77
/**
8-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
8+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
99
*/
1010
enum Behavior: string
1111
{

‎src/Web/WebScreenshotParams/TimeoutOpts.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class TimeoutOpts implements BaseModel
2929
public int $milliseconds;
3030

3131
/**
32-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
32+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
3333
*
3434
* @var value-of<Behavior>|null $behavior
3535
*/
@@ -87,7 +87,7 @@ public function withMilliseconds(int $milliseconds): self
8787
}
8888

8989
/**
90-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
90+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
9191
*
9292
* @param Behavior|value-of<Behavior> $behavior
9393
*/

‎src/Web/WebScreenshotParams/TimeoutOpts/Behavior.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ContextDev\Web\WebScreenshotParams\TimeoutOpts;
66

77
/**
8-
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms.
8+
* "fail" returns 408 at the deadline. "return-partial" returns available results; inspect the response’s partial flag. "return-partial" requires at least 5000 ms. On POST /web/scrape, an output that is not ready in time fails with error_code REQUEST_TIMEOUT inside a 200 response under either behavior; 408 is returned only when the whole request cannot respond by the deadline.
99
*/
1010
enum Behavior: string
1111
{

0 commit comments

Comments
 (0)