Skip to content

Commit 80d82cf

Browse files
fix(mux): move eviction-watch SSE route off the /{id} slot (#10409)
1 parent 043ebbc commit 80d82cf

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 120
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-6fb96a2de54d260cad2b76366cada4eda15335275dbab7f6c108c1bb29acf309.yml
3-
openapi_spec_hash: 6044f4a4da13881c5f82fcc394c1f43b
4-
config_hash: 92c04f0b12249cb2d2bcf9e503a9cbf9
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-50686c7a06e432373c5dd7e771ab1483a6ca0531b1dd9a10fc31c0cf2833bcdf.yml
3+
openapi_spec_hash: a554b4d3815148c094778b53bfe20b21
4+
config_hash: 6d102da8b9fcc3d0deb42d7a707e78c6

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Methods:
214214
- <code title="post /v1/devboxes/{id}/suspend">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">suspend</a>(id) -> DevboxView</code>
215215
- <code title="post /v1/devboxes/{id}/upload_file">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">uploadFile</a>(id, { ...params }) -> unknown</code>
216216
- <code title="post /v1/devboxes/{devbox_id}/executions/{execution_id}/wait_for_status">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">waitForCommand</a>(devboxId, executionId, { ...params }) -> DevboxAsyncExecutionDetailView</code>
217-
- <code title="get /v1/devboxes/watch_evictions">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">watchEvictions</a>() -> DevboxEvictionEventView</code>
217+
- <code title="get /v1/devboxes/evictions/watch">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">watchEvictions</a>() -> DevboxEvictionEventView</code>
218218
- <code title="post /v1/devboxes/{id}/write_file_contents">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">writeFileContents</a>(id, { ...params }) -> DevboxExecutionDetailView</code>
219219

220220
## DiskSnapshots

src/resources/devboxes/devboxes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ export class Devboxes extends APIResource {
548548
* and delivery is not guaranteed.
549549
*/
550550
watchEvictions(options?: Core.RequestOptions): APIPromise<Stream<DevboxEvictionEventView>> {
551-
return this._client.get('/v1/devboxes/watch_evictions', { ...options, stream: true }) as APIPromise<
551+
return this._client.get('/v1/devboxes/evictions/watch', { ...options, stream: true }) as APIPromise<
552552
Stream<DevboxEvictionEventView>
553553
>;
554554
}

0 commit comments

Comments
 (0)