# app.thesocialwire.articleDraft.list

> Owner-only encrypted server-private article drafts. Authentication required; owner comes only from the authenticated DID. Never publishes drafts or images to the PDS. Responses use private, no-store and nosniff. Storage unavailable returns Unavailable. Saves use expectedRevision CAS and durable mutationId idempotency; tombstones never resurrect. Explicit Publish/Schedule remain separate actions. Lists UUIDs in ascending order, includes deletion tombstones, and uses an exclusive UUID cursor. Clients resolve unlocked cross-device conflicts by payload.updatedAt (latest edit wins); ties, tombstones, and publication/schedule claims prefer the server.

- Kind: query
- Authority: articleDraft.thesocialwire.app
- Lexicon: 1
- Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.articleDraft.list)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.articleDraft.list/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.articleDraft.list/analytics)

## Query (`app.thesocialwire.articleDraft.list`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Canonical lowercase UUID. This private identifier is not a PDS record.
  - Constraints: minLength: 36, maxLength: 36
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 20, default: 20

### Output (application/json)

- `cursor` (string): Canonical lowercase UUID. This private identifier is not a PDS record.
  - Constraints: minLength: 36, maxLength: 36
- `drafts` (array, required)
  - Constraints: maxLength: 20
  - `items` (ref)
    - Reference: `app.thesocialwire.articleDraft.defs#document`

### Errors

- `InvalidRequest`: No description in schema.
- `Unauthorized`: No description in schema.
- `NotFound`: No description in schema.
- `Conflict`: No description in schema.
- `UploadPending`: No description in schema.
- `Quota`: No description in schema.
- `Unavailable`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Owner-only encrypted server-private article drafts. Authentication required; owner comes only from the authenticated DID. Never publishes drafts or images to the PDS. Responses use private, no-store and nosniff. Storage unavailable returns Unavailable. Saves use expectedRevision CAS and durable mutationId idempotency; tombstones never resurrect. Explicit Publish/Schedule remain separate actions. Lists UUIDs in ascending order, includes deletion tombstones, and uses an exclusive UUID cursor. Clients resolve unlocked cross-device conflicts by payload.updatedAt (latest edit wins); ties, tombstones, and publication/schedule claims prefer the server.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "UploadPending"
        },
        {
          "name": "Quota"
        },
        {
          "name": "Unavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Canonical lowercase UUID. This private identifier is not a PDS record.",
              "maxLength": 36,
              "minLength": 36,
              "type": "string"
            },
            "drafts": {
              "items": {
                "ref": "app.thesocialwire.articleDraft.defs#document",
                "type": "ref"
              },
              "maxLength": 20,
              "type": "array"
            }
          },
          "required": [
            "drafts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Canonical lowercase UUID. This private identifier is not a PDS record.",
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "limit": {
            "default": 20,
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.thesocialwire.articleDraft.list",
  "lexicon": 1
}
```
