People often ask how they can write scripts and use Spinnaker programmatically. Spinnaker is a collection of subservices that all expose a RESTful API. You can see a list (with descriptions) of all of the endpoints by navigating to:
Note: you may need to append your url with the gate port,
You should see a screen that looks like:
You can click on the controller you are interested in to see endpoints related to it. You can even test out hitting these different endpoints right in the UI.
Being able to access the API when auth is enabled requires a certain configuration by your Spinnaker Administrator. They will need to enable programmatic access via mutual tls (x509 certs). Then you will need to use a cert when communicating with the API.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.