# ListCollaborationsManager
Reach these methods through the `list_collaborations` field on `client::Client`.
## list_file_collaborations
`GET /files/{file_id}/collaborations`
| `file_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |
| `limit` | query | `i64` | no |
| `marker` | query | `String` | no |
**Returns:** `Collaborations`
**Example**
```rust
let mut pages = client.list_collaborations.list_file_collaborations("FILE_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_file_collaborations(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## list_folder_collaborations
`GET /folders/{folder_id}/collaborations`
| `folder_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |
| `limit` | query | `i64` | no |
| `marker` | query | `String` | no |
**Returns:** `Collaborations`
**Example**
```rust
let mut pages = client.list_collaborations.list_folder_collaborations("FOLDER_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_folder_collaborations(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## list_collaborations
`GET /collaborations`
| `status` | query | `GetCollaborationsStatus` | yes |
| `fields` | query | `Vec<String>` | no |
| `offset` | query | `i64` | no |
| `limit` | query | `i64` | no |
**Returns:** `CollaborationsOffsetPaginated`
**Example**
```rust
let mut pages = client.list_collaborations.list_collaborations(Default::default(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_collaborations(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).
## list_group_collaborations
`GET /groups/{group_id}/collaborations`
| `group_id` | path | `String` | yes |
| `limit` | query | `i64` | no |
| `offset` | query | `i64` | no |
**Returns:** `CollaborationsOffsetPaginated`
**Example**
```rust
let mut pages = client.list_collaborations.list_group_collaborations("GROUP_ID".to_string(), None);
while let Some(item) = pages.next().await {
// use item
}
```
Paginated — `list_group_collaborations(...)` returns a paginator you drive with `.next().await`, threading the cursor for you. See the [pagination guide](../pagination.md).