The JavaScript client of Red Hat Certification API
npm install redhat-certification-apiThis is a Javascript Library to interact with Red Hat Hydra and Strata API
``javascript
import api from 'redhat-certification-api';
const getOpenStack = async (caseNumber) = {
return await api.certification.openstack.get(caseNumber);
}
``
#### Attachment
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| list | Get attachments of case | | | |
| upload | Upload file to Hydra File Storage Serivce | | | |
| | | | | |
#### Certification
##### Hardware
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| get | Get hardware certification details by case number | | | |
| getAvailableLayeredProducts | Get hardware available layered products by case number | | | |
| create | Create a hardware certification | | | |
| update | Update hardware certification details by case number | | | |
| | | | | |
##### OpenStack
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| get | Get openstack certification details by case number | | | |
| create | Create a openstack certification | | | |
| update | Update openstack certification details by case number | | | |
| | | | | |
#### Component
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| getOpenStackApis | Get openstack apis | | | |
| getOpenStackFeatures | Get openstack features | | | |
| getOpenStackProtocols | Get openstack protocols | | | |
| | | | | |
#### Vendor
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| | | | | |
#### Vendor Product
##### OpenStack
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| get | Get openstack vendor product | | | |
| update | Update openstack vendor product | | | |
| | | | | |
##### Hardware
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| get | Get hardware vendor product | | | |
| update | Update hardware vendor product | | | |
| | | | | |
#### Vendor
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| getFromPortal | Get vendor details by portalId | | | |
| getIdsFromPortal | Get vendor ids of current user | | | |
| | | | | |
#### Vendor Product
##### Cloud
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| getFromPortal | Get cloud vendor product | | | |
| | | | | |
##### Hardware
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| getFromPortal | Get hardware vendor product | | | |
| | | | | |
##### OpenStack
| Name | Feature | Request | Response | Remarks |
|---|---|---|---|---|
| getFromPortal | Get openstack vendor product | | | |
| | | | | |
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
* The attachment API can not connected. This should fix in UNIFIED-2480
* The Strata API will be replaced by Hydra API piece by piece