All URIs are relative to https://infrahub-api.nexgencloud.com/v1
| Method | HTTP request | Description |
|---|---|---|
| createBetaAccessRequest | POST /auth/beta-access/requests | Create a new beta access request |
| getBetaAccessRequests | GET /auth/beta-access/requests/{program} | Check the status of beta access requests |
| getBetaAccessStatus | GET /auth/beta-access/requests | Check the status of all beta access requests |
BetaAccessRequestResponseModel createBetaAccessRequest(payload)
Create a new beta access request
Creates a new beta access request for the current user
import HyperstackApi from '@nexgencloud/hyperstack-sdk-javascript';
let defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
let apiInstance = new HyperstackApi.BetaAccessApi();
let payload = new HyperstackApi.BetaAccessRequestPayload(); // BetaAccessRequestPayload |
apiInstance.createBetaAccessRequest(payload).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| payload | BetaAccessRequestPayload |
BetaAccessRequestResponseModel
- Content-Type: application/json
- Accept: application/json
BetaAccessStatusResponseModel getBetaAccessRequests(program)
Check the status of beta access requests
Check the status of a particular beta access requests.
import HyperstackApi from '@nexgencloud/hyperstack-sdk-javascript';
let defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
let apiInstance = new HyperstackApi.BetaAccessApi();
let program = "program_example"; // String |
apiInstance.getBetaAccessRequests(program).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| program | String |
- Content-Type: Not defined
- Accept: application/json
BetaAccessStatusResponseModel getBetaAccessStatus()
Check the status of all beta access requests
Check the status of all beta access requests.
import HyperstackApi from '@nexgencloud/hyperstack-sdk-javascript';
let defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
let apiInstance = new HyperstackApi.BetaAccessApi();
apiInstance.getBetaAccessStatus().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json