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
<!-- Generated by box-gantry. DO NOT EDIT. -->
# EventsManager
Reach these methods through the `events` field on `client::Client`.
## list
`GET /events`
| Parameter | In | Type | Required |
|---|---|---|---|
| `stream_type` | query | `GetStreamType` | no |
| `stream_position` | query | `String` | no |
| `limit` | query | `i64` | no |
| `event_type` | query | `Vec<GetEventType>` | no |
| `created_after` | query | `chrono::DateTime<chrono::Utc>` | no |
| `created_before` | query | `chrono::DateTime<chrono::Utc>` | no |
**Returns:** `Events`
**Example**
```rust
let result = client.events.list(None).await?;
```
## options
`OPTIONS /events`
**Returns:** `RealtimeServers`
**Example**
```rust
let result = client.events.options().await?;
```