Skip to main content

Crate anytype_rpc

Crate anytype_rpc 

Source
Expand description

Anytype gRPC client

The gRPC api isn’t officially supported (by Anytype) for third party clients. However, it’s used heavily by the Anytype applications, including the desktop app and headless cli, and it’s the only way for applications to access certain functionality that is not available over the HTTP api, such as Files, Chats, Blocks, and Relations.

§See also

  • anytype An ergonomic Anytype API client in Rust. Includes http rest api plus gRPC backend using this crate, for access to Files and Chats.

  • anyr a CLI tool for listing, searching, and performing CRUD operations on anytype objects. Via anytype, also includes operations on Files and Chats.

Modules§

anytype
Anytype service, events, and RPC types
auth
Authentication helpers for creating sessions and attaching tokens. Authentication helpers for Anytype gRPC clients.
backup
Space backup helpers using ObjectListExport gRPC. Space backup helpers based on ObjectListExport.
client
gRPC client configuration and helpers.
config
Helpers for headless config-based auth.
error
Error types for gRPC operations. Errors returned by anytype-rpc gRPC operations.
model
Model types from anytype.model proto package
storage
Storage types from anytype.storage proto package
views
Helpers for dataview view metadata. Helpers for working with dataview-based views.