All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| deleteHelm | DELETE /helm/{helmId} | Delete helm |
| editHelm | PUT /helm/{helmId} | Edit helm |
| getHelm | GET /helm/{helmId} | Get helm by ID |
| getHelmStatus | GET /helm/{helmId}/status | Get helm status |
| listHelmCommit | GET /helm/{helmId}/commit | List last helm commits |
| listHelmLinks | GET /helm/{helmId}/link | List all URLs of the helm |
deleteHelm(helmId)
Delete helm
To delete the helm you must have the admin permission
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
apiInstance.deleteHelm(helmId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
HelmResponse editHelm(helmId, opts)
Edit helm
- To edit the helm you must have the admin permission.
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
let opts = {
'helmRequest': new QoveryApi.HelmRequest() // HelmRequest |
};
apiInstance.editHelm(helmId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID | |
| helmRequest | HelmRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
HelmResponse getHelm(helmId)
Get helm by ID
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
apiInstance.getHelm(helmId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID |
- Content-Type: Not defined
- Accept: application/json
Status getHelmStatus(helmId)
Get helm status
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
apiInstance.getHelmStatus(helmId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID |
- Content-Type: Not defined
- Accept: application/json
CommitResponseList listHelmCommit(helmId, opts)
List last helm commits
Returns list of the last 100 commits made on the repository linked to helm
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
let opts = {
'of': "'chart'" // String | Source of git commit. Can be 'chart' or 'values'
};
apiInstance.listHelmCommit(helmId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID | |
| of | String | Source of git commit. Can be 'chart' or 'values' | [optional] [default to 'chart'] |
- Content-Type: Not defined
- Accept: application/json
LinkResponseList listHelmLinks(helmId)
List all URLs of the helm
This will return all the custom domains and Qovery autogenerated domain for the given helm
import QoveryApi from 'qovery_api';
let defaultClient = QoveryApi.ApiClient.instance;
// Configure API key authorization: ApiKeyAuth
let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth'];
ApiKeyAuth.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new QoveryApi.HelmMainCallsApi();
let helmId = "helmId_example"; // String | Helm ID
apiInstance.listHelmLinks(helmId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| helmId | String | Helm ID |
- Content-Type: Not defined
- Accept: application/json