com.atproto.repo.upload_blob#

atproto.xrpc_client.models.com.atproto.repo.upload_blob.Data#

Data raw data type.

pydantic model atproto.xrpc_client.models.com.atproto.repo.upload_blob.Response#

Bases: ResponseModelBase

Output data model for com.atproto.repo.uploadBlob.

Show JSON schema
{
   "title": "Response",
   "description": "Output data model for :obj:`com.atproto.repo.uploadBlob`.",
   "type": "object",
   "properties": {
      "blob": {
         "$ref": "#/$defs/BlobRef"
      }
   },
   "$defs": {
      "BlobRef": {
         "additionalProperties": false,
         "description": "Blob reference.",
         "properties": {
            "mimeType": {
               "title": "Mimetype",
               "type": "string"
            },
            "size": {
               "title": "Size",
               "type": "integer"
            },
            "ref": {
               "$ref": "#/$defs/BlobRefLink"
            },
            "$type": {
               "const": "blob",
               "default": "blob",
               "title": "$Type"
            }
         },
         "required": [
            "mimeType",
            "size",
            "ref"
         ],
         "title": "BlobRef",
         "type": "object"
      },
      "BlobRefLink": {
         "description": "Blob reference link.",
         "properties": {
            "$link": {
               "title": "$Link",
               "type": "string"
            }
         },
         "required": [
            "$link"
         ],
         "title": "BlobRefLink",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "blob"
   ]
}

Fields:
field blob: BlobRef [Required]#

Blob.