proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
// Generated by atproto-codegen. Do not edit.
//! Lexicon: com.atproto.sync.getLatestCommit

use serde::{Deserialize, Serialize};

/// Get the current commit CID & revision of the specified repo. Does not require auth.
/// XRPC Query: com.atproto.sync.getLatestCommit
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Params {
    pub did: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
    pub cid: String,
    pub rev: String,
}