# ink.branchline.getBranch

> Published by [branchline.ink](https://lexicon.garden/identity/did:plc:brvu7akhdvsqcomb67pafw25)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getBranch)
- [Documentation](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getBranch/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getBranch/examples)

## Definitions

### `ink.branchline.getBranch`

**Type**: `query`

Get the full path of AT-URIs from root to bud in story order, oldest first.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bud` | `string` (at-uri) | Yes | AT-URI of the bud at the end of this branch. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `buds` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "ink.branchline.getBranch",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "buds"
          ],
          "properties": {
            "buds": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-uri"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "bud"
        ],
        "properties": {
          "bud": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the bud at the end of this branch."
          }
        }
      },
      "description": "Get the full path of AT-URIs from root to bud in story order, oldest first."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
