# pub.chive.eprint.listByAuthor

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

## Definitions

### `pub.chive.eprint.listByAuthor`

**Type**: `query`

List eprints by author DID

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | Author DID |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `sortBy` | `string` | No |  |
| `sortOrder` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `total` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `eprints` | `array` | Yes |  |

#### Errors

- **NotFound**

### `pub.chive.eprint.listByAuthor#fieldRef`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | No | Optional unique ID |
| `uri` | `string` | Yes | AT URI of the field node |
| `label` | `string` | Yes | Human-readable field label |

### `pub.chive.eprint.listByAuthor#authorRef`

**Type**: `object`

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

### `pub.chive.eprint.listByAuthor#eprintSummary`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No |  |
| `uri` | `string` (at-uri) | Yes |  |
| `title` | `string` | Yes |  |
| `fields` | `array` | No |  |
| `authors` | `array` | No |  |
| `abstract` | `array` | No | Rich abstract with text, formatting, and entity references |
| `indexedAt` | `string` (datetime) | Yes |  |
| `publishedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "id": "pub.chive.eprint.listByAuthor",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "eprints"
          ],
          "properties": {
            "total": {
              "type": "integer"
            },
            "cursor": {
              "type": "string"
            },
            "eprints": {
              "type": "array",
              "items": {
                "ref": "#eprintSummary",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "Author DID"
          },
          "limit": {
            "type": "integer",
            "default": 25,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "sortBy": {
            "type": "string",
            "default": "indexedAt",
            "knownValues": [
              "indexedAt",
              "publishedAt",
              "updatedAt"
            ]
          },
          "sortOrder": {
            "type": "string",
            "default": "desc",
            "knownValues": [
              "asc",
              "desc"
            ]
          }
        }
      },
      "description": "List eprints by author DID"
    },
    "fieldRef": {
      "type": "object",
      "required": [
        "uri",
        "label"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Optional unique ID"
        },
        "uri": {
          "type": "string",
          "description": "AT URI of the field node"
        },
        "label": {
          "type": "string",
          "description": "Human-readable field label"
        }
      }
    },
    "authorRef": {
      "type": "object",
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string"
        },
        "avatarUrl": {
          "type": "string",
          "format": "uri",
          "description": "Author avatar URL"
        },
        "displayName": {
          "type": "string"
        }
      }
    },
    "eprintSummary": {
      "type": "object",
      "required": [
        "uri",
        "title",
        "indexedAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "title": {
          "type": "string"
        },
        "fields": {
          "type": "array",
          "items": {
            "ref": "#fieldRef",
            "type": "ref"
          }
        },
        "authors": {
          "type": "array",
          "items": {
            "ref": "#authorRef",
            "type": "ref"
          }
        },
        "abstract": {
          "type": "array",
          "items": {
            "refs": [
              "pub.chive.richtext.defs#textItem",
              "pub.chive.richtext.defs#nodeRefItem",
              "pub.chive.richtext.defs#wikidataRefItem",
              "pub.chive.richtext.defs#fieldRefItem",
              "pub.chive.richtext.defs#facetRefItem",
              "pub.chive.richtext.defs#eprintRefItem",
              "pub.chive.richtext.defs#annotationRefItem",
              "pub.chive.richtext.defs#authorRefItem",
              "pub.chive.richtext.defs#mentionItem",
              "pub.chive.richtext.defs#linkItem",
              "pub.chive.richtext.defs#tagItem",
              "pub.chive.richtext.defs#latexItem",
              "pub.chive.richtext.defs#codeBlockItem",
              "pub.chive.richtext.defs#headingItem",
              "pub.chive.richtext.defs#listItem",
              "pub.chive.richtext.defs#blockquoteItem"
            ],
            "type": "union"
          },
          "maxLength": 500,
          "description": "Rich abstract with text, formatting, and entity references"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "publishedAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
