blob_ref#
- pydantic model atproto.xrpc_client.models.blob_ref.BlobRef#
Bases:
BaseModel
Blob reference.
Show JSON schema
{ "title": "BlobRef", "description": "Blob reference.", "type": "object", "properties": { "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "ref": { "$ref": "#/$defs/BlobRefLink" }, "$type": { "const": "blob", "default": "blob", "title": "$Type" } }, "$defs": { "BlobRefLink": { "description": "Blob reference link.", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ], "title": "BlobRefLink", "type": "object" } }, "additionalProperties": false, "required": [ "mimeType", "size", "ref" ] }
- Fields:
- field mime_type: str [Required] (alias 'mimeType')#
Mime type.
- field py_type: typing_extensions.Literal[blob] = 'blob' (alias '$type')#
- field ref: BlobRefLink [Required]#
Reference to link.
- field size: int [Required]#
Size in bytes.
- pydantic model atproto.xrpc_client.models.blob_ref.BlobRefLink#
Bases:
BaseModel
Blob reference link.
Show JSON schema
{ "title": "BlobRefLink", "description": "Blob reference link.", "type": "object", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ] }
- Fields:
- field link: str [Required] (alias '$link')#