Skip to content

Commit 0123bc8

Browse files
feat: [AI-1748][apps/api] Obtain custom certificates in API during session reservation
1 parent 397c60f commit 0123bc8

3 files changed

Lines changed: 4 additions & 20 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: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-3032c74460ad9c1c4b0a1b2d9107c556f292974a8ce12d525660a9cf31f10bc1.yml
3-
openapi_spec_hash: 8ac1c673ce4e72b88bbbf30100b95e8f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase/browserbase-090302cbdfdd8758ae5907f93842b16040a66772578d0327349135378e0bce40.yml
3+
openapi_spec_hash: cb19458f0642bea3cf6eaf91113f9fda
44
config_hash: cf04ecfb8dad5fbd8b85be25d6e9ec55

src/resources/fetch-api.ts

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ export interface FetchAPICreateResponse {
1919
id: string;
2020

2121
/**
22-
* The response body content. A string for `raw` and `markdown` formats; a
23-
* structured object for `json` format (the schema-extracted result).
22+
* The response body content
2423
*/
25-
content: string | { [key: string]: unknown };
24+
content: string;
2625

2726
/**
2827
* The MIME type of the response
@@ -61,23 +60,10 @@ export interface FetchAPICreateParams {
6160
*/
6261
allowRedirects?: boolean;
6362

64-
/**
65-
* Output format for the response content. `raw` (default) returns the response
66-
* body unchanged; `json` returns structured data (requires `schema`); `markdown`
67-
* returns the page as markdown.
68-
*/
69-
format?: 'raw' | 'json' | 'markdown';
70-
7163
/**
7264
* Whether to enable proxy support for the request
7365
*/
7466
proxies?: boolean;
75-
76-
/**
77-
* JSON Schema describing the desired structure of the response. Only used when
78-
* `format` is `json`.
79-
*/
80-
schema?: { [key: string]: unknown };
8167
}
8268

8369
export declare namespace FetchAPI {

tests/api-resources/fetch-api.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ describe('resource fetchAPI', () => {
2525
url: 'https://example.com',
2626
allowInsecureSsl: true,
2727
allowRedirects: true,
28-
format: 'raw',
2928
proxies: true,
30-
schema: { foo: 'bar' },
3129
});
3230
});
3331
});

0 commit comments

Comments
 (0)