All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| editContainerAdvancedSettings | PUT /container/{containerId}/advancedSettings | Edit advanced settings |
| editContainerNetwork | PUT /container/{containerId}/network | Edit Container Network |
| getContainerAdvancedSettings | GET /container/{containerId}/advancedSettings | Get advanced settings |
| getContainerNetwork | GET /container/{containerId}/network | Get Container Network information |
ContainerAdvancedSettings editContainerAdvancedSettings(containerId, opts)
Edit advanced settings
Edit advanced settings by returning table of advanced settings.
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.ContainerConfigurationApi();
let containerId = "containerId_example"; // String | Container ID
let opts = {
'containerAdvancedSettings': new QoveryApi.ContainerAdvancedSettings() // ContainerAdvancedSettings |
};
apiInstance.editContainerAdvancedSettings(containerId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| containerId | String | Container ID | |
| containerAdvancedSettings | ContainerAdvancedSettings | [optional] |
- Content-Type: application/json
- Accept: application/json
ContainerNetwork editContainerNetwork(containerId, opts)
Edit Container Network
Edit the Network settings of the container.
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.ContainerConfigurationApi();
let containerId = "containerId_example"; // String | Container ID
let opts = {
'containerNetworkRequest': new QoveryApi.ContainerNetworkRequest() // ContainerNetworkRequest |
};
apiInstance.editContainerNetwork(containerId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| containerId | String | Container ID | |
| containerNetworkRequest | ContainerNetworkRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
ContainerAdvancedSettings getContainerAdvancedSettings(containerId)
Get advanced settings
Get list and values of the advanced settings of the container. Default values for each setting are available in our documentation
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.ContainerConfigurationApi();
let containerId = "containerId_example"; // String | Container ID
apiInstance.getContainerAdvancedSettings(containerId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| containerId | String | Container ID |
- Content-Type: Not defined
- Accept: application/json
ContainerNetwork getContainerNetwork(containerId)
Get Container Network information
Get status of the container network settings.
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.ContainerConfigurationApi();
let containerId = "containerId_example"; // String | Container ID
apiInstance.getContainerNetwork(containerId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| containerId | String | Container ID |
- Content-Type: Not defined
- Accept: application/json