Breaking (!) API changes for v2 API, February 14 to February 21
This week, the mittwald API introduces several enhancements, including default values for the 'limit' and 'skip' parameters, minimum value constraints for 'limit' and 'page', new security measures, and multiple required and optional properties added to responses across various endpoints.
Summary
-
For the
GET /v2/customers/{customerId}/contractsoperation, the following changes were made:- The default value of the
queryrequest parameterlimitwas added, set to1000.00. - The default value of the
queryrequest parameterskipwas added, set to0.00. - The minimum value for the
queryrequest parameterlimitwas set to1.00. - The minimum value for the
queryrequest parameterpagewas set to1.00. - Note that these changes are breaking changes due to the level 3 updates.
- The default value of the
-
For the
GET /v2/contributors/{contributorId}/extensionsoperation, the following changes were made:- The endpoint scheme security
de.mittwald.v1.commons.AccessTokenwas added to the API. - The optional property
/items/externalFrontendswas added to the response with the200status. - The optional property
/items/webhookUrlswas added to the response with the200status. - The response properties
/items/requestedChanges/webhookUrls/extensionAddedToContext,/items/requestedChanges/webhookUrls/extensionInstanceRemovedFromContext,/items/requestedChanges/webhookUrls/extensionInstanceSecretRotated, and/items/requestedChanges/webhookUrls/extensionInstanceUpdatedbecame required for the200status. - The required property
/items/assetswas added to the response with the200status.
- The endpoint scheme security
-
For the
GET /v2/extensionsoperation, the following changes were made:- The optional property
/items/externalFrontendswas added to the response with the200status. - The required property
/items/assetswas added to the response with the200status.
- The optional property
-
For the
GET /v2/extensions/{extensionId}operation, the following changes were made:- The optional property
externalFrontendswas added to the response with the200status. - The required property
assetswas added to the response with the200status.
- The optional property
-
For the
GET /v2/file-upload-types/{fileUploadType}/rulesoperation, the following changes were made:- The new enum value
extensionAssetImagewas added to thepathrequest parameterfileUploadType. - The new enum value
extensionAssetVideowas added to thepathrequest parameterfileUploadType.
- The new enum value
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Return a list of Contracts for the given Customer"
-
⚠️ 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 the 'query' request parameter 'limit', the min was set to '1.00'
-
for the 'query' request parameter 'page', the min was set to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List Extensions of own contributor"
-
the endpoint scheme security 'de.mittwald.v1.commons.AccessToken' was added to the API
-
added the optional property '/items/externalFrontends' to the response with the '200' status
-
added the optional property '/items/webhookUrls' to the response with the '200' status
-
the response property '/items/requestedChanges/webhookUrls/extensionAddedToContext' became required for the status '200'
-
the response property '/items/requestedChanges/webhookUrls/extensionInstanceRemovedFromContext' became required for the status '200'
-
the response property '/items/requestedChanges/webhookUrls/extensionInstanceSecretRotated' became required for the status '200'
-
the response property '/items/requestedChanges/webhookUrls/extensionInstanceUpdated' became required for the status '200'
-
added the required property '/items/assets' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "List Extensions"
-
added the optional property '/items/externalFrontends' to the response with the '200' status
-
added the required property '/items/assets' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
-
added the optional property 'externalFrontends' to the response with the '200' status
-
added the required property 'assets' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a FileUploadType's rules"
-
added the new enum value 'extensionAssetImage' to the 'path' request parameter 'fileUploadType'
-
added the new enum value 'extensionAssetVideo' to the 'path' request parameter 'fileUploadType'
For details, refer to the GET/ endpoint.
Client package releases
Release Summary: mittwald PHP SDK v2.1.107
The mittwald PHP SDK has been updated to version v2.1.107. This release introduces several important changes:
Deprecations
- The method for leaving a Customer has been deprecated. It is now replaced by
DELETE /v2/customer-memberships/{customerMembershipId}. - The method for leaving a Project has been deprecated. It is now replaced by
DELETE /v2/project-memberships/{projectMembershipId}.
New Features
- New file upload types have been added to the API, including:
extensionAssetImageextensionAssetVideo
These updates enhance the API's file handling capabilities, supporting a wider range of media types for uploads.
For more details, please visit the release page.
Release Summary: mittwald PHP SDK v2.1.106
The mittwald PHP SDK has been updated to version v2.1.106. This release introduces several new features and changes aimed at enhancing functionality and improving integration capabilities.
Features
- Enhanced Contract Listing Request: Default values for
limitandskipare now included in theListContractsRequest, ensuring more consistent request handling. - Extension Schema Updates: New properties
assetsandexternalFrontendshave been added to theExtensionschema to improve management of media and components. - Webhook Support: Introduction of
WebhookUrlandWebhookUrlsclasses to facilitate event-driven integrations for extension lifecycle management.
Changes
-
ListContractsRequest:
- Default
limitset to 1000 (minimum 1) andskipset to 0. getLimitandgetSkipmethods now return non-nullable integers.withoutLimitandwithoutSkipmethods removed.
- Default
-
BackendComponent and BackendComponents: Marked as deprecated.
-
Extension:
- New properties
assetsandexternalFrontendsintroduced. frontendComponentsproperty deprecated.
- New properties
-
New Classes:
ExtensionAssetandExtensionAssetAssetTypefor managing extension assets.WebhookUrlandWebhookUrlsfor handling webhook events.
-
OwnExtension: Updated to support new
assetsandexternalFrontendsproperties with corresponding methods.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.108.0
The mittwald JavaScript SDK has been updated to version 4.108.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.108.0.
mittwald JavaScript SDK Release 4.107.0
The mittwald JavaScript SDK has been updated to version 4.107.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.