Skip to content

Commit 000bd7c

Browse files
feat(api): api update
1 parent a2650d4 commit 000bd7c

2 files changed

Lines changed: 5 additions & 4 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: 36
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-09b6020939995033719a53b988fb00bdb20c42d87070975a8d6b469fa18128fb.yml
3-
openapi_spec_hash: ba3e471937a679e2c45c0b9a115fca5c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-6320934d3b42a03cc52429218247595c7119e91a615db570070f71849aaa74de.yml
3+
openapi_spec_hash: c63aeaa0fdcc422e8ad59c9fb30d2476
44
config_hash: 7ec4851ee8d93177947e95df5ae897b5

‎src/context/dev/types/web_web_scrape_html_response.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,11 @@ class WebWebScrapeHTMLResponse(BaseModel):
116116
success: Literal[True]
117117
"""Indicates success"""
118118

119-
type: Literal["html", "xml", "json", "text", "csv", "markdown", "svg", "pdf", "docx", "doc"]
119+
type: Literal["html", "xml", "json", "text", "csv", "markdown", "svg", "pdf", "docx", "doc", "xlsx", "xls"]
120120
"""Detected content type of the returned `html` field.
121121
122-
Sitemaps and feeds are surfaced as `xml`; ordinary pages are `html`.
122+
Sitemaps and feeds are surfaced as `xml`; ordinary pages are `html`. Excel
123+
workbooks are surfaced as `xlsx`/`xls` with the extracted sheets as HTML tables.
123124
"""
124125

125126
url: str

0 commit comments

Comments
 (0)