FetchService provides HTTP fetching for plugins. QNTX performs the HTTP request and attests the result — plugins stay pure orchestration with no outbound network access.
Proto file: plugin/grpc/protocol/fetch.proto
| Method | Request | Response | Streaming |
|---|---|---|---|
| Fetch | FetchRequest | FetchResponse | No |
Fetch performs an HTTP GET and attests the response body
FetchRequestFetchResponse| Field | Type | Description |
|---|---|---|
| auth_token | string | - |
| url | string | - |
| subjects | string | - |
| predicate | string | - |
| context | string | - |
| fresh | bool | - |
| actor | string | - |
| source | string | - |
| Field | Type | Description |
|---|---|---|
| success | bool | - |
| error | string | - |
| body | string | - |
| status_code | int32 | - |
| attestation_id | string | - |