box-open-sdk 0.1.2

Community, unofficial Box API client for Rust — typed models, async managers, and a reqwest runtime with retry, backoff, and token refresh.
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# ChunkedUploadsManager

Reach these methods through the `chunked_uploads` field on `client::Client`.

## create_file_upload_sessions

`POST /files/upload_sessions`

**Request body** (`application/json`): `FileUploadSessionsCreateRequest`

**Returns:** `UploadSession`

## create_file_by_id_upload_sessions

`POST /files/{file_id}/upload_sessions`

| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |

**Request body** (`application/json`): `FileIdUploadSessionsCreateRequest`

**Returns:** `UploadSession`

## get_file_upload_session

`GET /files/upload_sessions/{upload_session_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `upload_session_id` | path | `String` | yes |

**Returns:** `UploadSession`

## update_file_upload_session

`PUT /files/upload_sessions/{upload_session_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `upload_session_id` | path | `String` | yes |
| `digest` | header | `String` | yes |
| `content-range` | header | `String` | yes |

**Request body** (`application/octet-stream`): `Vec<u8>`

**Returns:** `UploadedPart`

## delete_file_upload_session

`DELETE /files/upload_sessions/{upload_session_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `upload_session_id` | path | `String` | yes |

**Returns:** no content

## list_file_upload_session_parts

`GET /files/upload_sessions/{upload_session_id}/parts`

| Parameter | In | Type | Required |
|---|---|---|---|
| `upload_session_id` | path | `String` | yes |
| `offset` | query | `i64` | no |
| `limit` | query | `i64` | no |

**Returns:** `UploadParts`

Paginated — `list_file_upload_session_parts(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).

## commit_file_upload_session

`POST /files/upload_sessions/{upload_session_id}/commit`

| Parameter | In | Type | Required |
|---|---|---|---|
| `upload_session_id` | path | `String` | yes |
| `digest` | header | `String` | yes |
| `if-match` | header | `String` | no |
| `if-none-match` | header | `String` | no |

**Request body** (`application/json`): `FileUploadSessionCommitRequest`

**Returns:** `Files`