# app.thesocialwire.operations.createBackfill

> 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/app.thesocialwire.operations.createBackfill)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.operations.createBackfill/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.operations.createBackfill/examples)

## Definitions

### `app.thesocialwire.operations.createBackfill`

**Type**: `procedure`

The Social Wire operator procedure createBackfill.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `dryRun` | `ref` → `#backfillDryRun` | Yes |  |
| `auditNote` | `string` | No |  |
| `idempotencyKey` | `string` | Yes |  |
| `expectedEstimate` | `integer` | Yes |  |
| `expectedGapVersion` | `integer` | No |  |
| `requestFingerprint` | `string` | Yes |  |
| `environmentConfirmation` | `string` | No |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**
- **Forbidden**
- **Conflict**
- **Unavailable**

### `app.thesocialwire.operations.createBackfill#backfillDryRun`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gapId` | `string` | No |  |
| `batchSize` | `integer` | Yes |  |
| `endCursor` | `integer` | No |  |
| `rateLimit` | `integer` | Yes |  |
| `authorDids` | `array` | No |  |
| `sourceMode` | `string` | Yes |  |
| `collections` | `array` | Yes |  |
| `startCursor` | `integer` | No |  |
| `maxConcurrency` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "app.thesocialwire.operations.createBackfill",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "dryRun",
            "expectedEstimate",
            "idempotencyKey",
            "requestFingerprint"
          ],
          "properties": {
            "dryRun": {
              "ref": "#backfillDryRun",
              "type": "ref"
            },
            "auditNote": {
              "type": "string",
              "maxLength": 2000
            },
            "idempotencyKey": {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            "expectedEstimate": {
              "type": "integer",
              "minimum": 0
            },
            "expectedGapVersion": {
              "type": "integer",
              "minimum": 0
            },
            "requestFingerprint": {
              "type": "string",
              "maxLength": 256
            },
            "environmentConfirmation": {
              "type": "string",
              "maxLength": 32
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Forbidden"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "Unavailable"
        }
      ],
      "output": {
        "schema": {
          "ref": "app.thesocialwire.defs#jsonObject",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "The Social Wire operator procedure createBackfill."
    },
    "backfillDryRun": {
      "type": "object",
      "required": [
        "sourceMode",
        "collections",
        "batchSize",
        "rateLimit",
        "maxConcurrency"
      ],
      "properties": {
        "gapId": {
          "type": "string",
          "maxLength": 256
        },
        "batchSize": {
          "type": "integer",
          "minimum": 1
        },
        "endCursor": {
          "type": "integer",
          "minimum": 0
        },
        "rateLimit": {
          "type": "integer",
          "minimum": 1
        },
        "authorDids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "did"
          },
          "maxLength": 1000
        },
        "sourceMode": {
          "type": "string",
          "maxLength": 64
        },
        "collections": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 512
          },
          "maxLength": 1000
        },
        "startCursor": {
          "type": "integer",
          "minimum": 0
        },
        "maxConcurrency": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
