API changes for v2 API, June 5 to June 12
This week, the mittwald API introduces several enhancements, including the addition of new enum values and required properties to various response schemas, aimed at improving the clarity and functionality of the API responses.
Summary
-
The
GET /v2/conversations/{conversationId}/messagesoperation has been updated to include the newmailSendLimitIncreaseenum value in themessageContentresponse property for a200status. Additionally,#/components/schemas/de.mittwald.v1.conversation.ServiceRequestMailSendLimitIncreasePayloadhas been added to theoneOflist in themetaresponse property for the same status. -
The
GET /v2/customers/{customerId}/ai-hosting-modelsoperation now includes an optional property/items/replacedByand a required property/items/replacesModelNamesin the response for a200status. -
The
GET /v2/projects/{projectId}/ai-hosting-modelsoperation has been updated similarly to include an optional property/items/replacedByand a required property/items/replacesModelNamesin the response for a200status. -
The
GET /v2/users/self/sessions/current/statusoperation now includes a required propertytokenIdin the response for a200status.
Disclaimer: This summary is AI-generated. If you find any discrepancies, please refer to the detailed changes below.
Detailed changes
Changes in "Get all message of the conversation"
-
added the new 'mailSendLimitIncrease' enum value to the '/items/oneOf[#/components/schemas/de.mittwald.v1.conversation.ServiceRequest]/allOf[subschema #2]/messageContent' response property for the response status '200'
-
added '#/components/schemas/de.mittwald.v1.conversation.ServiceRequestMailSendLimitIncreasePayload' to the '/items/oneOf[#/components/schemas/de.mittwald.v1.conversation.ServiceRequest]/allOf[subschema #2]/meta' response property 'oneOf' list for the response status '200'
For details, refer to the GET/ endpoint.
Changes in "Get a list of currently active models"
-
added the optional property '/items/replacedBy' to the response with the '200' status
-
added the required property '/items/replacesModelNames' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a list of currently active models"
-
added the optional property '/items/replacedBy' to the response with the '200' status
-
added the required property '/items/replacesModelNames' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Check status of the current session"
- added the required property 'tokenId' to the response with the '200' status
For details, refer to the GET/ endpoint.
Client package releases
mittwald JavaScript SDK Release 4.383.0
The mittwald JavaScript SDK has been updated to version 4.383.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 here.
mittwald JavaScript SDK Release 4.382.0
The mittwald JavaScript SDK has been updated to version 4.382.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 Release 4.381.0
The mittwald JavaScript SDK has been updated to version 4.381.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.