# quest.sableye.magnet.getEntry

> Published by [matt.evil.gay](https://lexicon.garden/identity/did:plc:tas6hj2xjrqben5653v5kohk)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tas6hj2xjrqben5653v5kohk/quest.sableye.magnet.getEntry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tas6hj2xjrqben5653v5kohk/quest.sableye.magnet.getEntry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tas6hj2xjrqben5653v5kohk/quest.sableye.magnet.getEntry/examples)

## Definitions

### `quest.sableye.magnet.getEntry`

**Type**: `query`

Get a magnet entry by info hash.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `infoHash` | `string` | Yes | The hex-encoded info hash. |

#### Output

**Encoding**: `application/json`

#### Errors

- **EntryNotFound**

## Raw Schema

```json
{
  "id": "quest.sableye.magnet.getEntry",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "EntryNotFound"
        }
      ],
      "output": {
        "schema": {
          "ref": "quest.sableye.magnet.listEntries#entryView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "infoHash"
        ],
        "properties": {
          "infoHash": {
            "type": "string",
            "description": "The hex-encoded info hash."
          }
        }
      },
      "description": "Get a magnet entry by info hash."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
