Hi, Dnia czwartek, 5 grudnia 2024 09:52:36 czas środkowoeuropejski standardowy darsh.mehta@crestdata.ai pisze:
Hello, We want to create an integration with OpenStack for which we require the REST APIs to connect to OpenStack. However, OpenStack provides 2 offerings i.e. Cloud and On-Prem. We are referring to the OpenStack API documentation available over here https://docs.openstack.org/api-quick-start/api-quick-start.html#. But it does not specify anywhere whether the APIs are for cloud or on-prem. Are the APIs same for both or do we have separate documentation for each of these?
Thanks in advance!
Documentation is the same but APIs provided by providers may vary depending on the version used, sometimes also extensions/plugins enabled, etc. Services provides documentation called "api-ref", like e.g. [1] for Nova or [2] for Neutron - see [3] for list of the projects with such document. You should use that as API documentation. Services like Nova supports micro versioning so based on the micro version used some APIs may or may not be available. Neutron for example don't support microversions but we have something called "API extensions" so you can call your cloud to get list of available extensions and based on that you will know which of the APIs are available. [1] https://docs.openstack.org/api-ref/compute/ [2] https://docs.openstack.org/api-ref/network/v2/ [3] https://docs.openstack.org/api-ref/ -- Slawek Kaplonski Principal Software Engineer Red Hat