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. -->
# FoldersManager

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

## get

`GET /folders/{folder_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |
| `if-none-match` | header | `String` | no |
| `boxapi` | header | `String` | no |
| `sort` | query | `GetIdSort` | no |
| `direction` | query | `OrderDirection` | no |
| `offset` | query | `i64` | no |
| `limit` | query | `i64` | no |

**Returns:** `FolderFull`

## update

`PUT /folders/{folder_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |
| `if-match` | header | `String` | no |

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

**Returns:** `FolderFull`

## delete

`DELETE /folders/{folder_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | path | `String` | yes |
| `if-match` | header | `String` | no |
| `recursive` | query | `bool` | no |

**Returns:** no content

## list_items

`GET /folders/{folder_id}/items`

| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |
| `usemarker` | query | `bool` | no |
| `marker` | query | `String` | no |
| `offset` | query | `i64` | no |
| `limit` | query | `i64` | no |
| `boxapi` | header | `String` | no |
| `sort` | query | `GetIdSort` | no |
| `direction` | query | `OrderDirection` | no |

**Returns:** `Items`

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

## create

`POST /folders`

| Parameter | In | Type | Required |
|---|---|---|---|
| `fields` | query | `Vec<String>` | no |

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

**Returns:** `FolderFull`

## copy

`POST /folders/{folder_id}/copy`

| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |

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

**Returns:** `FolderFull`