Skip to content

Commit 9e3d9bd

Browse files
author
stlc-bot
committed
feat(secrets): add ID endpoints and latest-name updates
Stainless-Generated-From: 730588729c05f8d074a1107746a114fc19a47e2f
1 parent aff1b73 commit 9e3d9bd

21 files changed

Lines changed: 607 additions & 55 deletions

‎.stats.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
configured_endpoints: 91
1+
configured_endpoints: 94

‎api.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ Methods:
298298
- <code title="post /v1/secrets/{name}">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">update</a>(name, \*\*<a href="src/runloop_api_client/types/secret_update_params.py">params</a>) -> <a href="./src/runloop_api_client/types/secret_view.py">SecretView</a></code>
299299
- <code title="get /v1/secrets">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">list</a>(\*\*<a href="src/runloop_api_client/types/secret_list_params.py">params</a>) -> <a href="./src/runloop_api_client/types/secret_list_view.py">SecretListView</a></code>
300300
- <code title="post /v1/secrets/{name}/delete">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">delete</a>(name) -> <a href="./src/runloop_api_client/types/secret_view.py">SecretView</a></code>
301+
- <code title="post /v1/secrets/id/{id}/delete">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">delete_by_id</a>(id) -> <a href="./src/runloop_api_client/types/secret_view.py">SecretView</a></code>
302+
- <code title="get /v1/secrets/id/{id}">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">retrieve_by_id</a>(id) -> <a href="./src/runloop_api_client/types/secret_view.py">SecretView</a></code>
303+
- <code title="post /v1/secrets/id/{id}/update">client.secrets.<a href="./src/runloop_api_client/resources/secrets.py">update_by_id</a>(id, \*\*<a href="src/runloop_api_client/types/secret_update_by_id_params.py">params</a>) -> <a href="./src/runloop_api_client/types/secret_view.py">SecretView</a></code>
301304

302305
# NetworkPolicies
303306

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎src/runloop_api_client/resources/gateway_configs.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def create(
7373
7474
endpoint: The target endpoint URL (e.g., 'https://api.anthropic.com').
7575
76-
name: The human-readable name for the GatewayConfig. Must be unique within your
77-
account.
76+
name: The human-readable name for the GatewayConfig. Names are labels and may be
77+
reused.
7878
7979
custom_headers: Additional headers applied to proxied requests after the auth mechanism. At most
8080
8 entries.
@@ -178,7 +178,7 @@ def update(
178178
179179
endpoint: New target endpoint URL (e.g., 'https://api.anthropic.com').
180180
181-
name: New name for the GatewayConfig. Must be unique within your account.
181+
name: New name for the GatewayConfig. Names are labels and may be reused.
182182
183183
extra_headers: Send extra headers
184184
@@ -368,8 +368,8 @@ async def create(
368368
369369
endpoint: The target endpoint URL (e.g., 'https://api.anthropic.com').
370370
371-
name: The human-readable name for the GatewayConfig. Must be unique within your
372-
account.
371+
name: The human-readable name for the GatewayConfig. Names are labels and may be
372+
reused.
373373
374374
custom_headers: Additional headers applied to proxied requests after the auth mechanism. At most
375375
8 entries.
@@ -473,7 +473,7 @@ async def update(
473473
474474
endpoint: New target endpoint URL (e.g., 'https://api.anthropic.com').
475475
476-
name: New name for the GatewayConfig. Must be unique within your account.
476+
name: New name for the GatewayConfig. Names are labels and may be reused.
477477
478478
extra_headers: Send extra headers
479479

‎src/runloop_api_client/resources/mcp_configs.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def create(
7575
7676
endpoint: The target MCP server endpoint URL (e.g., 'https://mcp.example.com').
7777
78-
name: The human-readable name for the McpConfig. Must be unique within your account.
78+
name: The human-readable name for the McpConfig. Names are labels and may be reused.
7979
The first segment before '-' is used as the service name for tool routing (e.g.,
8080
'github-readonly' uses 'github' as the service name).
8181
@@ -189,7 +189,7 @@ def update(
189189
190190
endpoint: New target MCP server endpoint URL.
191191
192-
name: New name for the McpConfig. Must be unique within your account.
192+
name: New name for the McpConfig. Names are labels and may be reused.
193193
194194
extra_headers: Send extra headers
195195
@@ -381,7 +381,7 @@ async def create(
381381
382382
endpoint: The target MCP server endpoint URL (e.g., 'https://mcp.example.com').
383383
384-
name: The human-readable name for the McpConfig. Must be unique within your account.
384+
name: The human-readable name for the McpConfig. Names are labels and may be reused.
385385
The first segment before '-' is used as the service name for tool routing (e.g.,
386386
'github-readonly' uses 'github' as the service name).
387387
@@ -495,7 +495,7 @@ async def update(
495495
496496
endpoint: New target MCP server endpoint URL.
497497
498-
name: New name for the McpConfig. Must be unique within your account.
498+
name: New name for the McpConfig. Names are labels and may be reused.
499499
500500
extra_headers: Send extra headers
501501

‎src/runloop_api_client/resources/network_policies.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def create(
7171
be applied to blueprints, devboxes, or snapshot resumes.
7272
7373
Args:
74-
name: The human-readable name for the NetworkPolicy. Must be unique within the
75-
account.
74+
name: The human-readable name for the NetworkPolicy. Names are labels and may be
75+
reused.
7676
7777
allow_agent_gateway: (Optional) If true, allows devbox egress to the agent gateway for credential
7878
proxying. Defaults to false.
@@ -406,8 +406,8 @@ async def create(
406406
be applied to blueprints, devboxes, or snapshot resumes.
407407
408408
Args:
409-
name: The human-readable name for the NetworkPolicy. Must be unique within the
410-
account.
409+
name: The human-readable name for the NetworkPolicy. Names are labels and may be
410+
reused.
411411
412412
allow_agent_gateway: (Optional) If true, allows devbox egress to the agent gateway for credential
413413
proxying. Defaults to false.

0 commit comments

Comments
 (0)