Skip to content

Commit 8a6e940

Browse files
committed
fix: point devboxes.watch_evictions at /v1/devboxes/evictions/watch
The mux SSE route moved from /v1/devboxes/watch_evictions to /v1/devboxes/evictions/watch (runloopai/runloop#10409) to avoid colliding with GET /v1/devboxes/{id}. Update the generated request path so the watch_evictions method reaches the new endpoint. Method surface unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ffdd21b commit 8a6e940

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Methods:
245245
- <code title="post /v1/devboxes/{id}/suspend">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">suspend</a>(id) -> <a href="./src/runloop_api_client/types/devbox_view.py">DevboxView</a></code>
246246
- <code title="post /v1/devboxes/{id}/upload_file">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">upload_file</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_upload_file_params.py">params</a>) -> object</code>
247247
- <code title="post /v1/devboxes/{devbox_id}/executions/{execution_id}/wait_for_status">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">wait_for_command</a>(execution_id, \*, devbox_id, \*\*<a href="src/runloop_api_client/types/devbox_wait_for_command_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_async_execution_detail_view.py">DevboxAsyncExecutionDetailView</a></code>
248-
- <code title="get /v1/devboxes/watch_evictions">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">watch_evictions</a>() -> <a href="./src/runloop_api_client/types/devbox_eviction_event_view.py">DevboxEvictionEventView</a></code>
248+
- <code title="get /v1/devboxes/evictions/watch">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">watch_evictions</a>() -> <a href="./src/runloop_api_client/types/devbox_eviction_event_view.py">DevboxEvictionEventView</a></code>
249249
- <code title="post /v1/devboxes/{id}/write_file_contents">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">write_file_contents</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_write_file_contents_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_execution_detail_view.py">DevboxExecutionDetailView</a></code>
250250

251251

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ def watch_evictions(
17621762
and delivery is not guaranteed.
17631763
"""
17641764
return self._get(
1765-
"/v1/devboxes/watch_evictions",
1765+
"/v1/devboxes/evictions/watch",
17661766
options=make_request_options(
17671767
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
17681768
),
@@ -3464,7 +3464,7 @@ async def watch_evictions(
34643464
and delivery is not guaranteed.
34653465
"""
34663466
return await self._get(
3467-
"/v1/devboxes/watch_evictions",
3467+
"/v1/devboxes/evictions/watch",
34683468
options=make_request_options(
34693469
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
34703470
),

0 commit comments

Comments
 (0)