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. -->
# WebLinksManager

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

## create

`POST /web_links`

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

**Returns:** `WebLink`

**Example**

```rust
let result = client.web_links.create(schemas::WebLinkCreateRequest { /* … */ }).await?;
```

## get

`GET /web_links/{web_link_id}`

| Parameter | In | Type | Required |
|---|---|---|---|
| `web_link_id` | path | `String` | yes |
| `boxapi` | header | `String` | no |

**Returns:** `WebLink`

**Example**

```rust
let result = client.web_links.get("WEB_LINK_ID".to_string(), None).await?;
```

## update

`PUT /web_links/{web_link_id}`

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

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

**Returns:** `WebLink`

**Example**

```rust
let result = client.web_links.update("WEB_LINK_ID".to_string(), schemas::WebLinkUpdateRequest { /* … */ }).await?;
```

## delete

`DELETE /web_links/{web_link_id}`

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

**Returns:** no content

**Example**

```rust
client.web_links.delete("WEB_LINK_ID".to_string()).await?;
```