# blue.moji.collection.getItem

> Published by [moji.blue](https://lexicon.garden/identity/did:plc:kmzpsik7s5y5fwu7nnkngfx4)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.getItem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.getItem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.collection.getItem/examples)

## Definitions

### `blue.moji.collection.getItem`

**Type**: `query`

Get a single emoji from a repository. Requires auth.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | The Bluemoji alias/rkey. |
| `repo` | `string` (at-identifier) | Yes | The handle or DID of the repo. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |
| `item` | `ref` → `blue.moji.collection.item#itemView` | Yes |  |

## Raw Schema

```json
{
  "id": "blue.moji.collection.getItem",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "item"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            },
            "item": {
              "ref": "blue.moji.collection.item#itemView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "repo",
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The Bluemoji alias/rkey."
          },
          "repo": {
            "type": "string",
            "format": "at-identifier",
            "description": "The handle or DID of the repo."
          }
        }
      },
      "description": "Get a single emoji from a repository. Requires auth."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
