# technology.agave.marketplace.getBlob

> Published by [catalogue.agave.technology](https://lexicon.garden/identity/did:plc:jgjchylj237en76b3hi2xu4g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getBlob)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getBlob/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.getBlob/examples)

## Definitions

### `technology.agave.marketplace.getBlob`

**Type**: `query`

The mirror's copy of a published version's archive. The caller verifies the bytes against the CID, as it would the PDS's.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `did` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/x-tar`

#### Errors

- **BlobNotFound**: No published version of this author names this archive.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The mirror's copy of a published version's archive. The caller verifies the bytes against the CID, as it would the PDS's.",
      "errors": [
        {
          "description": "No published version of this author names this archive.",
          "name": "BlobNotFound"
        }
      ],
      "output": {
        "encoding": "application/x-tar"
      },
      "parameters": {
        "properties": {
          "cid": {
            "format": "cid",
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did",
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "technology.agave.marketplace.getBlob",
  "lexicon": 1
}
```
