Breaking (!) API changes for v2 API, September 27, 2024
On September 27, 2024, the mittwald API introduced several enhancements, including the addition of default values for request parameters, increased minimum values for pagination parameters, and new optional properties in responses across various endpoints.
Summary
-
For the
GET /v2/app-installationsoperation, the following changes were made:- The default value of the
queryrequest parameterskipwas added, set to0.00. - The minimum value of the
queryrequest parameterlimitwas increased from0.00to1.00. - The minimum value of the
queryrequest parameterpagewas increased from0.00to1.00. (Breaking change)
- The default value of the
-
For the
GET /v2/appsoperation, the following changes were made:- The default value of the
queryrequest parameterskipwas added, set to0.00. - The minimum value of the
queryrequest parameterlimitwas increased from0.00to1.00. - The minimum value of the
queryrequest parameterpagewas increased from0.00to1.00. (Breaking change)
- The default value of the
-
For the
GET /v2/articlesoperation, 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 of the
queryrequest parameterlimitwas increased from0.00to1.00. - The minimum value of the
queryrequest parameterpagewas increased from0.00to1.00. (Breaking change)
- The default value of the
-
For the
GET /v2/projects/{projectId}/app-installationsoperation, the following changes were made:- The default value of the
queryrequest parameterskipwas added, set to0.00. - The minimum value of the
queryrequest parameterlimitwas increased from0.00to1.00. (Breaking change)
- The default value of the
-
For the
GET /v2/system-softwaresoperation, the following changes were made:- The default value of the
queryrequest parameterskipwas added, set to0.00. - The minimum value of the
queryrequest parameterlimitwas increased from0.00to1.00. - The minimum value of the
queryrequest parameterpagewas increased from0.00to1.00. (Breaking change)
- The default value of the
-
For the
GET /v2/domainsoperation, the following changes were made:- A new optional
queryrequest parametercontactHashwas added. - An optional property
/items/contactHashwas added to the response with the200status.
- A new optional
-
For the
GET /v2/domains/{domainId}operation, an optional propertycontactHashwas added to the response with the200status. -
For the
GET /v2/extensions/{extensionId}operation, a non-success response with the status404was added. -
For the
GET /v2/projects/{projectId}/domainsoperation, an optional property/items/contactHashwas added to the response with the200status. -
For the
GET /v2/useroperation, the following optional properties were added to the response with the200status:customerMembershipsprojectMemberships
-
For the
GET /v2/user/{userId}operation, the following optional properties were added to the response with the200status:customerMembershipsprojectMemberships
-
For the
GET /v2/users/{userId}operation, the following optional properties were added to the response with the200status:customerMembershipsprojectMemberships
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "List app installations that a user has access to"
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
-
⚠️ Breaking: for the 'query' request parameter 'page', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List apps"
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
-
⚠️ Breaking: for the 'query' request parameter 'page', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List Articles"
-
⚠️ 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
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
-
⚠️ Breaking: for the 'query' request parameter 'page', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List app installations belonging to a Project"
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List system softwares"
-
⚠️ Breaking: for the 'query' request parameter 'skip', default value '0.00' was added
-
⚠️ Breaking: for the 'query' request parameter 'limit', the min was increased from '0.00' to '1.00'
-
⚠️ Breaking: for the 'query' request parameter 'page', the min was increased from '0.00' to '1.00'
For details, refer to the GET/ endpoint.
Changes in "List Domains"
-
added the new optional 'query' request parameter 'contactHash'
-
added the optional property '/items/contactHash' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Domain"
- added the optional property 'contactHash' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
- added the non-success response with the status '404'
For details, refer to the GET/ endpoint.
Changes in "List Domains belonging to a Project"
- added the optional property '/items/contactHash' to the response with the '200' status
For details, refer to the unknown operation domain-list-domains-v2-deprecated endpoint.
Changes in "Get profile information for the executing user"
-
added the optional property 'customerMemberships' to the response with the '200' status
-
added the optional property 'projectMemberships' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get profile information for the specified user if the user is related to the executing user"
-
added the optional property 'customerMemberships' to the response with the '200' status
-
added the optional property 'projectMemberships' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get profile information for a user"
-
added the optional property 'customerMemberships' to the response with the '200' status
-
added the optional property 'projectMemberships' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK v2.1.67 Release
The mittwald PHP SDK has been updated to version 2.1.67. This release introduces new features and important changes to improve error handling and backend component management.
Added
- ExtensionGetExtensionNotFoundResponse: A new response class to handle 404 errors specifically when an extension cannot be found.
- BackendComponent: A new schema representing backend components with URL validation.
- BackendComponents: A new schema that encapsulates multiple backend component instances, supporting various operations on extensions, including addition, update, and removal events.
Changes
- Updated the MarketplaceClientImpl class to throw a
404error using the newExtensionGetExtensionNotFoundResponsewhen an extension is requested but not found.
For more details, visit the release page.