Download the PHP package elgentos/magento2-apicacheindexmanagement without Composer
On this page you can find all versions of the php package elgentos/magento2-apicacheindexmanagement. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elgentos/magento2-apicacheindexmanagement
More information about elgentos/magento2-apicacheindexmanagement
Files in elgentos/magento2-apicacheindexmanagement
Package magento2-apicacheindexmanagement
Short Description Extension to invalidate caches and reindex indexers through the REST API.
License OSL-3.0
Informations about the package magento2-apicacheindexmanagement
Elgentos ApiCacheIndexManagement
Extension to invalidate caches and reindex indexers through the REST API. All routes are POST routes.
Both {ids}
and {skus}
can be passed as comma-separated strings or arrays.
Cache routes
Possible cacheTypes
;
There could be more or less cache types, depending on your installation. See bin/magento cache:status
for your full list.
Index routes
Possible indexNames
:
There could be more or less indexes, depending on your installation. See bin/magento indexer:info
for your full list.
Note about re-indexing using the {skus}
parameter: it is possible to use parameter this in combination with a non-product indexer, such as customer_grid
. Doing this will fetch the product IDs belonging to the passed SKUs, and will then reindex the customers with that specific entity ID. This shouldn't introduce any problems, but it's fairly useless.
Possible response codes
Code | Message |
---|---|
200 | Cache clean successfully / Indexers are reindexed successfully |
304 | No tags to clean / Already cleaned cache |
500 | Could not reindex / could not clear cache |