# pub.chive.backlink.list

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.backlink.list)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.backlink.list/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.backlink.list/examples)

## Definitions

### `pub.chive.backlink.list`

**Type**: `query`

List backlinks to an eprint from ATProto ecosystem sources including Cosmik collections, Leaflet lists, Whitewind blogs, and Bluesky shares

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of backlinks to return |
| `cursor` | `string` | No | Pagination cursor |
| `targetUri` | `string` (at-uri) | Yes | AT-URI of the target eprint |
| `sourceType` | `string` | No | Filter by source type |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Pagination cursor for next page |
| `hasMore` | `boolean` | Yes | Whether more results are available |
| `backlinks` | `array` | Yes | List of backlinks |

#### Errors

- **NotFound**

### `pub.chive.backlink.list#backlink`

**Type**: `object`

Backlink record

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `integer` | Yes | Backlink ID |
| `context` | `string` | No | Optional context about the backlink |
| `deleted` | `boolean` | Yes | Whether the backlink has been deleted |
| `indexedAt` | `string` (datetime) | Yes | Timestamp when the backlink was indexed |
| `sourceUri` | `string` (at-uri) | Yes | AT-URI of the source record |
| `targetUri` | `string` (at-uri) | Yes | AT-URI of the target eprint |
| `sourceType` | `string` | Yes | Type of the source record |

## Raw Schema

```json
{
  "id": "pub.chive.backlink.list",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "backlinks",
            "hasMore"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Pagination cursor for next page"
            },
            "hasMore": {
              "type": "boolean",
              "description": "Whether more results are available"
            },
            "backlinks": {
              "type": "array",
              "items": {
                "ref": "#backlink",
                "type": "ref"
              },
              "description": "List of backlinks"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "targetUri"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of backlinks to return"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor"
          },
          "targetUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the target eprint"
          },
          "sourceType": {
            "type": "string",
            "description": "Filter by source type",
            "knownValues": [
              "cosmik.collection",
              "leaflet.list",
              "whitewind.blog",
              "bluesky.post",
              "bluesky.embed",
              "other"
            ]
          }
        }
      },
      "description": "List backlinks to an eprint from ATProto ecosystem sources including Cosmik collections, Leaflet lists, Whitewind blogs, and Bluesky shares"
    },
    "backlink": {
      "type": "object",
      "required": [
        "id",
        "sourceUri",
        "sourceType",
        "targetUri",
        "indexedAt",
        "deleted"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Backlink ID"
        },
        "context": {
          "type": "string",
          "maxLength": 500,
          "description": "Optional context about the backlink"
        },
        "deleted": {
          "type": "boolean",
          "description": "Whether the backlink has been deleted"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime",
          "description": "Timestamp when the backlink was indexed"
        },
        "sourceUri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the source record"
        },
        "targetUri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the target eprint"
        },
        "sourceType": {
          "type": "string",
          "description": "Type of the source record",
          "knownValues": [
            "cosmik.collection",
            "leaflet.list",
            "whitewind.blog",
            "bluesky.post",
            "bluesky.embed",
            "other"
          ]
        }
      },
      "description": "Backlink record"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
