Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hybrid Cloud Management with Red Hat CloudForms

You're reading from   Hybrid Cloud Management with Red Hat CloudForms Build, manage, and control an open hybrid cloud infrastructure using Red Hat CloudForms

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781785283574
Length 174 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Sangram Rath Sangram Rath
Author Profile Icon Sangram Rath
Sangram Rath
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Red Hat CloudForms Internals FREE CHAPTER 2. Installing Red Hat CloudForms on Red Hat OpenStack 3. Building a Hybrid Cloud Environment Using Red Hat CloudForms 4. Provisioning Instances Using Red Hat CloudForms 5. Life Cycle Management Using Red Hat CloudForms 6. Automation Using Red Hat CloudForms 7. Managing Red Hat CloudForms 8. Monitoring a Hybrid Cloud Infrastructure Using Red Hat CloudForms 9. Optimizing Using Red Hat CloudForms 10. APIs for Red Hat CloudForms Index

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 basically a format for data exchange and storing. One of the important advantages of JSON is its ease of use, both for humans and machines.

The content type is application/JSON for all API requests and responses.

An example of a CloudForms virtual...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image