All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| createApplicationDeploymentRestriction | POST /application/{applicationId}/deploymentRestriction | Create an application deployment restriction |
| deleteApplicationDeploymentRestriction | DELETE /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId} | Delete an application deployment restriction |
| editApplicationDeploymentRestriction | PUT /application/{applicationId}/deploymentRestriction/{deploymentRestrictionId} | Edit an application deployment restriction |
| getApplicationDeploymentRestrictions | GET /application/{applicationId}/deploymentRestriction | Get application deployment restrictions |
ApplicationDeploymentRestriction createApplicationDeploymentRestriction(applicationId, opts)
Create an application deployment restriction
Create an application deployment restriction
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.ApplicationDeploymentRestrictionApi();
let applicationId = "applicationId_example"; // String | Application ID
let opts = {
'applicationDeploymentRestrictionRequest': new QoveryApi.ApplicationDeploymentRestrictionRequest() // ApplicationDeploymentRestrictionRequest |
};
apiInstance.createApplicationDeploymentRestriction(applicationId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| applicationId | String | Application ID | |
| applicationDeploymentRestrictionRequest | ApplicationDeploymentRestrictionRequest | [optional] |
ApplicationDeploymentRestriction
- Content-Type: application/json
- Accept: application/json
deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId)
Delete an application deployment restriction
Delete an application deployment restriction
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.ApplicationDeploymentRestrictionApi();
let applicationId = "applicationId_example"; // String | Application ID
let deploymentRestrictionId = "deploymentRestrictionId_example"; // String | Deployment Restriction ID
apiInstance.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| applicationId | String | Application ID | |
| deploymentRestrictionId | String | Deployment Restriction ID |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ApplicationDeploymentRestriction editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, opts)
Edit an application deployment restriction
Edit an application deployment restriction
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.ApplicationDeploymentRestrictionApi();
let applicationId = "applicationId_example"; // String | Application ID
let deploymentRestrictionId = "deploymentRestrictionId_example"; // String | Deployment Restriction ID
let opts = {
'applicationDeploymentRestrictionRequest': new QoveryApi.ApplicationDeploymentRestrictionRequest() // ApplicationDeploymentRestrictionRequest |
};
apiInstance.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| applicationId | String | Application ID | |
| deploymentRestrictionId | String | Deployment Restriction ID | |
| applicationDeploymentRestrictionRequest | ApplicationDeploymentRestrictionRequest | [optional] |
ApplicationDeploymentRestriction
- Content-Type: application/json
- Accept: application/json
ApplicationDeploymentRestrictionResponseList getApplicationDeploymentRestrictions(applicationId)
Get application deployment restrictions
Get application deployment restrictions
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.ApplicationDeploymentRestrictionApi();
let applicationId = "applicationId_example"; // String | Application ID
apiInstance.getApplicationDeploymentRestrictions(applicationId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| applicationId | String | Application ID |
ApplicationDeploymentRestrictionResponseList
- Content-Type: Not defined
- Accept: application/json