Breaking (!) API changes for v2 API, January 9, 2025
On January 9, 2025, the mittwald API introduced several changes, including the removal of the project_email_admin enum value from various properties, the addition of the project_emailadmin enum value, the removal of a schema, and the introduction of a new endpoint for listing extensions of a contributor.
Summary
- The enum value
project_email_adminhas been removed from the request propertynotificationRoles/items/in the POST operation for creating a conversation. This is a breaking change. - A new enum value
project_emailadminhas been added to the response propertynotificationRoles/items/for the GET operation to list all conversations and for the GET operation to get a specific conversation. - The enum value
project_email_adminhas been removed from the response propertynotificationRoles/items/for the GET operations to list all conversations and to get a specific conversation. - A new enum value
project_emailadminhas been added to the request propertynotificationRoles/items/in the POST operation for creating a conversation. - The schema
de.mittwald.v1.conversation.DepartmentWithStatushas been removed from the API schema. - A new endpoint has been added to list extensions of a contributor with the GET operation at the path
/v2/contributors/{contributorId}/extensions. - The response property
oneOflist for the response status200has been updated to include#/components/schemas/de.mittwald.v1.conversation.ServiceRequestin the GET operation to list messages by conversation.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Create a conversation"
-
⚠️ Breaking: removed the enum value
project_email_adminof the request propertynotificationRoles/items/ -
added the new
project_emailadminenum value to the request propertynotificationRoles/items/
For details, refer to the POST/ endpoint.
Changes in "Get all conversation the authenticated user has created or has access to"
-
added the new
project_emailadminenum value to the/items/notificationRoles/items/response property for the response status200 -
removed the
project_email_adminenum value from the/items/notificationRoles/items/response property for the response status200
For details, refer to the GET/ endpoint.
Changes in "Get a support conversation"
-
added the new
project_emailadminenum value to thenotificationRoles/items/response property for the response status200 -
removed the
project_email_adminenum value from thenotificationRoles/items/response property for the response status200
For details, refer to the GET/ endpoint.
Changes in "List Extensions of own contributor"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "Get all message of the conversation"
- added
#/components/schemas/de.mittwald.v1.conversation.ServiceRequestto the/items/response propertyoneOflist for the response status200
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.90
The mittwald PHP SDK has been updated to version v2.1.90. This release introduces several new features and improvements:
Added Features
-
New API Request and Response Handling for Listing Own Extensions:
- Implemented a client for fetching a contributor's extensions, including:
ExtensionListOwnExtensionsRequest: A request object for listing extensions with pagination and limit parameters.ExtensionListOwnExtensionsOKResponse: A successful response containing an array ofOwnExtensionobjects.ExtensionListOwnExtensionsDefaultResponse: A response object for handling general errors.ExtensionListOwnExtensionsTooManyRequestsResponse: A response for rate-limiting errors.ExtensionListOwnExtensionsTooManyRequestsResponseBody: The body structure for the too-many-requests response.
- Implemented a client for fetching a contributor's extensions, including:
-
Schema Definitions:
- Added
OwnExtensionschema detailing the properties and structure of an extension. - Defined
OwnExtensionStateenumeration to manage extension states.
- Added
Client Changes
- Updated the
MarketplaceClientinterface and its implementation to include a method for listing the contributor's extensions:- Added
extensionListOwnExtensionsmethod inMarketplaceClient. - Implemented in
MarketplaceClientImpl, with error handling for various response scenarios.
- Added
These enhancements improve the API client's functionality, enabling users to efficiently manage and retrieve details about their specific extensions.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.90.0
The mittwald JavaScript SDK has been updated to version 4.90.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.90.0.