API changes for v2 API, January 16 to January 23
This week, the mittwald API introduces several updates, including the addition of optional properties to responses, a new endpoint for updating Cronjob app installation IDs, and the removal of an outdated API path.
Summary
- The API path
/v2/cronjobs/{cronjobId}/app-idhas been deprecated by/v2/cronjobs/{cronjobId}/app-installation-idfor thePATCHoperationcronjob-update-cronjob-app-id. - An endpoint has been added at
/v2/cronjobs/{cronjobId}/app-installation-idfor thePATCHoperationcronjob-update-cronjob-app-id. - The optional property
appInstallationIdhas been added to the response with the200status for theGEToperationcronjob-get-cronjob. - The optional property
expirationDatehas been added to the response with the201status for thePOSToperationdomain-create-domain-auth-code. - The optional property
/items/appInstallationIdhas been added to the response with the200status for theGEToperationcronjob-list-cronjobs. - A new optional request property
appInstallationIdhas been added for thePOSToperationcronjob-create-cronjob.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Update a cronjob's app installation id"
-
endpoint deprecated
-
endpoint added
For details, refer to the unknown operation cronjob-update-cronjob-app-id endpoint.
Changes in "Get a cronjob"
- added the optional property 'appInstallationId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Create an auth code for a Domains transfer-out process"
- added the optional property 'expirationDate' to the response with the '201' status
For details, refer to the POST/ endpoint.
Changes in "List cronjobs belonging to a Project"
- added the optional property '/items/appInstallationId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Create a cronjob"
- added the new optional request property 'appInstallationId'
For details, refer to the POST/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.175
The mittwald PHP SDK has released version v2.1.175, which introduces significant updates and deprecations.
Deprecation Notice
- The
appIdfield is now deprecated and will be replaced byappInstallationId. Future versions will removeappIdentirely.
Key Changes
API Updates:
- Documentation and schemas have been updated to reflect the transition from
appIdtoappInstallationId.
Code Modifications:
- Fields related to
appIdin classes such asUpdateCronjobAppIdRequest,Cronjob, andCronjobRequestare marked as deprecated. - New field
appInstallationIdhas been introduced in these classes. - New methods have been added to handle
appInstallationId, while methods related toappIdare deprecated.
Validation Schema Updates:
- Validation schemas now include
appInstallationIdand markappIdas deprecated, with clarifications provided.
This release aims to enhance the API's clarity and facilitate a smoother transition for developers. For more details, visit the release page.
mittwald PHP SDK Release v2.1.174
The latest release of the mittwald PHP SDK, v2.1.174, introduces a significant enhancement to the Create Domain Authentication Code endpoint. This update adds an expiration date to the response data, providing users with critical information about the validity period of the authentication code.
Key Updates:
- Expiration Date for Auth Code:
- The
CreateDomainAuthCodeCreatedResponsenow includes anexpirationDatefield formatted as adate-timestring. - The response body class has been updated to incorporate methods for setting and retrieving the expiration date.
- The
Enhancements:
- The structure of response objects has been updated to include the new
expirationDateattribute. - New methods
withExpirationDateandwithoutExpirationDatehave been added to theCreateDomainAuthCodeCreatedResponseBodyclass for improved management of the expiration date field.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.287.0
The mittwald JavaScript SDK has been updated to version 4.287.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.286.0
The mittwald JavaScript SDK has been updated to version 4.286.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 SDK 4.286.0.
mittwald JavaScript SDK Release 4.285.0
The mittwald JavaScript SDK has been updated to version 4.285.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.285.0.