You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(references): regenerate the API reference for the #3842 spec changes
`content/docs/references/` is generated from `packages/spec` by
`scripts/build-docs.ts` and is gated by `check:docs`. The spec edits in the
parent commit — `ApiError.httpStatus`, two new `StandardErrorCode` members, and
`DispatcherErrorCode`/`DispatcherErrorResponseSchema` — left 12 reference pages
stale. Regenerated with `gen:schema && gen:docs`; no hand edits.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018u8vDQLWPJxBWQESznDpSj
Copy file name to clipboardExpand all lines: content/docs/references/api/batch.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ const result = BatchConfig.parse(data);
60
60
| :--- | :--- | :--- | :--- |
61
61
|**id**|`string`| optional | Record ID if operation succeeded |
62
62
|**success**|`boolean`| ✅ | Whether this record was processed successfully |
63
-
|**errors**|`{ code: string; message: string; category?: string; details?: any; … }[]`| optional | Array of errors if operation failed |
63
+
|**errors**|`{ code: string; message: string; category?: string; httpStatus?: integer; … }[]`| optional | Array of errors if operation failed |
64
64
|**data**|`Record<string, any>`| optional | Full record data (if returnRecords=true) |
65
65
|**index**|`number`| optional | Index of the record in the request array |
66
66
|**droppedFields**|`{ object: string; fields: string[]; reason: Enum<'readonly' \| 'readonly_when'> }[]`| optional | Write-observability (#3407/#3431/#3455): caller-supplied fields LEGALLY stripped from THIS row before it was written — static `readonly` (#2948) / TRUE `readonlyWhen` (#3042) on update, or the #3043 create-ingress strip. Per-row because a batch can drop different fields on different rows (`readonlyWhen` is record-state-dependent). Present ONLY when ≥1 field was dropped for this row; the row still succeeded (success unchanged). A single response header cannot express per-row drops, so this body field is the canonical bulk channel — REST does not emit `X-ObjectStack-Dropped-Fields` for batches. Optional — omit-when-empty keeps the shape backward-compatible. |
@@ -127,13 +127,13 @@ const result = BatchConfig.parse(data);
127
127
| Property | Type | Required | Description |
128
128
| :--- | :--- | :--- | :--- |
129
129
|**success**|`boolean`| ✅ | Operation success status |
130
-
|**error**|`{ code: string; message: string; category?: string; details?: any; … }`| optional | Error details if success is false |
130
+
|**error**|`{ code: string; message: string; category?: string; httpStatus?: integer; … }`| optional | Error details if success is false |
0 commit comments