Documentation site of NextGraph.org https://docs.nextgraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
docs-site/src/pages/en/specs/protocol-ext.md

713 B

title description layout
Ext Protocol Specification of the Ext Protocol ../../../layouts/MainLayout.astro

The Ext Protocol is used by users who want to access a repository anonymously and in read-only.

For now, it is only possible to use the ExtProtocol for fetching an Object by its ID, given also its OverlayID.

ExtObjectGet

Request

struct ExtObjectGetV0 {
    /// outer overlayId
    overlay: OverlayId,

    /// List of Object IDs to request
    ids: Vec<ObjectId>,

    /// Whether or not to include all files' objects
    include_files: bool,
}

All the children blocks of each object will also be sent in the stream of responses.

Response

Vec<Block>