# bucketwarden-console-api

[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](../../Cargo.toml)
[![Rust crate](https://img.shields.io/badge/rust-crate-orange.svg)](Cargo.toml)
[![SSOT governed](https://img.shields.io/badge/SSOT-governed-2f6f4e.svg)](../../.ssot/registry.json)

`bucketwarden-console-api` is the server-side console/report API boundary for `/ui/api/*` request dispatch, report contracts, and browser-facing operations data.

## Install

```toml
bucketwarden-console-api = { path = "../bucketwarden-console-api" }
```

## Usage

```rust
let contract = bucketwarden_console_api::console_api_contract();
assert_eq!(
    contract.boundary_id,
    "bnd:bucketwarden.browser-ui.console-report-api-slice"
);
```

## Crate Links

- Supports [`bucketwarden-browser-ui`](../bucketwarden-browser-ui/README.md).
- Draws from [`bucketwarden-ops`](../bucketwarden-ops/README.md), [`bucketwarden-audit`](../bucketwarden-audit/README.md), and [`bucketwarden-server`](../bucketwarden-server/README.md).

## Author

Jacob Stewart `<jacob@swarmauri.com>`
