v2.1.205
Added Features
Backup Client
- Update a Project Backup:
A new method (updateProjectBackup) has been added to theBackupClientinterface, allowing users to update project backup information. It accepts a request object of typeUpdateProjectBackupRequestand returns anEmptyResponse. Full documentation is available here.
Container Client
- Add a Template Component:
The ability to add a template component to a stack through theaddTemplateComponentmethod has been implemented in theContainerClient. It uses a request object of typeAddTemplateComponentRequest. Refer to the full documentation here.
Project Client
-
Update a Project:
TheProjectClientnow includes the methodupdateProject, which allows users to update project details. It takes anUpdateProjectRequestand returns anEmptyResponse. Documentation is available here. -
Update a Server:
A method for updating server details has been added to theProjectClientinterface (updateServer). This method takes anUpdateServerRequestand returns anEmptyResponse. Documentation can be found here.
Storage Space Statistics
-
Update Project Storage Space Statistics:
ThestoragespaceUpdateProjectStatisticsmethod allows updating a project's storage space statistics. This method requires aStoragespaceUpdateProjectStatisticsRequestand provides appropriate response handling. For more information, see the documentation here. -
Update Server Storage Space Statistics:
Similar to project statistics, thestoragespaceUpdateServerStatisticsmethod has been introduced for managing server storage space statistics. It follows the same structure as the project statistics update, with full documentation available here.
Updated Interfaces and Implementations
-
BackupClient: The interface has been updated with the new
updateProjectBackupmethod. Corresponding implementations withinBackupClientImplwere also adjusted. -
ContainerClient: The interface now includes the method
addTemplateComponentalongside the necessary implementations inContainerClientImpl. -
ProjectClient: The interface has been expanded to incorporate
updateProjectandupdateServermethods. Additional implementations withinProjectClientImplreflect these changes.
These features enhance the API's capability to manage backups, clusters, and project details effectively, thereby providing enhanced functionality for developers using the Mittwald API.