Chapter 5. Entry Point
A user begins interacting with the API through a
GET request on the entry point URI consisting of a host and base.
Example 5.1. Accessing the API Entry Point
If the host is
www.example.com and the base is /api, the entry point appears with the following request:
Note
For simplicity, all other examples omit the
Host: and Authorization: request headers and assume the base is the default /api path. This base path differs depending on your implementation.
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug
5.1. Product Information Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
The entry point contains a
product_info element to help an API user determine the legitimacy of the Red Hat Storage environment. This includes the name of the product, the vendor and the version.
Example 5.2. Verify a genuine Red Hat Storage environment
The follow elements identify a genuine Red Hat Storage 3.0 environment:
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug