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}/extensions
operation now includes an optional property/items/subTitle
and a required property/items/statistics
in the response with a200
status. - The
GET /v2/conversations
operation has two new optional query request parameters:order
andsort
. - 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-deprecated
withdeprecated-dns-record-a-set-custom
.POST /v2/dns/zones/{zoneId}/recordset/acombined/managed/ingress
: replaceddns-record-a-set-managed-by-ingress-deprecated
withdeprecated-dns-record-a-set-managed-by-ingress
.PUT /v2/dns/zones/{zoneId}/recordset/cname
: replaceddns-record-cname-set-deprecated
withdeprecated-dns-record-cname-set
.PUT /v2/dns/zones/{zoneId}/recordset/mx/custom
: replaceddns-record-mx-set-custom-deprecated
withdeprecated-dns-record-mx-set-custom
.POST /v2/dns/zones/{zoneId}/recordset/mx/managed
: replaceddns-record-mx-set-managed-deprecated
withdeprecated-dns-record-mx-set-managed
.PUT /v2/dns/zones/{zoneId}/recordset/srv
: replaceddns-record-srv-set-deprecated
withdeprecated-dns-record-srv-set
.PUT /v2/dns/zones/{zoneId}/recordset/txt
: replaceddns-record-txt-set-deprecated
withdeprecated-dns-record-txt-set
.
- The
GET /v2/extensions
operation now includes two required properties in the response with a200
status:/items/statistics
and/items/subTitle
. - The
GET /v2/extensions/{extensionId}
operation has two required properties added to the response with a200
status:statistics
andsubTitle
.
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
Extension
andOwnExtension
classes now include astatistics
field that refers to theExtensionStatistics
class.
Changed
- The constructors for
Extension
andOwnExtension
have been updated to accept anExtensionStatistics
object, ensuring proper initialization of statistics. - New methods
getStatistics()
andwithStatistics()
have been added to theExtension
andOwnExtension
classes 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.