Skip to content

v2.1.200

Choose a tag to compare

@mittwald-machine mittwald-machine released this 14 Jul 19:40

Added Features

  • Enhanced ContributorListContractPartnersOfContributorRequest object with pagination, sorting, and filtering capabilities.

    • New parameters introduced: limit, skip, page, sort, and order, allowing more flexible requests.
    • Validation methods added for the new parameters to ensure data integrity.
  • Introduced ExtensionGetExtensionInstanceForbiddenResponse class 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 to createdAt.
    • order: an array of strings indicating the sort order, defaulting to asc.
  • Functions added:

    • getLimit()
    • getSkip()
    • getPage()
    • getSort()
    • getOrder()
    • withLimit(int $limit): self
    • withoutLimit(): self
    • withSkip(int $skip): self
    • withPage(int $page): self
    • withoutPage(): self
    • withSort(array $sort): self
    • withOrder(array $order): self

ExtensionGetExtensionInstanceForbiddenResponse

  • New response class for handling forbidden requests, which includes:
    • A constructor that accepts an Error object.
    • 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.

This release enhances the API's functionality and error handling, providing more versatile interactions with marketplace contributors and extension instances.