{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The arguments are inconsistent or malformed beyond schema validation.",
          "name": "InvalidRequest"
        },
        {
          "description": "The caller has no blob with this CID.",
          "name": "BlobNotFound"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "cid": {
            "description": "The CID of the record or blob.",
            "format": "cid",
            "type": "string"
          }
        },
        "required": [
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.polyfill.getBlob",
  "lexicon": 1
}
