News for hackers. Stuff that matters.
Re:Ask HN: What API do you wish had a client SDK? by dandevs on Wednesday November 02, 2022 @06:13PM (#33443646)
Interesting. What language are you writing? Is there a specific Resource you use: https://apidocs.theforeman.org/foreman/latest/apidoc/v2.html
Re:Ask HN: What API do you wish had a client SDK? by stop50 on Thursday November 03, 2022 @01:55AM (#33447525)
At least they started to improve. But im missing anything package and contentview related. We are using satellite, which is an redhat supported packaged form of foreman. My main problems are: 1. There is no way of detecting or getting info if an resource is locked, our approach is trial and error, which just is too errorprone. 2. errormessages: most errormessages are in the form {displayname: string, error:[string, ]} sometimes error is errors or the list containing strings is an complex object. Some errors have even two very different ways of error output(permission error) we are using python for developing our tools.