Skip to content

Commit 41ee2e8

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

2 files changed

Lines changed: 8 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-6320934d3b42a03cc52429218247595c7119e91a615db570070f71849aaa74de.yml
3-
openapi_spec_hash: c63aeaa0fdcc422e8ad59c9fb30d2476
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-171b4c39eb26210aad8afd74d63d620bf45f7e0b7f2de3938c7239741ea3f2f4.yml
3+
openapi_spec_hash: 752c05fc817dc766061bd4357bd327ba
44
config_hash: 7ec4851ee8d93177947e95df5ae897b5

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

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

119-
type: Literal["html", "xml", "json", "text", "csv", "markdown", "svg", "pdf", "docx", "doc", "xlsx", "xls"]
119+
type: Literal[
120+
"html", "xml", "json", "text", "csv", "markdown", "svg", "pdf", "docx", "doc", "xlsx", "xls", "pptx", "ppt"
121+
]
120122
"""Detected content type of the returned `html` field.
121123
122124
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.
125+
workbooks are surfaced as `xlsx`/`xls` with the extracted sheets as HTML tables;
126+
PowerPoint presentations are surfaced as `pptx`/`ppt` with the extracted slides
127+
as HTML.
124128
"""
125129

126130
url: str

0 commit comments

Comments
 (0)