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.
|
|
|
---
|
|
|
|
title: Ext Protocol
|
|
|
|
description: Specification of the Ext Protocol
|
|
|
|
layout: ../../../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
|
|
|
|
|
|
|
|
```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.
|
|
|
|
|
|
|
|
#### Response
|
|
|
|
|
|
|
|
```rust
|
|
|
|
Vec<Block>
|
|
|
|
```
|