Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

https://github.com/magesuite/rest-api-rate-limit-terminator

The purpose of this module is to override the Magento Rest API items limit in order to prevent issues with communication via API.

Installation

This module is part of MageSuite metapackage

Installation if metapackage is not used:

composer require "creativestyle/magesuite-rest-api-rate-limit-terminator" ^1.0.0

Admin settings

There are no admin settings in the module.

Backend

The only functionality in this module is the override of Magento Rest API items limit in rest-api-rate-limit-terminator/etc/di.xml file:

<type name="Magento\Framework\Webapi\Validator\EntityArrayValidator">
    <arguments>
        <argument name="complexArrayItemLimit" xsi:type="number">999999</argument>
    </arguments>
</type>
<type name="Magento\Framework\Webapi\Validator\SearchCriteriaValidator">
    <arguments>
        <argument name="maximumPageSize" xsi:type="number">999999</argument>
    </arguments>
</type>
<type name="Magento\Framework\GraphQl\Query\Resolver\Argument\Validator\SearchCriteriaValidator">
    <arguments>
        <argument name="maxPageSize" xsi:type="number">999999</argument>
    </arguments>
</type>

Frontend

There are no frontend functionalities in this module.

  • No labels