O'Reilly logo

Hybrid Cloud Management with Red Hat CloudForms by Sangram Rath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

REST API

Representational State Transfer (REST) is an APIs that works with standard HTTP and HTTPS protocols as a URL.

Accessing REST APIs

In CloudForms, REST can be accessed by prefixing the URL with /api, as follows:

https://<FQDN>/api

Here, FQDN is the public and fully-qualified domain name of the CloudForms server. Writing /api/ causes the current API version to be used by default, but you can also mention the version in the URL to target a specific version, for example, /api/V0.5.

When accessing it locally from the server, use the URL as follows:

http://localhost:3000/api

Port 3000 is the default port.

Content types

The Red Hat CloudForms API uses JavaScript Object Notation (JSON) format. JSON, based on the JavaScript programming language, is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required