Hi! First time user of Proxmox. Looking to automate and store my infrastructure changes as code using Terraform. Found a Proxmox Terraform plugin, but it only covers basic details, not the full suite of options available via the REST API. I was looking into adding to it when I noticed that the Proxmox REST API is very large, and was hoping to automate creation of a Go library using something like OpenAPI/Swagger, but I can't locate a spec definition anywhere. The REST API viewer is very useful but I dont want to have to port the entire API (and deal with changes) without some kind of way of automating the grunt work for client libraries.
So questions:
- Is there an OpenAPI/Swagger style spec for the REST API anywhere?
- If not, is there any plans to add one in a future release? (it looks like the API viewer is auto generated, so there maybe possible hooks there)
- Or alternatively, anyone know of a good, uptodate golang (or even better, terraform) package that covers the REST API?
Thanks everyone!
So questions:
- Is there an OpenAPI/Swagger style spec for the REST API anywhere?
- If not, is there any plans to add one in a future release? (it looks like the API viewer is auto generated, so there maybe possible hooks there)
- Or alternatively, anyone know of a good, uptodate golang (or even better, terraform) package that covers the REST API?
Thanks everyone!