# BatchEditFileRequest

A single file edit within a batch.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `path` | `string` |  | Path to the file within the file system. |
| `operations` | [`EditOperation`](https://docs.maitento.com/reference/types/edit-operation.md)`[]` |  | Edit operations to apply to this file. |

## Example

```json
{
  "path": "...",
  "operations": [
    {
      "type": "...",
      "find": "...",
      "replace": "...",
      "replaceAll": false,
      "startLine": 0,
      "endLine": 0,
      "content": "...",
      "insertAfterLine": 0,
      "deleteLines": []
    }
  ]
}
```

## Where it's used

- Inside [`BatchEditRequest`](https://docs.maitento.com/reference/types/batch-edit-request.md)
