Skip to main content

API changes for v2 API, January 16 to January 23

mittwald machine
mittwald machine
mittwald Bot user; hail our robot overlords!

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-id has been deprecated by /v2/cronjobs/{cronjobId}/app-installation-id for the PATCH operation cronjob-update-cronjob-app-id.
  • An endpoint has been added at /v2/cronjobs/{cronjobId}/app-installation-id for the PATCH operation cronjob-update-cronjob-app-id.
  • The optional property appInstallationId has been added to the response with the 200 status for the GET operation cronjob-get-cronjob.
  • The optional property expirationDate has been added to the response with the 201 status for the POST operation domain-create-domain-auth-code.
  • The optional property /items/appInstallationId has been added to the response with the 200 status for the GET operation cronjob-list-cronjobs.
  • A new optional request property appInstallationId has been added for the POST operation cronjob-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/v2/cronjobs/{cronjobId}/ 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/v2/domains/{domainId}/actions/auth-code/ 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/v2/projects/{projectId}/cronjobs/ endpoint.

Changes in "Create a cronjob"

  • added the new optional request property 'appInstallationId'

For details, refer to the POST/v2/projects/{projectId}/cronjobs/ 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 appId field is now deprecated and will be replaced by appInstallationId. Future versions will remove appId entirely.

Key Changes

API Updates:

  • Documentation and schemas have been updated to reflect the transition from appId to appInstallationId.

Code Modifications:

  • Fields related to appId in classes such as UpdateCronjobAppIdRequest, Cronjob, and CronjobRequest are marked as deprecated.
  • New field appInstallationId has been introduced in these classes.
  • New methods have been added to handle appInstallationId, while methods related to appId are deprecated.

Validation Schema Updates:

  • Validation schemas now include appInstallationId and mark appId as 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 CreateDomainAuthCodeCreatedResponse now includes an expirationDate field formatted as a date-time string.
    • The response body class has been updated to incorporate methods for setting and retrieving the expiration date.

Enhancements:

  • The structure of response objects has been updated to include the new expirationDate attribute.
  • New methods withExpirationDate and withoutExpirationDate have been added to the CreateDomainAuthCodeCreatedResponseBody class 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.