Breaking (!) API changes for v2 API, July 17 to July 24
This week, the mittwald API introduces several enhancements, including default values for request parameters, the addition of new endpoints for updating various resources, and the removal of deprecated operation IDs to streamline API usage.
Summary
- For the
GEToperationcronjob-list-executionsat the path/v2/cronjobs/{cronjobId}/executions, default values of1000.00for thelimitrequest parameter and0.00for theskiprequest parameter have been added. Note that this is a breaking change. - The
headerrequest parameterAccept-Languagehas been removed from theGEToperationcronjob-get-execution-analysisat the path/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis. - The required property
/items/typehas been added to the response with the200status for theGEToperationcontainer-list-templatesat the path/v2/container-templates. - The required property
typehas been added to the response with the200status for theGEToperationcontainer-get-templateat the path/v2/container-templates/{templateId}. - The API operation ID
database-update-mysql-database-default-charsethas been removed and replaced withdeprecated-database-update-mysql-database-default-charsetfor thePATCHoperation at the path/v2/mysql-databases/{mysqlDatabaseId}/default-charset. - The API operation ID
database-update-mysql-database-descriptionhas been removed and replaced withdeprecated-database-update-mysql-database-descriptionfor thePATCHoperation at the path/v2/mysql-databases/{mysqlDatabaseId}/description. - A new endpoint has been added for the
PATCHoperationdatabase-update-mysql-userat the path/v2/mysql-users/{mysqlUserId}. - The API operation ID
database-update-mysql-userhas been removed and replaced withdeprecated-database-replace-mysql-userfor thePUToperation at the path/v2/mysql-users/{mysqlUserId}. - The API operation ID
database-update-mysql-user-passwordhas been removed and replaced withdeprecated-database-update-mysql-user-passwordfor thePATCHoperation at the path/v2/mysql-users/{mysqlUserId}/password. - A new endpoint has been added for the
PATCHoperationbackup-update-project-backupat the path/v2/project-backups/{projectBackupId}. - A new endpoint has been added for the
PATCHoperationproject-update-projectat the path/v2/projects/{projectId}. - A new endpoint has been added for the
PATCHoperationstoragespace-update-project-statisticsat the path/v2/projects/{projectId}/storage-space-statistics. - The API operation ID
database-update-redis-database-configurationhas been removed and replaced withdeprecated-database-update-redis-database-configurationfor thePATCHoperation at the path/v2/redis-databases/{redisDatabaseId}/configuration. - The API operation ID
database-update-redis-database-descriptionhas been removed and replaced withdeprecated-database-update-redis-database-descriptionfor thePATCHoperation at the path/v2/redis-databases/{redisDatabaseId}/description. - A new endpoint has been added for the
PATCHoperationproject-update-serverat the path/v2/servers/{serverId}. - A new endpoint has been added for the
PATCHoperationstoragespace-update-server-statisticsat the path/v2/servers/{serverId}/storage-space-statistics. - A new optional request property
updateSchedulehas been added for thePATCHoperationcontainer-update-stackat the path/v2/stacks/{stackId}. - A new endpoint has been added for the
POSToperationcontainer-add-template-componentat the path/v2/stacks/{stackId}/actions/add-template-component.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "List cronjob executions belonging to a cronjob"
-
⚠️ Breaking: for the 'query' request parameter 'limit', default value '1000.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
For details, refer to the GET/ endpoint.
Changes in "Get a cronjob execution analysis for failed executions"
- deleted the 'header' request parameter 'Accept-Language'
For details, refer to the GET/ endpoint.
Changes in "List Container Templates"
- added the required property '/items/type' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Container Template by ID"
- added the required property 'type' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "database-update-mysql-database-default-charset"
- api operation id 'database-update-mysql-database-default-charset' removed and replaced with 'deprecated-database-update-mysql-database-default-charset'
For details, refer to the unknown operation database-update-mysql-database-default-charset endpoint.
Changes in "database-update-mysql-database-description"
- api operation id 'database-update-mysql-database-description' removed and replaced with 'deprecated-database-update-mysql-database-description'
For details, refer to the unknown operation database-update-mysql-database-description endpoint.
Changes in "Update a MySQL user"
-
endpoint added
-
api operation id 'database-update-mysql-user' removed and replaced with 'deprecated-database-replace-mysql-user'
For details, refer to the PATCH/ endpoint.
Changes in "database-update-mysql-user-password"
- api operation id 'database-update-mysql-user-password' removed and replaced with 'deprecated-database-update-mysql-user-password'
For details, refer to the unknown operation database-update-mysql-user-password endpoint.
Changes in "Update a project backup"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "Update a Project"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "Update a Project's storage space statistics"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "database-update-redis-database-configuration"
- api operation id 'database-update-redis-database-configuration' removed and replaced with 'deprecated-database-update-redis-database-configuration'
For details, refer to the unknown operation database-update-redis-database-configuration endpoint.
Changes in "database-update-redis-database-description"
- api operation id 'database-update-redis-database-description' removed and replaced with 'deprecated-database-update-redis-database-description'
For details, refer to the unknown operation database-update-redis-database-description endpoint.
Changes in "Update a Server"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "Update a Server's storage space statistics"
- endpoint added
For details, refer to the PATCH/ endpoint.
Changes in "Create, update or delete Services or Volumes belonging to a Stack"
- added the new optional request property 'updateSchedule'
For details, refer to the PATCH/ endpoint.
Changes in "Add a template component to a Stack"
- endpoint added
For details, refer to the POST/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.206
The mittwald PHP SDK has been updated to version 2.1.206. This release introduces several new features, enhancements, and changes to improve functionality and usability.
Features
- Update Schedule for Automatic Image Updates: A new
updateSchedulefeature for stacks allows users to schedule automatic image updates using a cron expression and timezone. Users can remove the schedule by setting it tonullor omit the property to keep it unchanged. - New Template Types: The
Templateschema now includes atypefield, distinguishing between 'component' and 'standalone' templates.
Enhancements
- Documentation Updates: Added clarifications to the
declare-stackendpoint documentation, detailing which stack properties can be modified directly and which require separate PATCH requests.
Changes
-
Schema Modifications:
- The
UpdateStackRequestandUpdateStackRequestBodyclasses now include theupdateScheduleproperty. - A new class,
UpdateStackRequestBodyUpdateSchedule, has been introduced for handling update schedules, including validation for cron and timezone formats. - The
Templateschema now requires atypeproperty to specify the template's nature.
- The
-
Class Updates:
- New methods for managing the
updateScheduleproperty in theUpdateStackRequestBodyclass. - The
Templateclass now includes methods for accessing thetypeproperty, with constructor modifications to accept this parameter.
- New methods for managing the
New Files
- TemplateType.php: This file defines the enum for template types, enhancing type safety and clarity in template-related code.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.205
The mittwald PHP SDK has been updated to version v2.1.205. This release introduces several new features and updates to existing interfaces, enhancing the SDK's functionality for managing backups, containers, and project details.
Added Features
-
Backup Client:
updateProjectBackup: A new method to update project backup information.
-
Container Client:
addTemplateComponent: Allows adding a template component to a stack.
-
Project Client:
updateProject: Enables updating project details.updateServer: Facilitates updating server details.
-
Storage Space Statistics:
storagespaceUpdateProjectStatistics: Updates project storage space statistics.storagespaceUpdateServerStatistics: Manages server storage space statistics.
Updated Interfaces and Implementations
- BackupClient: Includes the new
updateProjectBackupmethod. - ContainerClient: Now supports the
addTemplateComponentmethod. - ProjectClient: Expanded with
updateProjectandupdateServermethods.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.204
The mittwald PHP SDK has released version v2.1.204. This update introduces a legacy endpoint for user password updates, allowing the use of deprecated methods for MySQL and Redis database updates. The release includes several deprecated methods and new response classes to handle responses for these deprecated endpoints, ensuring backward compatibility while providing flexibility.
Key Updates:
-
Deprecated Methods:
deprecatedDatabaseReplaceMysqlUserdeprecatedDatabaseUpdateMysqlDatabaseDefaultCharsetdeprecatedDatabaseUpdateMysqlDatabaseDescriptiondeprecatedDatabaseUpdateMysqlUserPassworddeprecatedDatabaseUpdateRedisDatabaseConfigurationdeprecatedDatabaseUpdateRedisDatabaseDescription
-
New Response Classes:
DeprecatedDatabaseReplaceMysqlUserBadRequestResponseDeprecatedDatabaseReplaceMysqlUserDefaultResponseDeprecatedDatabaseReplaceMysqlUserNotFoundResponseDeprecatedDatabaseReplaceMysqlUserTooManyRequestsResponseDeprecatedDatabaseUpdateMysqlDatabaseDefaultCharsetBadRequestResponseDeprecatedDatabaseUpdateMysqlDatabaseDefaultCharsetDefaultResponseDeprecatedDatabaseUpdateMysqlDatabaseDefaultCharsetNotFoundResponseDeprecatedDatabaseUpdateMysqlDatabaseDefaultCharsetTooManyRequestsResponseDeprecatedDatabaseUpdateMysqlDatabaseDescriptionBadRequestResponseDeprecatedDatabaseUpdateMysqlDatabaseDescriptionDefaultResponseDeprecatedDatabaseUpdateMysqlDatabaseDescriptionNotFoundResponseDeprecatedDatabaseUpdateMysqlDatabaseDescriptionTooManyRequestsResponseDeprecatedDatabaseUpdateMysqlUserPasswordBadRequestResponseDeprecatedDatabaseUpdateMysqlUserPasswordDefaultResponseDeprecatedDatabaseUpdateMysqlUserPasswordNotFoundResponseDeprecatedDatabaseUpdateRedisDatabaseConfigurationBadRequestResponseDeprecatedDatabaseUpdateRedisDatabaseConfigurationDefaultResponseDeprecatedDatabaseUpdateRedisDatabaseConfigurationNotFoundResponseDeprecatedDatabaseUpdateRedisDatabaseConfigurationTooManyRequestsResponseDeprecatedDatabaseUpdateRedisDatabaseDescriptionBadRequestResponseDeprecatedDatabaseUpdateRedisDatabaseDescriptionDefaultResponseDeprecatedDatabaseUpdateRedisDatabaseDescriptionNotFoundResponseDeprecatedDatabaseUpdateRedisDatabaseDescriptionTooManyRequestsResponse
For more details, visit the release page.
mittwald PHP SDK Release v2.1.203
The mittwald PHP SDK has released version v2.1.203, which includes several breaking changes, new features, improvements, and deprecated functionalities.
Breaking Changes
- Removal of several request and response classes related to updating MySQL and Redis database properties, including:
UpdateMysqlDatabaseDefaultCharsetRequestUpdateMysqlDatabaseDescriptionRequestUpdateMysqlUserPasswordRequestUpdateRedisDatabaseConfigurationRequestUpdateRedisDatabaseDescriptionRequest
Features
- The
UpdateMysqlUserRequestmethod has been changed fromPUTtoPATCH, allowing for partial updates to users, including optional password updates. - Descriptions and default charset updates for MySQL databases have been removed from user and database management.
Improvements
- The
UpdateMysqlUserRequestBodyhas been streamlined to optionally include access levels, descriptions, external access, and a password, enhancing flexibility during user updates. - Request construction and validation have been simplified across request classes to improve maintainability.
Deprecated Functionalities
- Classes related to updating MySQL database charset, descriptions, and Redis database configurations are now deprecated. Users are advised to migrate to alternative approaches for managing database properties.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.427.0
The mittwald JavaScript SDK has been updated to version 4.427.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.426.0
The mittwald JavaScript SDK has been updated to version 4.426.0. This release includes the following feature:
- Updated the generated client to enhance functionality.
For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.425.0
The mittwald JavaScript SDK has been updated to version 4.425.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.424.0
The mittwald JavaScript SDK has been updated to version 4.424.0. This release includes an update to the generated client, enhancing its functionality. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.424.0.
mittwald JavaScript SDK Release 4.422.0
The mittwald JavaScript SDK has been updated to version 4.422.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.421.0
The mittwald JavaScript SDK has been updated to version 4.421.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.421.0.
mittwald JavaScript SDK Release 4.420.0
The mittwald JavaScript SDK has been updated to version 4.420.0. This release includes the following feature:
- Updated the generated client to improve functionality and performance. For more details, refer to the commit d7b86cb.
For further information and to view the release, visit the release page.
mittwald JavaScript SDK Release 4.419.0
The mittwald JavaScript SDK has been updated to version 4.419.0. This release includes the following feature:
- Updated the generated client to enhance functionality (commit 5934764).
For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.418.0
The mittwald JavaScript SDK has been updated to version 4.418.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub: mittwald JavaScript SDK 4.418.0.
mittwald JavaScript SDK Release 4.417.0
The mittwald JavaScript SDK has been updated to version 4.417.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, you can view the release on GitHub.