Endpoint for submitting an encrypted onion request
The data is an onion-encrypted request for another endpoint, wrapped in an encrypted layer for this open group server.
Response
Onion request completed. The subrequest response will be encoded in a two-string bencoded list (see the request details for the encoding specifics) where the first string contains the response metadata as json with keys:
- code -- the HTTP response code of the subrequest, e.g. 200, 404 - headers -- a dict of HTTP response headers; the header name keys are always lower-cased.
The second part is the response body bytes; as in HTTP, interpreting this depends on the content-type header in the headers metadata, and the details of the invoked endpoint.
These two byte strings are bencoded, and then the bencoded data is encrypted using the same ephemeral key and encryption type as was used in the request.
Changes
Changed in 2 of the 21 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲