Skip to content

Commit 42b98ee

Browse files
chore(uploads): clarify finalize token validation errors (#204)
Co-authored-by: hotdata-automation[bot] <267177015+hotdata-automation[bot]@users.noreply.github.com>
1 parent 30afbc0 commit 42b98ee

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- chore(uploads): clarify finalize token validation errors
1213
- feat(jobs): add ivf_index_hold job type support
1314
- feat(indexes): add algorithm and probe_fraction support
1415
- chore: add 403 forbidden response to endpoints

‎docs/UploadsApi.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ Name | Type | Description | Notes
283283
| Status code | Description | Response headers |
284284
|-------------|-------------|------------------|
285285
**200** | Upload finalized | - |
286-
**400** | Invalid finalize token, uploaded size mismatch, missing file, or upload not finalizable | - |
287-
**404** | Upload session not found | - |
286+
**400** | Missing finalize token header, uploaded size mismatch, missing file, or upload not finalizable | - |
287+
**404** | Upload session not found, or the finalize token does not match it | - |
288288

289289
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
290290

@@ -375,8 +375,8 @@ Name | Type | Description | Notes
375375
| Status code | Description | Response headers |
376376
|-------------|-------------|------------------|
377377
**200** | Minted part URLs | - |
378-
**400** | Invalid finalize token, invalid part numbers, batch too large, or the upload is not a multi-part upload | - |
379-
**404** | Upload session not found | - |
378+
**400** | Missing finalize token header, invalid part numbers, batch too large, or the upload is not a multi-part upload | - |
379+
**404** | Upload session not found, or the finalize token does not match it | - |
380380
**501** | This deployment cannot issue upload URLs | - |
381381

382382
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)