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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!-- Generated by box-gantry. DO NOT EDIT. -->
# FileRequestsManager
Reach these methods through the `file_requests` field on `client::Client`.
## get
`GET /file_requests/{file_request_id}`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_request_id` | path | `String` | yes |
**Returns:** `FileRequest`
**Example**
```rust
let result = client.file_requests.get("FILE_REQUEST_ID".to_string()).await?;
```
## update
`PUT /file_requests/{file_request_id}`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_request_id` | path | `String` | yes |
| `if-match` | header | `String` | no |
**Request body** (`application/json`): `FileRequestUpdateRequest`
**Returns:** `FileRequest`
**Example**
```rust
let result = client.file_requests.update("FILE_REQUEST_ID".to_string(), schemas::FileRequestUpdateRequest { /* … */ }, None).await?;
```
## delete
`DELETE /file_requests/{file_request_id}`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_request_id` | path | `String` | yes |
**Returns:** no content
**Example**
```rust
client.file_requests.delete("FILE_REQUEST_ID".to_string()).await?;
```
## copy
`POST /file_requests/{file_request_id}/copy`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_request_id` | path | `String` | yes |
**Request body** (`application/json`): `FileRequestCopyRequest`
**Returns:** `FileRequest`
**Example**
```rust
let result = client.file_requests.copy("FILE_REQUEST_ID".to_string(), schemas::FileRequestCopyRequest { /* … */ }).await?;
```