API changes for v2 API, December 12 to December 19
This week's update to the mittwald API introduces several enhancements, including the addition of required and optional properties in responses for various endpoints, new optional request properties, the introduction of a new endpoint for retrieving AI Hosting contracts, and the removal of a security scheme from the domain suggestions endpoint.
Summary
- The
GET /v2/contributors/{contributorId}/extensionsoperation now includes a required propertyisDeletionScheduledand an optional propertydeletionDeadlinein the response with a200status. - The
GET /v2/contributors/{contributorId}/extensions/{extensionId}operation has been updated to include a required propertyisDeletionScheduledand an optional propertydeletionDeadlinein the response with a200status. - The
PATCH /v2/contributors/{contributorId}/extensions/{extensionId}operation now includes a required propertyisDeletionScheduledand an optional propertydeletionDeadlinein the response with a200status. - The
PUT /v2/contributors/{contributorId}/extensions/{extensionId}/pricingoperation has been updated to include two new optional request properties:deletionDeadlineandisDeletionScheduled, as well as an optional response propertydeletionDeadline. - The
GET /v2/contributors/{contributorId}/invoices/incomingoperation now includes an optional propertyinvoiceTypein the response with a200status. - A new endpoint
GET /v2/customers/{customerId}/ai-hosting/contracthas been added to return the AI Hosting Contract for the given Customer. - The
GET /v2/domain-suggestionsoperation has had the endpoint scheme securityde.mittwald.v1.commons.AccessTokenremoved. - The
POST /v2/domains/{domainId}/scheduled-deletionoperation now includes a new optional request propertydeleteIngresses. - The
GET /v2/extensionsoperation has been updated to include a required propertyisDeletionScheduledand an optional propertydeletionDeadlinein the response with a200status. - The
GET /v2/extensions/{extensionId}operation now includes two required properties:isDeletionScheduledand an optional propertydeletionDeadlinein the response with a200status. - The
GET /v2/projects/{projectId}/jwtoperation has had a non-success response with the status401added.
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/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the required property '/items/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get Extension of own contributor"
-
added the optional property 'pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the required property 'pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Patch Extension"
-
added the optional property 'pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the required property 'pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
For details, refer to the PATCH/ endpoint.
Changes in "Creates or Updates Pricing for an Extension"
-
added the new optional request property '/oneOf[subschema #2]/pricePlan/variants/items/deletionDeadline'
-
added the new optional request property '/oneOf[subschema #2]/pricePlan/variants/items/isDeletionScheduled'
-
added the optional property 'priceChangeConsequence/variantConsequences/items/deletionDeadline' to the response with the '200' status
For details, refer to the PUT/ endpoint.
Changes in "List incoming Invoices of a contributor"
- added the optional property '/items/invoiceType' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Return the AI Hosting Contract for the given Customer"
- endpoint added
For details, refer to the GET/ endpoint.
Changes in "Suggest a list of domains based on a prompt using AI"
- the endpoint scheme security 'de.mittwald.v1.commons.AccessToken' was removed from the API
For details, refer to the GET/ endpoint.
Changes in "Create a scheduled deletion of a Domain"
- added the new optional request property 'deleteIngresses'
For details, refer to the POST/ endpoint.
Changes in "List Extensions"
-
added the optional property '/items/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the required property '/items/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get an Extension"
-
added the optional property '/anyOf[#/components/schemas/de.mittwald.v1.marketplace.Extension]/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the optional property '/anyOf[#/components/schemas/de.mittwald.v1.marketplace.UnpublishedExtension]/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/deletionDeadline' to the response with the '200' status
-
added the required property '/anyOf[#/components/schemas/de.mittwald.v1.marketplace.Extension]/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
-
added the required property '/anyOf[#/components/schemas/de.mittwald.v1.marketplace.UnpublishedExtension]/pricing/oneOf[#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy]/items/isDeletionScheduled' to the response with the '200' status
For details, refer to the GET/ endpoint.
Changes in "Get a Project's file/filesystem authorization token"
- added the non-success response with the status '401'
For details, refer to the GET/ endpoint.
Client package releases
mittwald PHP SDK Release v2.1.167
The latest release of the mittwald PHP SDK, version 2.1.167, introduces several new features and enhancements:
Features Added
- A new
invoiceTypefield has been added to theContributorListIncomingInvoicesOKResponseandContributorListIncomingInvoicesOKResponseBodyItemclasses. - An enumeration,
ContributorListIncomingInvoicesOKResponseBodyItemInvoiceType, has been introduced to define possible invoice types:REGULAR,CORRECTION,REISSUE, andCANCELLATION.
Enhancements
- The
getInvoiceTypemethod in theContributorListIncomingInvoicesOKResponseBodyItemclass now returns the invoice type if it is set. - New methods,
withInvoiceTypeandwithoutInvoiceType, have been added to manage theinvoiceTypeproperty more effectively. - Constructor logic has been extended to accommodate the
invoiceTypewhen creating instances ofContributorListIncomingInvoicesOKResponseBodyItem. - The serialization process in the
toJsonmethod has been improved to include theinvoiceTypein the output if it is set.
For more details, visit the release page.
Release Summary: mittwald PHP SDK v2.1.166
The mittwald PHP SDK has been updated to version 2.1.166. This release introduces several enhancements and changes, primarily focusing on the addition of a new field, deletionDeadline, across various components in the Marketplace and ProjectFileSystem clients. This feature allows users to track the scheduled deletion date for variants and items, improving lifecycle management of extension pricing and project files.
Key Features:
- New Field:
deletionDeadlineadded to manage and track scheduled deletion dates. - Marketplace Extensions: Updates to several classes, including
ExtensionUpdateExtensionPricingOKResponse.phpandVariant.php, to incorporate thedeletionDeadlineandisDeletionScheduledproperties. - ProjectFileSystem: Enhanced handling of unauthorized responses with the introduction of
ProjectFileSystemGetJwtUnauthorizedResponse. - Marketplace Pricing Plans:
MonthlyPricePlanStrategyItem.phpnow includesdeletionDeadlineandisDeletionScheduledfor better management of pricing plans.
For more details, visit the release page.
mittwald PHP SDK Release v2.1.165
The latest release of the mittwald PHP SDK, version v2.1.165, introduces several new features and improvements:
Added Features
- A new method
getDetailOfContractByAiHostinghas been added to theContractClientand its implementation inContractClientImpl. This method allows retrieval of AI Hosting Contract details for a specific customer using their customer ID.
New API Requests and Responses
-
Request Class:
GetDetailOfContractByAiHostingRequest: Encapsulates request parameters for retrieving AI Hosting Contracts, requiring acustomerId.
-
Response Classes:
GetDetailOfContractByAiHostingOKResponse: For successful contract detail retrieval.GetDetailOfContractByAiHostingBadRequestResponse: Handles 400 Bad Request errors.GetDetailOfContractByAiHostingNotFoundResponse: For 404 Not Found errors.GetDetailOfContractByAiHostingTooManyRequestsResponse: Manages 429 Too Many Requests errors.GetDetailOfContractByAiHostingDefaultResponse: Captures other response errors.
-
Response Body Class:
GetDetailOfContractByAiHostingTooManyRequestsResponseBody: Models the body content for too many requests responses, includingmessageandtypefields.
Changes in Interfaces and Implementations
- The
ContractClientinterface now includes the new method for AI Hosting Contracts. ContractClientImplhas been extended to implement the new method, handling requests and HTTP responses.- Validation schemas have been added to ensure data integrity and manage errors effectively.
This release enhances the API client's functionality by providing a dedicated method for accessing AI Hosting Contract details, improving service interaction and error handling.
mittwald PHP SDK Release v2.1.164
The latest release of the mittwald PHP SDK, version 2.1.164, introduces new features and enhancements focused on improving the scheduled deletion process.
New Features
- Added support for the
deleteIngressesparameter in scheduled deletion requests, allowing users to decide whether to delete corresponding Ingress and subdomain Ingresses.
Enhancements
- Introduced the
deleteIngressesproperty in theCreateScheduledDeletionRequestBodyclass to manage the deletion of Ingress objects. - Updated JSON serialization for
CreateScheduledDeletionRequestBodyto include thedeleteIngressesproperty when set. - Added
withDeleteIngresses()method for setting thedeleteIngressesproperty with validation. - Added
withoutDeleteIngresses()method for unsetting thedeleteIngressesproperty. - Improved input validation in the
fromJson()method to support the newdeleteIngressesparameter.
For more details, visit the release page.
mittwald JavaScript SDK Release 4.278.0
The mittwald JavaScript SDK has been updated to version 4.278.0. This release includes an update to the generated client, enhancing its functionality. For more details, you can view the release on GitHub: mittwald/api-client-js 4.278.0.
mittwald JavaScript SDK Release 4.277.0
The mittwald JavaScript SDK has been updated to version 4.277.0. This release includes a feature update where the generated client has been updated. For more details, you can view the release on GitHub.
mittwald JavaScript SDK Release 4.276.0
The mittwald JavaScript SDK has been updated to version 4.276.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.276.0.
mittwald JavaScript SDK Release 4.275.0
The mittwald JavaScript SDK has been updated to version 4.275.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.274.0
The mittwald JavaScript SDK has been updated to version 4.274.0. This release includes an update to the generated client, enhancing its functionality. For more details, you can view the release on GitHub.