v2.1.200
Added Features
-
Enhanced
ContributorListContractPartnersOfContributorRequestobject with pagination, sorting, and filtering capabilities.- New parameters introduced:
limit,skip,page,sort, andorder, allowing more flexible requests. - Validation methods added for the new parameters to ensure data integrity.
- New parameters introduced:
-
Introduced
ExtensionGetExtensionInstanceForbiddenResponseclass to handle 403 Forbidden responses.- The class encapsulates error handling for forbidden requests, enhancing the API's robustness.
Details
ContributorListContractPartnersOfContributorRequest
-
Added new fields:
limit: an integer with a minimum value of 0.skip: an integer with a default value of 0.page: an integer with a minimum value of 0.sort: an array of strings indicating sorting options, defaulting tocreatedAt.order: an array of strings indicating the sort order, defaulting toasc.
-
Functions added:
getLimit()getSkip()getPage()getSort()getOrder()withLimit(int $limit): selfwithoutLimit(): selfwithSkip(int $skip): selfwithPage(int $page): selfwithoutPage(): selfwithSort(array $sort): selfwithOrder(array $order): self
ExtensionGetExtensionInstanceForbiddenResponse
- New response class for handling forbidden requests, which includes:
- A constructor that accepts an
Errorobject. - Method to build the instance from input data with validation.
- Method to convert the object back to a JSON serializable array.
- Validation features that ensure that the response structure aligns with the expected schema.
- A constructor that accepts an
This release enhances the API's functionality and error handling, providing more versatile interactions with marketplace contributors and extension instances.