# link.latr.bookmarks.migrateLegacy

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.bookmarks.migrateLegacy)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.bookmarks.migrateLegacy/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.bookmarks.migrateLegacy/examples)

## Definitions

### `link.latr.bookmarks.migrateLegacy`

**Type**: `procedure`

L@tr XRPC method link.latr.bookmarks.migrateLegacy.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**
- **InvalidUrl**
- **AuthRequired**
- **InvalidToken**
- **InvalidDpop**
- **ClientAuthRequired**
- **BookmarkNotFound**
- **Conflict**
- **RateLimitExceeded**
- **UpstreamFailure**

## Raw Schema

```json
{
  "id": "link.latr.bookmarks.migrateLegacy",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [],
          "properties": {
            "limit": {
              "type": "integer",
              "default": 25,
              "maximum": 100,
              "minimum": 1
            },
            "cursor": {
              "type": "string",
              "maxLength": 2048,
              "maxGraphemes": 512
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "InvalidUrl"
        },
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidToken"
        },
        {
          "name": "InvalidDpop"
        },
        {
          "name": "ClientAuthRequired"
        },
        {
          "name": "BookmarkNotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "UpstreamFailure"
        }
      ],
      "output": {
        "schema": {
          "ref": "link.latr.bookmarks.defs#migrationResult",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "L@tr XRPC method link.latr.bookmarks.migrateLegacy."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
