From ac5b9bcf6e1e1ab820bbc5102d37a4d66fdd310f Mon Sep 17 00:00:00 2001 From: King Star Date: Thu, 28 May 2026 19:30:30 +0800 Subject: [PATCH] fix(spec): use POST for SubscribeToTask binding --- specification/a2a.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/a2a.proto b/specification/a2a.proto index 400cdbad9..3fb546f23 100644 --- a/specification/a2a.proto +++ b/specification/a2a.proto @@ -75,9 +75,11 @@ service A2AService { // Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected). rpc SubscribeToTask(SubscribeToTaskRequest) returns (stream StreamResponse) { option (google.api.http) = { - get: "/tasks/{id=*}:subscribe" + post: "/tasks/{id=*}:subscribe" + body: "*" additional_bindings: { - get: "/{tenant}/tasks/{id=*}:subscribe" + post: "/{tenant}/tasks/{id=*}:subscribe" + body: "*" } }; }