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

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

## list

`GET /hubs`

| Parameter | In | Type | Required |
|---|---|---|---|
| `query` | query | `String` | no |
| `scope` | query | `String` | no |
| `sort` | query | `String` | no |
| `direction` | query | `GetDirection` | no |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |

**Returns:** `Hubs`

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

## create

`POST /hubs`

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

**Returns:** `Hub`

## list_enterprise

`GET /enterprise_hubs`

| Parameter | In | Type | Required |
|---|---|---|---|
| `query` | query | `String` | no |
| `sort` | query | `String` | no |
| `direction` | query | `GetDirection` | no |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |

**Returns:** `Hubs`

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

## get

`GET /hubs/{hub_id}`

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

**Returns:** `Hub`

## update

`PUT /hubs/{hub_id}`

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

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

**Returns:** `Hub`

## delete

`DELETE /hubs/{hub_id}`

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

**Returns:** no content

## copy

`POST /hubs/{hub_id}/copy`

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

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

**Returns:** `Hub`