All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| createContainerRegistry | POST /organization/{organizationId}/containerRegistry | Create a container registry |
| deleteContainerRegistry | DELETE /organization/{organizationId}/containerRegistry/{containerRegistryId} | Delete a container registry |
| editContainerRegistry | PUT /organization/{organizationId}/containerRegistry/{containerRegistryId} | Edit a container registry |
| getContainerRegistry | GET /organization/{organizationId}/containerRegistry/{containerRegistryId} | Get a container registry |
| listAvailableContainerRegistry | GET /availableContainerRegistry | List supported container registries |
| listContainerRegistry | GET /organization/{organizationId}/containerRegistry | List organization container registries |
ContainerRegistryResponse createContainerRegistry(organizationId, opts)
Create a container registry
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.ContainerRegistriesApi();
let organizationId = "organizationId_example"; // String | Organization ID
let opts = {
'containerRegistryRequest': new QoveryApi.ContainerRegistryRequest() // ContainerRegistryRequest |
};
apiInstance.createContainerRegistry(organizationId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID | |
| containerRegistryRequest | ContainerRegistryRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
deleteContainerRegistry(organizationId, containerRegistryId)
Delete a container registry
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.ContainerRegistriesApi();
let organizationId = "organizationId_example"; // String | Organization ID
let containerRegistryId = "containerRegistryId_example"; // String | Container Registry ID
apiInstance.deleteContainerRegistry(organizationId, containerRegistryId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID | |
| containerRegistryId | String | Container Registry ID |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ContainerRegistryResponse editContainerRegistry(organizationId, containerRegistryId, opts)
Edit a container registry
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.ContainerRegistriesApi();
let organizationId = "organizationId_example"; // String | Organization ID
let containerRegistryId = "containerRegistryId_example"; // String | Container Registry ID
let opts = {
'containerRegistryRequest': new QoveryApi.ContainerRegistryRequest() // ContainerRegistryRequest |
};
apiInstance.editContainerRegistry(organizationId, containerRegistryId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID | |
| containerRegistryId | String | Container Registry ID | |
| containerRegistryRequest | ContainerRegistryRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
ContainerRegistryResponse getContainerRegistry(organizationId, containerRegistryId)
Get a container registry
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.ContainerRegistriesApi();
let organizationId = "organizationId_example"; // String | Organization ID
let containerRegistryId = "containerRegistryId_example"; // String | Container Registry ID
apiInstance.getContainerRegistry(organizationId, containerRegistryId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID | |
| containerRegistryId | String | Container Registry ID |
- Content-Type: Not defined
- Accept: application/json
AvailableContainerRegistryResponseList listAvailableContainerRegistry()
List supported container registries
List supported container registries by Qovery and get the mandatory authentification configuration.
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.ContainerRegistriesApi();
apiInstance.listAvailableContainerRegistry((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
AvailableContainerRegistryResponseList
- Content-Type: Not defined
- Accept: application/json
ContainerRegistryResponseList listContainerRegistry(organizationId)
List organization container registries
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.ContainerRegistriesApi();
let organizationId = "organizationId_example"; // String | Organization ID
apiInstance.listContainerRegistry(organizationId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | String | Organization ID |
- Content-Type: Not defined
- Accept: application/json