Skip to content

Commit 7d70cc7

Browse files
committed
docs(api): drop retired validateOnly from hand-written batch examples (#4052)
The docs-drift-check flagged four hand-written references that still presented `validateOnly` as a working dry-run option — a `data-api` / `wire-format` batch example, a `client-sdk` example, and the client-sdk Batch Options table row ("Dry-run mode — validate without persisting"). The key is retired and now 400s, so these advertised a feature that no longer exists. Removed the key from the three examples (fixing JSON trailing commas) and deleted the table row. The generated references already carry the [REMOVED] prescription. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TzLE9cw4gZKNyPN2ZP4iTt
1 parent f50a8b9 commit 7d70cc7

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎content/docs/api/client-sdk.mdx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ const batchResult = await client.data.batch('account', {
225225
atomic: true,
226226
returnRecords: true,
227227
continueOnError: false,
228-
validateOnly: false,
229228
},
230229
});
231230

@@ -499,7 +498,6 @@ The `find` method accepts an options object with **canonical** (recommended) fie
499498
| `atomic` | `boolean` | `true` | Rollback entire batch on any failure |
500499
| `returnRecords` | `boolean` | `false` | Include full records in response |
501500
| `continueOnError` | `boolean` | `false` | Continue after errors (when atomic=false) |
502-
| `validateOnly` | `boolean` | `false` | Dry-run mode — validate without persisting |
503501

504502
---
505503

‎content/docs/api/data-api.mdx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ Execute a batch operation (create / update / upsert / delete) on multiple record
9292
"options": {
9393
"atomic": true,
9494
"returnRecords": true,
95-
"continueOnError": false,
96-
"validateOnly": false
95+
"continueOnError": false
9796
}
9897
}
9998
```

‎content/docs/api/wire-format.mdx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@ Process many records of a **single** operation type in one request. The body car
484484
],
485485
"options": {
486486
"atomic": true,
487-
"continueOnError": false,
488-
"validateOnly": false
487+
"continueOnError": false
489488
}
490489
}
491490
```

0 commit comments

Comments
 (0)