v2.1.201
New Features
Template Asset Management
- Introduced a new request and response structure for managing assets associated with container templates, enhancing flexibility in specifying and retrieving template-related resources.
Deprecated Functionality
- The
getTemplateIconmethod has been deprecated in favor of the newgetTemplateAssetmethod, which provides a more comprehensive handling of template resources.
Enhanced List Templates Request
- Added a
sortOrderparameter to the list templates request, allowing sorting by specific criteria (e.g., trend over 30 days).
Details of Changes
Core Changes
-
ContainerClient Interface
- Deprecated the
getTemplateIconmethod and introducedgetTemplateAsset. - Added
deprecatedContainerGetTemplateIconmethod for backward compatibility with warnings about its future removal.
- Deprecated the
-
ContainerClient Implementation
- Updated method implementations to meet the new specifications for template assets.
-
Request and Response Classes
- Created new classes as follows:
GetTemplateAssetRequestGetTemplateAssetBadRequestResponseGetTemplateAssetDefaultResponseGetTemplateAssetForbiddenResponseGetTemplateAssetInternalServerErrorResponseGetTemplateAssetNotFoundResponseGetTemplateAssetServiceUnavailableResponseGetTemplateAssetTooManyRequestsResponse
- Created new classes as follows:
Domain Migration Adjustments
- Added
ownerContactIssuesto theNonMigratableDomainschema, allowing consumers to address specific owner contact problems during domain migrations. - Introduced
OwnerContactIssueclass to manage information about individual field issues in owner contact data.
Activity Log Enhancements
- Added classes to handle new activity logs concerning app installations:
AppInstallationDeletedAppInstallationDatabaseLinkedAppInstallationDatabaseUnlinkedAppInstallationDescriptionSet
Template Enhancements
- Introduced
TemplateScreenshotsItemclass to manage screenshots associated with container templates, including properties for background images and translated text.
Bug Fixes and Improvements
- Refined the validation and construction logic of existing classes to ensure better error handling and usability, especially for optional properties in schemas.
Overall Improvements
- This release includes significant shifts toward more standardized and extensible structures for managing templates, assets, and activity logs within the Mittwald API, enabling easier integration and better user experience for developers.