proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Generated by atproto-codegen. Do not edit.
//! Lexicon: com.atproto.repo.uploadBlob

use serde::{Deserialize, Serialize};

/// Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.
/// XRPC Procedure: com.atproto.repo.uploadBlob
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
    pub blob: serde_json::Value,
}