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
<!-- Generated by box-gantry. DO NOT EDIT. -->
# AutomateWorkflowsManager
Reach these methods through the `automate_workflows` field on `client::Client`.
## list
`GET /automate_workflows`
| Parameter | In | Type | Required |
|---|---|---|---|
| `folder_id` | query | `String` | yes |
| `limit` | query | `i64` | no |
| `marker` | query | `String` | no |
**Returns:** `AutomateWorkflows`
**Example**
```rust
let mut pages = client.automate_workflows.list("FOLDER_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).
## start
`POST /automate_workflows/{workflow_id}/start`
| Parameter | In | Type | Required |
|---|---|---|---|
| `workflow_id` | path | `String` | yes |
**Request body** (`application/json`): `AutomateWorkflowStartRequest`
**Returns:** no content
**Example**
```rust
client.automate_workflows.start("WORKFLOW_ID".to_string(), schemas::AutomateWorkflowStartRequest { /* … */ }).await?;
```