1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- Generated by box-gantry. DO NOT EDIT. -->
# HubItemsManager
Reach these methods through the `hub_items` field on `client::Client`.
## list
`GET /hub_items`
| Parameter | In | Type | Required |
|---|---|---|---|
| `hub_id` | query | `String` | yes |
| `parent_id` | query | `String` | no |
| `marker` | query | `String` | no |
| `limit` | query | `i64` | no |
**Returns:** `HubItems`
**Example**
```rust
let mut pages = client.hub_items.list("HUB_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## create_hub_manage_items
`POST /hubs/{hub_id}/manage_items`
| Parameter | In | Type | Required |
|---|---|---|---|
| `hub_id` | path | `String` | yes |
**Request body** (`application/json`): `HubItemsManageRequest`
**Returns:** `HubItemsManageResponse`
**Example**
```rust
let result = client.hub_items.create_hub_manage_items("HUB_ID".to_string(), schemas::HubItemsManageRequest { /* … */ }).await?;
```