Skip to main content

proto_blue_api/generated/com/atproto/sync/
getRepoStatus.rs

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: com.atproto.sync.getRepoStatus
3
4use serde::{Deserialize, Serialize};
5
6/// Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.
7/// XRPC Query: com.atproto.sync.getRepoStatus
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Params {
11    pub did: String,
12}
13
14#[derive(Debug, Clone, Serialize, Deserialize)]
15#[serde(rename_all = "camelCase")]
16pub struct Output {
17    pub active: bool,
18    pub did: String,
19    #[serde(skip_serializing_if = "Option::is_none")]
20    pub rev: Option<String>,
21    #[serde(skip_serializing_if = "Option::is_none")]
22    pub status: Option<String>,
23}