rafique / module-adminapi
A simple module to GET and SET admin configuration values using Magento API
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2025-04-16 20:25:56 UTC
README
rafique/module-adminapi
Main Functionalities
A simple module to GET and SET admin configuration values using Magento API
Installation
* = in production please use the --keep-generated
option
Type 1: Zip file
- Clone or download from github: https://github.com/Daniel-Rafique/rafique-module-adminapi
- Unzip the zip file in
app/code/Rafique
- Enable the module by running
php bin/magento module:enable Rafique_AdminApi
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- public repository
https://packagist.org/packages/rafique/module-adminapi
- public github repository as vcs
- public repository
- Install the module composer by running
composer require rafique/module-adminapi
- enable the module by running
php bin/magento module:enable Rafique_AdminApi
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Configuration
No Admin UI
Specifications
-
API Endpoint
- GET - Rafique\AdminApi\Api\GetValueManagementInterface > Rafique\AdminApi\Model\GetValueManagement - Make a GET request and pass in the store code and path of config value you want to retrieve.
-
API Endpoint
-
PUT - Rafique\AdminApi\Api\SetValueManagementInterface > Rafique\AdminApi\Model\SetValueManagement Make a POST request with an array in raw format.
{ "param": {"path":"web/seo/use_rewrites", "value":"1", "scope":"default", "encrypt":true} }
-
-
Helper
- Rafique\AdminApi\Helper\Data
-
Configuration Type
- api