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
48
49
50
51
52
53
54
55
<!-- Generated by box-gantry. DO NOT EDIT. -->
# SearchManager
Reach these methods through the `search` field on `client::Client`.
## query_by_metadata
`POST /metadata_queries/execute_read`
**Request body** (`application/json`): `MetadataQuery`
**Returns:** `MetadataQueryResults`
**Example**
```rust
let result = client.search.query_by_metadata(schemas::MetadataQuery { /* … */ }).await?;
```
## get
`GET /search`
| Parameter | In | Type | Required |
|---|---|---|---|
| `query` | query | `String` | no |
| `scope` | query | `GetScope` | no |
| `file_extensions` | query | `Vec<String>` | no |
| `created_at_range` | query | `Vec<String>` | no |
| `updated_at_range` | query | `Vec<String>` | no |
| `size_range` | query | `Vec<i64>` | no |
| `owner_user_ids` | query | `Vec<String>` | no |
| `recent_updater_user_ids` | query | `Vec<String>` | no |
| `ancestor_folder_ids` | query | `Vec<String>` | no |
| `content_types` | query | `Vec<GetContentTypes>` | no |
| `type` | query | `GetType` | no |
| `trash_content` | query | `GetTrashContent` | no |
| `mdfilters` | query | `Vec<MetadataFilter>` | no |
| `sort` | query | `GetSort` | no |
| `direction` | query | `GetDirection` | no |
| `limit` | query | `i64` | no |
| `include_recent_shared_links` | query | `bool` | no |
| `fields` | query | `Vec<String>` | no |
| `offset` | query | `i64` | no |
| `deleted_user_ids` | query | `Vec<String>` | no |
| `deleted_at_range` | query | `Vec<String>` | no |
**Returns:** `SearchResultsResponse`
**Example**
```rust
let result = client.search.get(None).await?;
```