# bodhi REST API client
[](https://crates.io/crates/bodhi/)
[](https://crates.io/crates/bodhi/)
[](https://crates.io/crates/bodhi/)
[](https://docs.rs/bodhi/)
This package contains WIP rust bindings for the [bodhi] REST API.
[bodhi]: https://github.com/fedora-infra/bodhi
It uses the awesome [`reqwest`][reqwest] and [`serde`][serde] packages.
[reqwest]: https://github.com/seanmonstar/reqwest
[serde]: https://github.com/serde-rs/serde
## Current status
- All `GET` requests are implemented, and all actual API responses should successfully deserialize.
- No `POST` requests are implemented yet, because
- `OpenID` authentication is not yet implemented.
Note that the API is not finalized yet, and minor changes will still happen before the `0.1.0` release.
## TODO
- OpenID authentication, needed for authenticated POST requests
- report bodhi API issues (`Update.id`, `Update.old_update_id` are either
strings or numbers, depending on the query)
- inspect errors in `BuildNVRQuery`, `CommenIDQuery`, `OverrideNVRQuery`,
`ReleaseNameQuery`, `StackNameQuery`, `UpdateIDQuery`, and `UserNameQuery`,
and return `Some(item)` and `None` if it's not found, instead of pushing the
"not found" case into an `Err`