API changes for v2 API, January 31 to February 7
This week, the mittwald API introduces several enhancements, including the addition of optional and required properties to responses for various endpoints, as well as new optional request parameters for improved query capabilities.
Summary
- The
GET /v2/contributors/{contributorId}/extensionsoperation now includes an optional property/items/subTitleand a required property/items/statisticsin the response with a200status. - The
GET /v2/conversationsoperation has two new optional query request parameters:orderandsort. - The following API operation IDs have been removed and replaced with new IDs:
PUT /v2/dns/zones/{zoneId}/recordset/acombined/custom: replaceddns-record-a-set-custom-deprecatedwithdeprecated-dns-record-a-set-custom.POST /v2/dns/zones/{zoneId}/recordset/acombined/managed/ingress: replaceddns-record-a-set-managed-by-ingress-deprecatedwithdeprecated-dns-record-a-set-managed-by-ingress.PUT /v2/dns/zones/{zoneId}/recordset/cname: replaceddns-record-cname-set-deprecatedwithdeprecated-dns-record-cname-set.PUT /v2/dns/zones/{zoneId}/recordset/mx/custom: replaceddns-record-mx-set-custom-deprecatedwithdeprecated-dns-record-mx-set-custom.POST /v2/dns/zones/{zoneId}/recordset/mx/managed: replaceddns-record-mx-set-managed-deprecatedwithdeprecated-dns-record-mx-set-managed.PUT /v2/dns/zones/{zoneId}/recordset/srv: replaceddns-record-srv-set-deprecatedwithdeprecated-dns-record-srv-set.PUT /v2/dns/zones/{zoneId}/recordset/txt: replaceddns-record-txt-set-deprecatedwithdeprecated-dns-record-txt-set.
- The
GET /v2/extensionsoperation now includes two required properties in the response with a200status:/items/statisticsand/items/subTitle. - The
GET /v2/extensions/{extensionId}operation has two required properties added to the response with a200status:statisticsandsubTitle.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "List Extensions of own contributor"
-
added the optional property '/items/subTitle' to the response with the '200' status
-
added the required property '/items/statistics' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get all conversation the authenticated user has created or has access to"
-
added the new optional 'query' request parameter 'order'
-
added the new optional 'query' request parameter 'sort'
For details, refer to the GET/ endpoint.
Changes in "dns-record-a-set-custom-deprecated"
- api operation id 'dns-record-a-set-custom-deprecated' removed and replaced with 'deprecated-dns-record-a-set-custom'
For details, refer to the unknown operation dns-record-a-set-custom-deprecated endpoint.
Changes in "dns-record-a-set-managed-by-ingress-deprecated"
- api operation id 'dns-record-a-set-managed-by-ingress-deprecated' removed and replaced with 'deprecated-dns-record-a-set-managed-by-ingress'
For details, refer to the unknown operation dns-record-a-set-managed-by-ingress-deprecated endpoint.
Changes in "dns-record-cname-set-deprecated"
- api operation id 'dns-record-cname-set-deprecated' removed and replaced with 'deprecated-dns-record-cname-set'
For details, refer to the unknown operation dns-record-cname-set-deprecated endpoint.
Changes in "dns-record-mx-set-custom-deprecated"
- api operation id 'dns-record-mx-set-custom-deprecated' removed and replaced with 'deprecated-dns-record-mx-set-custom'
For details, refer to the unknown operation dns-record-mx-set-custom-deprecated endpoint.
Changes in "dns-record-mx-set-managed-deprecated"
- api operation id 'dns-record-mx-set-managed-deprecated' removed and replaced with 'deprecated-dns-record-mx-set-managed'
For details, refer to the unknown operation dns-record-mx-set-managed-deprecated endpoint.
Changes in "dns-record-srv-set-deprecated"
- api operation id 'dns-record-srv-set-deprecated' removed and replaced with 'deprecated-dns-record-srv-set'
For details, refer to the unknown operation dns-record-srv-set-deprecated endpoint.
Changes in "dns-record-txt-set-deprecated"
- api operation id 'dns-record-txt-set-deprecated' removed and replaced with 'deprecated-dns-record-txt-set'
For details, refer to the unknown operation dns-record-txt-set-deprecated endpoint.
Changes in "List Extensions"
-
added the required property '/items/statistics' to the response with the '200' status
-
added the required property '/items/subTitle' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
-
added the required property 'statistics' to the response with the '200' status
-
added the required property 'subTitle' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.103
The mittwald PHP SDK has been updated to version v2.1.103. This release introduces several enhancements and changes:
Added
-
ExtensionStatistics: A new class has been introduced to represent extension statistics, which includes:
- amountOfInstances: An integer indicating the number of instances of an extension.
-
Statistics Field in Extensions: The
ExtensionandOwnExtensionclasses now include astatisticsfield that refers to theExtensionStatisticsclass.
Changed
- The constructors for
ExtensionandOwnExtensionhave been updated to accept anExtensionStatisticsobject, ensuring proper initialization of statistics. - New methods
getStatistics()andwithStatistics()have been added to theExtensionandOwnExtensionclasses for accessing and modifying the statistics property. - Serialization logic for these classes has been updated to incorporate statistics in the JSON output.
For more details, visit the release page.