a2aproject / a2aproject/A2A

SubscribeToTask HTTP method mismatch between proto and spec

Aperta
#2,063 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
25.7k
Fork
2.6k
Merge medio
3g 6h
PR unite (30g)
16

Descrizione

There is a mismatch between the .proto file and the A2A specification regarding the HTTP method for `SubscribeToTask`.

The protobuf definition uses GET:
```
Protocol Buffers
rpc SubscribeToTask(SubscribeToTaskRequest) returns (stream StreamResponse) {
option (google.api.http) = {
get: "/tasks/{id=*}:subscribe"
additional_bindings: {
get: "/{tenant}/tasks/{id=*}:subscribe"
}
};
}
```
However, the [A2A Specification](https://a2a-protocol.org/latest/specification/#113-url-patterns-and-http-methods) indicates it should be a POST request.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.