I wish i had better docs for foreman. I have not even the minimum to interact with the api.
I had to write a 50 line long error errorparser (mostly if else cases, 20 lines are only related to normalising errors and does only process the body of the response)