# BatchEditResponse

What a batch edit did, file by file.

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

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `success` | `boolean` | Whether all file edits succeeded. |
| `fileResults` | [`BatchEditFileResult`](https://docs.maitento.com/reference/types/batch-edit-file-result.md)`[]` | Results for each file edit. |

## Example

```json
{
  "success": false,
  "fileResults": [
    {
      "path": "...",
      "success": false,
      "error": "...",
      "operationResults": []
    }
  ]
}
```

## Where it's used

- [`vfs.open(name).batchEdit`](https://docs.maitento.com/reference/api/vfs.md) (`POST /namespaces/{namespaceName}/vfs/by-name/{name}/batch/edit`)
- [`vfs.openById(id).batchEdit`](https://docs.maitento.com/reference/api/vfs.md) (`POST /vfs/by-id/{id}/batch/edit`)
