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
GETrequests are implemented, and all actual API responses should successfully deserialize. - No
POSTrequests are implemented yet, because OpenIDauthentication 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_idare either strings or numbers, depending on the query) - inspect errors in
BuildNVRQuery,CommenIDQuery,OverrideNVRQuery,ReleaseNameQuery,StackNameQuery,UpdateIDQuery, andUserNameQuery, and returnSome(item)andNoneif it's not found, instead of pushing the "not found" case into anErr