Skip to content

v2.1.205

Choose a tag to compare

@mittwald-machine mittwald-machine released this 22 Jul 19:40

Added Features

Backup Client

  • Update a Project Backup:
    A new method (updateProjectBackup) has been added to the BackupClient interface, allowing users to update project backup information. It accepts a request object of type UpdateProjectBackupRequest and returns an EmptyResponse. Full documentation is available here.

Container Client

  • Add a Template Component:
    The ability to add a template component to a stack through the addTemplateComponent method has been implemented in the ContainerClient. It uses a request object of type AddTemplateComponentRequest. Refer to the full documentation here.

Project Client

  • Update a Project:
    The ProjectClient now includes the method updateProject, which allows users to update project details. It takes an UpdateProjectRequest and returns an EmptyResponse. Documentation is available here.

  • Update a Server:
    A method for updating server details has been added to the ProjectClient interface (updateServer). This method takes an UpdateServerRequest and returns an EmptyResponse. Documentation can be found here.

Storage Space Statistics

  • Update Project Storage Space Statistics:
    The storagespaceUpdateProjectStatistics method allows updating a project's storage space statistics. This method requires a StoragespaceUpdateProjectStatisticsRequest and provides appropriate response handling. For more information, see the documentation here.

  • Update Server Storage Space Statistics:
    Similar to project statistics, the storagespaceUpdateServerStatistics method 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 updateProjectBackup method. Corresponding implementations within BackupClientImpl were also adjusted.

  • ContainerClient: The interface now includes the method addTemplateComponent alongside the necessary implementations in ContainerClientImpl.

  • ProjectClient: The interface has been expanded to incorporate updateProject and updateServer methods. Additional implementations within ProjectClientImpl reflect 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.