box-open-sdk 0.4.1

Box API client for Rust (open source, community, punk rock) — typed models, async managers, and a reqwest runtime with retry, backoff, and token refresh.
Documentation
<!-- Generated by box-gantry. DO NOT EDIT. -->
# ListCollaborationsManager

Reach these methods through the `list_collaborations` field on `client::Client`.

## list_file_collaborations

`GET /files/{file_id}/collaborations`

| Parameter | In | Type | Required |
|---|---|---|---|
| `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`

| Parameter | In | Type | Required |
|---|---|---|---|
| `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`

| Parameter | In | Type | Required |
|---|---|---|---|
| `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`

| Parameter | In | Type | Required |
|---|---|---|---|
| `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).