# online.fg-goose.gsb.getEntry

> Published by [ember.delve.town](https://lexicon.garden/identity/did:plc:6amo7col5h4ciq2gpm5eur7b)

✓ This is the authoritative definition for this NSID.

## Description

A journal entry's whole canonical bytes, to its own principal only.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.getEntry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.getEntry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.getEntry/examples)

## Definitions

### `online.fg-goose.gsb.getEntry`

**Type**: `query`

Inter-service auth: iss must be the entry's principal.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `entry` | `string` (cid) | Yes | The entry's hash (CID). |
| `world` | `string` | No | If given, must equal this front's world. |

#### Output

**Encoding**: `application/vnd.ipld.car`

#### Errors

- **AuthRequired**
- **InvalidToken**
- **InvalidRequest**
- **RateLimitExceeded**
- **Denied**
- **RecordNotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Inter-service auth: iss must be the entry's principal.",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidToken"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "Denied"
        },
        {
          "name": "RecordNotFound"
        }
      ],
      "output": {
        "description": "A CARv1 of the entry block, rooted at its CID.",
        "encoding": "application/vnd.ipld.car"
      },
      "parameters": {
        "properties": {
          "entry": {
            "description": "The entry's hash (CID).",
            "format": "cid",
            "type": "string"
          },
          "world": {
            "description": "If given, must equal this front's world.",
            "type": "string"
          }
        },
        "required": [
          "entry"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "A journal entry's whole canonical bytes, to its own principal only.",
  "id": "online.fg-goose.gsb.getEntry",
  "lexicon": 1
}
```
