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

35 lines
713 B

---
title: Ext Protocol
description: Specification of the Ext Protocol
layout: ../../../layouts/MainLayout.astro
---
6 months ago
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.
5 months ago
### ExtObjectGet
5 months ago
#### Request
```rust
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.
5 months ago
#### Response
```rust
Vec<Block>
```