Commit c43c89e
committed
docs(wire-format): note that service-mounted routes answer in the declared envelope (#3675)
`wire-format.mdx` §7 describes the flat `{ error, code }` envelope, which is
what the kernel REST server emits for `/api/v1/data/*`. With the storage and
i18n routes moved to the declared `BaseResponse` shape, a reader following §7
would look for `body.code` on those routes and find nothing.
Says which envelope belongs to which surface, and that SDK callers need not
branch because `ObjectStackClient` normalizes both.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent bc2ab0e commit c43c89e
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
387 | 408 | | |
388 | 409 | | |
389 | 410 | | |
| |||
0 commit comments