# ai.newnal.illi.media.getItem

> Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.media.getItem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.media.getItem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.media.getItem/examples)

## Definitions

### `ai.newnal.illi.media.getItem`

**Type**: `query`

One album item.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `homeId` | `string` (tid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `item` | `ref` → `ai.newnal.illi.media.defs#itemView` | Yes |  |

#### Errors

- **NotFound**
- **NotMember**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One album item.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "NotMember"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "item": {
              "ref": "ai.newnal.illi.media.defs#itemView",
              "type": "ref"
            }
          },
          "required": [
            "item"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          },
          "uri": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "homeId",
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.media.getItem",
  "lexicon": 1
}
```
