bodhi REST API client
This package contains WIP rust bindings for the bodhi REST API.
It uses the awesome reqwest
and serde
packages.
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
, andUserNameQuery
, and returnSome(item)
andNone
if it's not found, instead of pushing the "not found" case into anErr