Expand description
NextGraph network protocol types
Corresponds to the BARE schema
Structs§
- Admin
Request V0 - Admin request
- Admin
Response V0 - Response to an
AdminRequest
V0 - AppMessage
V0 - AppMessageV0
- Auth
Result V0 - Authentication result
- Bind
Address - Bind address
- Block
Result V0 - Response to a BlockSearch* request
- Block
Search Random V0 - Block search along a random walk in the overlay
- Block
Search Topic V0 - Object search in a pub/sub topic
- Blocks
Exist V0 - Request to know if some blocks are present locally
- Blocks
Found V0 - Response which blocks have been found locally. V0
- Blocks
GetV0 - Request a Block by ID
- Blocks
PutV0 - Request to store one or more blocks
- Bootstrap
Content V0 - Bootstrap content Version 0
- Bootstrap
Iframe Msg - Broker
Core V0 - Core Broker connection details Version 0
- Broker
Overlay Config V0 - Broker Overlay Config
- Broker
Server - Broker
Server Content V0 - Broker
Server V0 - BrokerServer details Version 0
- Client
Auth Content V0 - Content of ClientAuthV0
- Client
Auth V0 - Client authentication
- Client
Info V0 - Client
Message V0 - Broker message for an overlay
- Client
Request V0 - Broker overlay request
- Client
Response V0 - Response to a
ClientRequest
- Commit
GetV0 - Request a Commit by ID
- Core
Advert V0 - CoreAdvert V0
- Core
Block Result V0 - Core Block Result V0
- Core
Blocks GetV0 - Core Block Get V0
- Core
Broker Connect Response V0 - CoreBrokerConnectResponse V0
- Core
Broker Connect V0 - CoreBrokerConnect V0
- Core
Broker Joined Advert V0 - CoreBrokerJoinedAdvert V0
- Core
Broker Left Advert V0 - CoreBrokerLeftAdvert V0
- Core
Direct Message V0 - CoreDirectMessage V0
- Core
Overlay Joined Advert V0 - CoreOverlayJoinedAdvert V0
- Core
Request V0 - CoreRequest V0
- Core
Response V0 - CoreResponse V0
- Core
Topic Sync ReqV0 - Core Topic synchronization request
- Create
AccountBSP V0 - Create an account at a Broker Service Provider (BSP). Version 0
- Credentials
- used to initiate a session at a local broker V0
- Empty
AppResponse - Exported
Wallet - ExtObject
GetV0 - Request object(s) by ID by non-members to a broker
- ExtRequest
V0 - External request with its request ID
- ExtResponse
V0 - Response to an ExtRequest
- ExtWallet
GetExport V0 - Forwarded
Peer Advert V0 - ForwardedPeerAdvertV0
- Forwarded
Peer Conflict V0 - ForwardedPeerConflictV0
- IPTransport
Addr - IP transport address
- Inner
Overlay Link - Inner Overlay Link
- Inner
Overlay Message Payload V0 - Inner Overlay message payload V0
- Inner
Overlay Message V0 - Inner Overlay message V0
- Interface
- Invitation
V0 - Invitation to create an account at a broker. Version 0
- Listener
Info - ListenerInfo
- Listener
V0 - DaemonConfig Listener Version 0
- Local
Bootstrap Info V0 - Local Bootstrap info Version 0, served at /.ng_bootstrap
- Object
DelV0 - Request to delete an object
- Object
Link V0 - Obtains one or more objects of a repo (Commit, File) by their ID.
- Object
PinV0 - Request to pin an object
- Object
Unpin V0 - Request to unpin an object
- Open
Repo V0 - Request to open a repo in a non-durable way (without pinning it).
- Outer
Overlay Message V0 - OuterOverlayMessage V0
- Outer
Overlay Request V0 - OuterOverlayRequestV0 V0
- Outer
Overlay Response V0 - OuterOverlayResponse V0
- Overlay
Advert Marker V0 - OverlayAdvertMarker V0
- Overlay
Advert Payload V0 - Overlay Advert Payload V0
- Overlay
Advert V0 - Overlay Advert V0 : used by a broker peer every time it (re)joins an overlay
- Peer
Advert Content V0 - Content of PeerAdvertV0
- Peer
Advert V0 - Peer advertisement
- PinRepo
V0 - Request to pin a repo on the broker.
- Probe
Response - ProbeResponse
- Public
Repo Link V0 - Link for a Public Repo
- Publish
Event - Request to publish an event in pubsub
- Publisher
Advert Content V0 - Content of PublisherAdvertV0
- Publisher
Advert V0 - Topic advertisement by a publisher
- Read
Branch Link V0 - Read access to a branch of a Public, Protected or Group store.
- Refresh
PinRepo V0 - Request to refresh the Pinning of a previously pinned repo.
- Relay
Request - RelayRequest
- Relay
Response - RelayResponse
- Repo
Link V0 - Link to a repository
- Repo
PinStatus ReqV0 - Request the status of pinning for a repo on the broker. V0
- Repo
PinStatus V0 - Response with the status of pinning for a repo on the broker. V0
- Return
Path Timing Advert V0 - ReturnPathTimingAdvertV0
- SubMarker
V0 - Topic subscription marker sent by all publishers, back to subscriber
- SubReq
V0 - Topic subscription request by a peer
- Topic
SubRes V0 - Topic subscription response V0
- Topic
SubV0 - Request subscription to a
Topic
of an already opened or pinned Repo - Topic
Sync ReqV0 - Topic synchronization request
- Topic
Unsub V0 - Request unsubscription from a
Topic
of an already opened or pinned Repo - Tunnel
Request - Tunnel Request
- Tunnel
Response - Tunnel Response
- Unpin
Repo V0 - Request to unpin a repo on the broker.
- Unsub
ReqV0 - Topic unsubscription request by a subscriber
- Wallet
PutExport V0 - Request to store one or more blocks
Enums§
- Accept
Forward ForV0 - AcceptForwardForV0 type
- Admin
Request - Admin request
- Admin
Request Content V0 - Content of
AdminRequestV0
- Admin
Response - Response to an
AdminRequest
- Admin
Response Content V0 - Content of
AdminResponseV0
- AppMessage
- App message
- AppMessage
Content V0 - AppMessageContentV0
- Auth
Result - Authentication result
- Authorization
- Block
Result - Response to a BlockSearch* request
- Block
Search Random - Block request by ID using a random walk in the overlay
- Block
Search Topic - Object request by ID to publishers
- Blocks
Exist - Request to store one or more blocks
- Blocks
Found - Response which blocks have been found locally.
- Blocks
Get - Request an object by ID
- Blocks
Put - Request to store one or more blocks
- Bootstrap
Content - Broker
Core - Core Broker connection details
- Broker
Overlay Permission - Broker Overlay Permission
- Broker
Server Type V0 - BrokerServerTypeV0 type
- Client
Auth - Client authentication
- Client
Info - Client Info
- Client
Message - Broker message for an overlay
- Client
Message Content V0 - Content of
ClientMessageV0
- Client
Request - Broker overlay request
- Client
Request Content V0 - Content of
ClientRequestV0
- Client
Response - Response to a
ClientRequest
- Client
Response Content V0 - Content of
ClientResponseV0
- Client
Type - info : { type : WEB | NATIVE-IOS | NATIVE-ANDROID | NATIVE-MACOS | NATIVE-LINUX | NATIVE-WIN NATIVE-SERVICE | NODE-SERVICE | VERIFIER | CLIENT-BROKER | CLI vendor : (UA, node version, tauri webview, rust version) os : operating system string version : version of client date_install date_updated : last update } Client Type
- Commit
Get - Request a Commit by ID (see CommitGetV0 for more details)
- Core
Advert - Core
Advert Content V0 - Content of CoreAdvert V0
- Core
Block Result - Core
Blocks Get - Core
Broker Connect - CoreBrokerConnect
- Core
Broker Connect Response - CoreBrokerConnectResponse
- Core
Broker Disconnect - Core
Broker Joined Advert - Core
Broker Left Advert - Core
Direct Message - Core
Direct Message Content V0 - Content of CoreDirectMessage V0
- Core
Message - Core message
- Core
Message V0 - CoreMessageV0
- Core
Overlay Join - Core
Overlay Join V0 - Content of CoreOverlayJoin V0
- Core
Overlay Joined Advert - Core
Request - Request sent to a broker in the core network
- Core
Request Content V0 - Content of CoreRequest V0
- Core
Response - Response to a Request sent to a broker in the core network
- Core
Response Content V0 - Content CoreResponse V0
- Core
Topic Sync Req - Topic synchronization request
- Create
AccountBSP - Create an account at a Broker Service Provider (BSP).
- ExtObject
Get - Request object(s) by ID by non-members
- ExtRequest
- External request are made by clients directly to a core broker of their choice.
- ExtRequest
Content V0 - Content of ExtRequestV0
- ExtResponse
- Response to an ExtRequest
- ExtResponse
Content V0 - Content of ExtResponseV0
- Forwarded
Peer Advert - Forwarded Peer advertisement
- Forwarded
Peer Conflict - Forwarded Peer advertisement conflict
- IP
- IP address
- Inner
Overlay Message - Inner Overlay message
- Inner
Overlay Message Content V0 - Content of InnerOverlayMessageV0
- Interface
Type - Invitation
- Invitation to create an account at a broker.
- Invitation
Code - Local
Bootstrap Info - Locator
- NetAddr
- Network address
- NgLink
- NextGraph Link
- NgLink
V0 - NextGraph Link V0
- Object
Del - Request to delete an object
- Object
Link - Link to a specific commit, without its causal past
- Object
Pin - Request to pin an object
- Object
Unpin - Request to unpin an object
- Open
Repo - Request to open a repo
- Outer
Overlay Message - Outer
Overlay Message Content V0 - Outer
Overlay Request - Outer
Overlay Request Content V0 - Content of OuterOverlayRequest V0
- Outer
Overlay Response - Outer
Overlay Response Content V0 - Content of OuterOverlayResponse V0
- Overlay
Access - Overlay Access
- Overlay
Advert - Overlay Advert : used by a broker peer every time it (re)joins an overlay
- Overlay
Advert Marker - Overlay
Leave - Overlay leave request
- Overlay
Link - Overlay Link
- Peer
Advert - Peer advertisement
- Peer
Status - Status of a Forwarded Peer, sent in the Advert
- PinRepo
- Request to pin a repo
- Protocol
Message - Public
Repo Link - Link to a public repository
- Publisher
Advert - Topic advertisement by a publisher
- Read
Branch Link - Link to a repository
- Refresh
PinRepo - Request to pin a repo
- Registration
Config - Registration config
- Repo
Link - Link to a repository
- Repo
PinStatus - Response with the status of pinning for a repo on the broker.
- Repo
PinStatus Req - Request the status of pinning for a repo on the broker.
- Return
Path Timing Advert - SubMarker
- Topic subscription acknowledgement by a publisher
- SubReq
- Topic subscription request by a peer
- Topic
Sub - Request subscription to a
Topic
of an already opened or pinned Repo - Topic
SubRes - Topic subscription response
- Topic
Sync Req - Topic synchronization request
- Topic
Sync Res - Topic synchronization response
- Topic
Sync ResV0 - Topic synchronization response V0
- Topic
Unsub - Request unsubscription from a
Topic
of an already opened or pinned Repo - Transport
Protocol - IP transport protocol
- Unpin
Repo - Request to unpin a repo
- Unsub
Req - Topic unsubscription request by a subscriber
- Wallet
PutExport - Request to store one or more blocks
Traits§
Type Aliases§
- Client
Id - Client ID: client of a user
- Core
Broker Disconnect V0 - sent to a direct peer just before closing the connection
- ExtTopic
Sync Req - Topic synchronization request
- IPv4
- IPv4 address
- IPv6
- IPv6 address
- Locator
V0 - Repo
Opened - Session
Id - Overlay session ID