# community.gifthood.feed.getListing

> Published by [gifthood.community](https://lexicon.garden/identity/did:plc:7prvtl4j6wsfmkrfrnwknuxj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListing)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListing/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListing/examples)

## Definitions

### `community.gifthood.feed.getListing`

**Type**: `query`

Fetch the full detail view of a single listing by DID and record key.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | DID of the account that created the listing. |
| `rkey` | `string` | Yes | Record key (TID) of the listing record in the poster's repo. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `listing` | `ref` → `community.gifthood.feed.defs#listingDetailView` | Yes |  |

#### Errors

- **NotFound**
- **NotAvailableToPublic**: The author hides their content from logged-out viewers; sign in to view.

## Raw Schema

```json
{
  "id": "community.gifthood.feed.getListing",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "NotAvailableToPublic",
          "description": "The author hides their content from logged-out viewers; sign in to view."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "listing"
          ],
          "properties": {
            "listing": {
              "ref": "community.gifthood.feed.defs#listingDetailView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did",
          "rkey"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "DID of the account that created the listing."
          },
          "rkey": {
            "type": "string",
            "description": "Record key (TID) of the listing record in the poster's repo."
          }
        }
      },
      "description": "Fetch the full detail view of a single listing by DID and record key."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
