Breaking (!) API changes for v2 API, March 27 to April 3
This week, the mittwald API introduces several updates, including optional properties for responses and requests, changes in property types, and the addition of required properties to enhance the functionality of cronjob and project management endpoints.
Summary
- The response property
destinationbecame optional for the status200in theGET /v2/cronjobs/{cronjobId}operation. This is a breaking change. - The response properties
appIdandappInstallationIdchanged their type/format fromstring/uuidtostring/''for the status200in theGET /v2/cronjobs/{cronjobId}operation. This is a breaking change. - The response property
/items/destinationbecame optional for the status200in theGET /v2/projects/{projectId}/cronjobsoperation. This is a breaking change. - The response properties
/items/appIdand/items/appInstallationIdchanged their type/format fromstring/uuidtostring/''for the status200in theGET /v2/projects/{projectId}/cronjobsoperation. This is a breaking change. - The request property
failedExecutionAlertThreshold's maximum value was set to80.00in thePOST /v2/projects/{projectId}/cronjobsoperation. - An optional property
targetwas added to the response with the200status in theGET /v2/cronjobs/{cronjobId}operation. - A new optional request property
targetwas added in thePATCH /v2/cronjobs/{cronjobId}operation. - The required property
/items/serverGroupIdwas added to the response with the200status in theGET /v2/projectsoperation. - The required property
serverGroupIdwas added to the response with the200status in theGET /v2/projects/{projectId}operation. - A new optional request parameter
includeServiceCronjobswas added in theGET /v2/projects/{projectId}/cronjobsoperation. - An optional property
/items/targetwas added to the response with the200status in theGET /v2/projects/{projectId}/cronjobsoperation. - A new optional request property
targetwas added in thePOST /v2/projects/{projectId}/cronjobsoperation. - The request property
appIdbecame optional in thePOST /v2/projects/{projectId}/cronjobsoperation. - The request property
destinationbecame optional in thePOST /v2/projects/{projectId}/cronjobsoperation. - The required property
/items/groupIdwas added to the response with the200status in theGET /v2/serversoperation. - The required property
groupIdwas added to the response with the200status in theGET /v2/servers/{serverId}operation.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Get a cronjob"
-
⚠️ Breaking: the response property 'destination' became optional for the status '200'
-
⚠️ Breaking: the 'appId' response's property type/format changed from 'string'/'uuid' to 'string'/'' for status '200'
-
⚠️ Breaking: the 'appInstallationId' response's property type/format changed from 'string'/'uuid' to 'string'/'' for status '200'
-
added the optional property 'target' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "List cronjobs belonging to a Project"
-
⚠️ Breaking: the response property '/items/destination' became optional for the status '200'
-
⚠️ Breaking: the '/items/appId' response's property type/format changed from 'string'/'uuid' to 'string'/'' for status '200'
-
⚠️ Breaking: the '/items/appInstallationId' response's property type/format changed from 'string'/'uuid' to 'string'/'' for status '200'
-
added the new optional 'query' request parameter 'includeServiceCronjobs'
-
added the optional property '/items/target' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Create a cronjob"
-
the 'failedExecutionAlertThreshold' request property's max was set to '80.00'
-
added the new optional request property 'target'
-
the request property 'appId' became optional
-
the request property 'destination' became optional
For details, refer to the POST/ endpoint.
Changes in "Update a cronjob"
- added the new optional request property 'target'
For details, refer to the PATCH/ endpoint.
Changes in "List Projects belonging to the executing user"
- added the required property '/items/serverGroupId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Project"
- added the required property 'serverGroupId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "List Servers belonging to the executing user"
- added the required property '/items/groupId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Server"
- added the required property 'groupId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
mittwald JavaScript SDK Release 4.342.0
The mittwald JavaScript SDK has been updated to version 4.342.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.341.0
The mittwald JavaScript SDK has been updated to version 4.341.0. This release includes an update to the generated client, enhancing the SDK's functionality. For more details, please refer to the release page.
mittwald JavaScript SDK Release 4.340.0
The mittwald JavaScript SDK has been updated to version 4.340.0. This release includes an update to the generated client, enhancing its functionality. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.339.0
The mittwald JavaScript SDK has been updated to version 4.339.0. This release includes an update to the generated client, enhancing the functionality and performance of the SDK. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.338.1
The mittwald JavaScript SDK has been updated to version 4.338.1. This release includes a version bump for the package root. For more details, you can view the release on GitHub here.
mittwald JavaScript SDK Release 4.338.0
The mittwald JavaScript SDK has been updated to version 4.338.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.338.0.
mittwald JavaScript SDK Release 4.337.0
The mittwald JavaScript SDK has been updated to version 4.337.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.