# blue.moji.collection.checkBlob

> Whether this AppView indexes a blob as part of a Bluemoji: referenced by an emoji or sticker item's formats, or as a pack's icon, in the given repo, and not belonging to a taken-down account. Public. Lets an image proxy serve only Bluemoji assets instead of acting as a general blob CDN. 'available: false' is a definitive no for this AppView (it may simply not have indexed a very new record yet).

- Kind: query
- Authority: collection.moji.blue
- Lexicon: 1
- Published by [moji.blue](https://lexicon.garden/identity/did:plc:kmzpsik7s5y5fwu7nnkngfx4), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.checkBlob)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.checkBlob/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.checkBlob/analytics)

## Query (`blue.moji.collection.checkBlob`)

Type: query · GET

### Parameters (query string)

- `cid` (string · cid, required): The blob's CID.
- `did` (string · did, required): The repo that holds the blob.

### Output (application/json)

- `available` (boolean, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Whether this AppView indexes a blob as part of a Bluemoji: referenced by an emoji or sticker item's formats, or as a pack's icon, in the given repo, and not belonging to a taken-down account. Public. Lets an image proxy serve only Bluemoji assets instead of acting as a general blob CDN. 'available: false' is a definitive no for this AppView (it may simply not have indexed a very new record yet).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "available": {
              "type": "boolean"
            }
          },
          "required": [
            "available"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cid": {
            "description": "The blob's CID.",
            "format": "cid",
            "type": "string"
          },
          "did": {
            "description": "The repo that holds the blob.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did",
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "blue.moji.collection.checkBlob",
  "lexicon": 1
}
```
