# pub.chive.endorsement.listForEprint

> 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.endorsement.listForEprint)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.endorsement.listForEprint/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.endorsement.listForEprint/examples)

## Definitions

### `pub.chive.endorsement.listForEprint`

**Type**: `query`

List endorsements for a specific eprint with optional filtering

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of results to return |
| `cursor` | `string` | No | Pagination cursor for next page |
| `eprintUri` | `string` (at-uri) | Yes | AT-URI of the eprint |
| `contributionType` | `string` | No | Filter by contribution type |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `total` | `integer` | No | Total number of endorsements |
| `cursor` | `string` | No | Cursor for next page |
| `hasMore` | `boolean` | Yes | Whether more results are available |
| `summary` | `ref` → `#endorsementSummary` | No | Aggregated summary |
| `endorsements` | `array` | Yes | List of endorsements |

### `pub.chive.endorsement.listForEprint#authorRef`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `avatar` | `string` (uri) | No |  |
| `handle` | `string` | No |  |
| `displayName` | `string` | No |  |

### `pub.chive.endorsement.listForEprint#endorsementView`

**Type**: `object`

View of an endorsement

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | Yes | Content identifier |
| `uri` | `string` (at-uri) | Yes | Endorsement AT-URI |
| `comment` | `string` | No | Optional comment |
| `endorser` | `ref` → `#authorRef` | Yes |  |
| `createdAt` | `string` (datetime) | Yes | Creation timestamp |
| `eprintUri` | `string` (at-uri) | Yes | Endorsed eprint AT-URI |
| `updatedAt` | `string` (datetime) | No | Last update timestamp |
| `contributions` | `array` | Yes | Contribution types being endorsed |

### `pub.chive.endorsement.listForEprint#endorsementSummary`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `total` | `integer` | Yes | Total endorsement count |
| `byType` | `ref` → `#endorsementCountByType` | Yes | Count by contribution type |
| `endorserCount` | `integer` | Yes | Unique endorser count |

### `pub.chive.endorsement.listForEprint#endorsementCountByType`

**Type**: `object`

Map of contribution type slug to endorsement count

| Property | Type | Required | Description |
|----------|------|----------|-------------|

## Raw Schema

```json
{
  "id": "pub.chive.endorsement.listForEprint",
  "defs": {
    "main": {
      "type": "query",
      "errors": [],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "endorsements",
            "hasMore"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total number of endorsements"
            },
            "cursor": {
              "type": "string",
              "description": "Cursor for next page"
            },
            "hasMore": {
              "type": "boolean",
              "description": "Whether more results are available"
            },
            "summary": {
              "ref": "#endorsementSummary",
              "type": "ref",
              "description": "Aggregated summary"
            },
            "endorsements": {
              "type": "array",
              "items": {
                "ref": "#endorsementView",
                "type": "ref"
              },
              "description": "List of endorsements"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "eprintUri"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of results to return"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor for next page"
          },
          "eprintUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the eprint"
          },
          "contributionType": {
            "type": "string",
            "description": "Filter by contribution type",
            "knownValues": [
              "methodological",
              "analytical",
              "theoretical",
              "empirical",
              "conceptual",
              "technical",
              "data",
              "replication",
              "reproducibility",
              "synthesis",
              "interdisciplinary",
              "pedagogical",
              "visualization",
              "societal-impact",
              "clinical"
            ]
          }
        }
      },
      "description": "List endorsements for a specific eprint with optional filtering"
    },
    "authorRef": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "avatar": {
          "type": "string",
          "format": "uri"
        },
        "handle": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        }
      }
    },
    "endorsementView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "eprintUri",
        "endorser",
        "contributions",
        "createdAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "description": "Content identifier"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "Endorsement AT-URI"
        },
        "comment": {
          "type": "string",
          "maxLength": 1000,
          "description": "Optional comment"
        },
        "endorser": {
          "ref": "#authorRef",
          "type": "ref"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "Creation timestamp"
        },
        "eprintUri": {
          "type": "string",
          "format": "at-uri",
          "description": "Endorsed eprint AT-URI"
        },
        "updatedAt": {
          "type": "string",
          "format": "datetime",
          "description": "Last update timestamp"
        },
        "contributions": {
          "type": "array",
          "items": {
            "type": "string",
            "knownValues": [
              "methodological",
              "analytical",
              "theoretical",
              "empirical",
              "conceptual",
              "technical",
              "data",
              "replication",
              "reproducibility",
              "synthesis",
              "interdisciplinary",
              "pedagogical",
              "visualization",
              "societal-impact",
              "clinical"
            ]
          },
          "minLength": 1,
          "description": "Contribution types being endorsed"
        }
      },
      "description": "View of an endorsement"
    },
    "endorsementSummary": {
      "type": "object",
      "required": [
        "total",
        "endorserCount",
        "byType"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "minimum": 0,
          "description": "Total endorsement count"
        },
        "byType": {
          "ref": "#endorsementCountByType",
          "type": "ref",
          "description": "Count by contribution type"
        },
        "endorserCount": {
          "type": "integer",
          "minimum": 0,
          "description": "Unique endorser count"
        }
      }
    },
    "endorsementCountByType": {
      "type": "object",
      "properties": {},
      "description": "Map of contribution type slug to endorsement count"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
