Download codex-rs/app-server-protocol/schema/json/JSONRPCRequest.json from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/JSONRPCRequest.json
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/schema/json/JSONRPCRequest.json
-
curl -L -o JSONRPCRequest.json https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/JSONRPCRequest.json
1.09 kB
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "RequestId": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "format": "int64", | |
| "type": "integer" | |
| } | |
| ] | |
| }, | |
| "W3cTraceContext": { | |
| "properties": { | |
| "traceparent": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "tracestate": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "type": "object" | |
| } | |
| }, | |
| "description": "A request that expects a response.", | |
| "properties": { | |
| "id": { | |
| "$ref": "#/definitions/RequestId" | |
| }, | |
| "method": { | |
| "type": "string" | |
| }, | |
| "params": true, | |
| "trace": { | |
| "anyOf": [ | |
| { | |
| "$ref": "#/definitions/W3cTraceContext" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "description": "Optional W3C Trace Context for distributed tracing." | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "method" | |
| ], | |
| "title": "JSONRPCRequest", | |
| "type": "object" | |
| } |