Skip to content

Commit 8fe56bd

Browse files
feat: profile download: 409 for empty profile + surface API errors in dashboard
1 parent 05d09a4 commit 8fe56bd

2 files changed

Lines changed: 3 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: 112
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a674e3c4c0063942621d1b4e7f67b72f7e240c12dd88564fe16627618ba33dd6.yml
3-
openapi_spec_hash: 8b97c87f0dafe5fc5e5a7365f3687755
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4ce09d1a7546ab36f578cb27d819187eeb90c580b11834c7ff7a375aa22f9a20.yml
3+
openapi_spec_hash: 1043ab2d699f6c828680c3352cd4cece
44
config_hash: 08d55086449943a8fec212b870061a3f

src/resources/profiles.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ export class Profiles extends APIResource {
4949
}
5050

5151
/**
52-
* Download the profile. Profiles are JSON files containing the pieces of state
53-
* that we save.
52+
* Returns a zstd-compressed tar file of the full user-data directory.
5453
*/
5554
download(idOrName: string, options?: RequestOptions): APIPromise<Response> {
5655
return this._client.get(path`/profiles/${idOrName}/download`, {

0 commit comments

Comments
 (0)