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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!-- Generated by box-gantry. DO NOT EDIT. -->
# SkillsManager
Reach these methods through the `skills` field on `client::Client`.
## get
`GET /files/{file_id}/metadata/global/boxSkillsCards`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |
**Returns:** `SkillCardsMetadata`
**Example**
```rust
let result = client.skills.get("FILE_ID".to_string()).await?;
```
## update
`PUT /files/{file_id}/metadata/global/boxSkillsCards`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |
**Request body** (`application/json-patch+json`): `Vec<UpdateSkillRequest>`
**Returns:** `SkillCardsMetadata`
**Example**
```rust
let result = client.skills.update("FILE_ID".to_string(), vec![]).await?;
```
## create
`POST /files/{file_id}/metadata/global/boxSkillsCards`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |
**Request body** (`application/json`): `CreateSkillRequest`
**Returns:** `SkillCardsMetadata`
**Example**
```rust
let result = client.skills.create("FILE_ID".to_string(), schemas::CreateSkillRequest { /* … */ }).await?;
```
## delete
`DELETE /files/{file_id}/metadata/global/boxSkillsCards`
| Parameter | In | Type | Required |
|---|---|---|---|
| `file_id` | path | `String` | yes |
**Returns:** no content
**Example**
```rust
client.skills.delete("FILE_ID".to_string()).await?;
```
## update_skill_invocation
`PUT /skill_invocations/{skill_id}`
| Parameter | In | Type | Required |
|---|---|---|---|
| `skill_id` | path | `String` | yes |
**Request body** (`application/json`): `UpdateSkillInvocationRequest`
**Returns:** no content
**Example**
```rust
client.skills.update_skill_invocation("SKILL_ID".to_string(), schemas::UpdateSkillInvocationRequest { /* … */ }).await?;
```