# pub.oysters.getActorPosts

> Published by [oysters.pub](https://lexicon.garden/identity/did:plc:gsvuczfwpmrqpap45iz23j43)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:gsvuczfwpmrqpap45iz23j43/pub.oysters.getActorPosts)
- [Documentation](https://lexicon.garden/lexicon/did:plc:gsvuczfwpmrqpap45iz23j43/pub.oysters.getActorPosts/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:gsvuczfwpmrqpap45iz23j43/pub.oysters.getActorPosts/examples)

## Definitions

### `pub.oysters.getActorPosts`

**Type**: `query`

One account's submissions, most recently indexed first.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes | A DID, or a handle to resolve. |
| `limit` | `integer` | No | How many submissions to return. |
| `cursor` | `string` | No | Opaque. Pass back what the previous page returned. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `feed` | `array` | Yes | The page, newest first. |
| `cursor` | `string` | No | Pass to the next call. Absent when there is nothing more. |

#### Errors

- **NotFound**: No account here by that DID or handle. An account this board has never seen is not an error the caller can fix, but it is still not found.
- **InvalidRequest**: The actor is neither a DID nor a resolvable handle.

## Raw Schema

```json
{
  "id": "pub.oysters.getActorPosts",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound",
          "description": "No account here by that DID or handle. An account this board has never seen is not an error the caller can fix, but it is still not found."
        },
        {
          "name": "InvalidRequest",
          "description": "The actor is neither a DID nor a resolvable handle."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "feed"
          ],
          "properties": {
            "feed": {
              "type": "array",
              "items": {
                "ref": "pub.oysters.defs#postView",
                "type": "ref"
              },
              "description": "The page, newest first."
            },
            "cursor": {
              "type": "string",
              "description": "Pass to the next call. Absent when there is nothing more."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier",
            "description": "A DID, or a handle to resolve."
          },
          "limit": {
            "type": "integer",
            "default": 25,
            "maximum": 100,
            "minimum": 1,
            "description": "How many submissions to return."
          },
          "cursor": {
            "type": "string",
            "description": "Opaque. Pass back what the previous page returned."
          }
        }
      },
      "description": "One account's submissions, most recently indexed first."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
