box-open-sdk 0.3.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. -->
# UserCollaborationsManager

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

## get_collaboration

`GET /collaborations/{collaboration_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `collaboration_id` | path | `String` | yes |
| `fields` | query | `Vec<String>` | no |

**Returns:** `Collaboration`

**Example**

```rust
let result = client.user_collaborations.get_collaboration("COLLABORATION_ID".to_string(), None).await?;
```

## update_collaboration

`PUT /collaborations/{collaboration_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `collaboration_id` | path | `String` | yes |

**Request body** (`application/json`): `CollaborationUpdateRequest`

**Returns:** `Collaboration`

**Example**

```rust
let result = client.user_collaborations.update_collaboration("COLLABORATION_ID".to_string(), schemas::CollaborationUpdateRequest { /* … */ }).await?;
```

## delete_collaboration

`DELETE /collaborations/{collaboration_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `collaboration_id` | path | `String` | yes |

**Returns:** no content

**Example**

```rust
client.user_collaborations.delete_collaboration("COLLABORATION_ID".to_string()).await?;
```

## create_collaborations

`POST /collaborations`

| Parameter | In | Type | Required |
|---|---|---|---|
| `fields` | query | `Vec<String>` | no |
| `notify` | query | `bool` | no |

**Request body** (`application/json`): `CollaborationsCreateRequest`

**Returns:** `Collaboration`

**Example**

```rust
let result = client.user_collaborations.create_collaborations(schemas::CollaborationsCreateRequest { /* … */ }, None).await?;
```