From 99abe5ca92f2e5c42ca8257cb149aef6f538554b Mon Sep 17 00:00:00 2001 From: Shengming Liang <231182611+AgentWings@users.noreply.github.com> Date: Thu, 19 Nov 2026 16:29:52 -0800 Subject: [PATCH] chore(contract): pin the contract with machine ports --- api-contract.json | 60 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/api-contract.json b/api-contract.json index c7418c4..8b18b73 100644 --- a/api-contract.json +++ b/api-contract.json @@ -1,6 +1,6 @@ { - "source_sha": "9f8d54f123e81b8bc7252f855c52ecbf7cc8ae42", - "spec_sha256": "c0b2db893e3017c5c83c14375e6085581584641f617ee7ea1305ab80e9b50421", + "source_sha": "33b1723ceb008dfddf66ed9939c1c69aef73fd91", + "spec_sha256": "bb5bd464c8160621397668abdcd19834cbae34629865d4fd98c588f3c083d122", "operations": [ { "method": "GET", @@ -138,6 +138,62 @@ "path": "/v1/machines/{machine_id}/executions/{execution_id}/output", "bodyParams": [] }, + { + "method": "GET", + "path": "/v1/machines/{machine_id}/ports", + "bodyParams": [] + }, + { + "method": "POST", + "path": "/v1/machines/{machine_id}/ports", + "bodyParams": [ + "expires", + "port", + "protocol", + "visibility" + ] + }, + { + "method": "DELETE", + "path": "/v1/machines/{machine_id}/ports/{port_id}", + "bodyParams": [] + }, + { + "method": "GET", + "path": "/v1/machines/{machine_id}/ports/{port_id}", + "bodyParams": [] + }, + { + "method": "PATCH", + "path": "/v1/machines/{machine_id}/ports/{port_id}", + "bodyParams": [ + "visibility" + ] + }, + { + "method": "GET", + "path": "/v1/machines/{machine_id}/ports/{port_id}/access-keys", + "bodyParams": [] + }, + { + "method": "POST", + "path": "/v1/machines/{machine_id}/ports/{port_id}/access-keys", + "bodyParams": [ + "expires_in" + ] + }, + { + "method": "DELETE", + "path": "/v1/machines/{machine_id}/ports/{port_id}/access-keys/{access_key_id}", + "bodyParams": [] + }, + { + "method": "POST", + "path": "/v1/machines/{machine_id}/ports/{port_id}/access-keys/{access_key_id}/rotate", + "bodyParams": [ + "expires_in" + ] + }, { "method": "POST", "path": "/v1/machines/{machine_id}/reboot",