{"id":18705795,"url":"https://github.com/onecodegr/web-api-logger","last_synced_at":"2025-04-12T10:15:05.584Z","repository":{"id":57031465,"uuid":"453782902","full_name":"OnecodeGr/web-api-logger","owner":"OnecodeGr","description":"Track the magento 2 API request per user(Rest,Soap,GraphQl)","archived":false,"fork":false,"pushed_at":"2024-09-11T10:36:53.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T10:14:56.765Z","etag":null,"topics":["magento","magento2","magento2-extension","magento2-module"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OnecodeGr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-30T19:41:02.000Z","updated_at":"2024-09-11T10:31:03.000Z","dependencies_parsed_at":"2024-05-29T13:34:45.421Z","dependency_job_id":"95c05cc1-27ce-4ba5-b338-40426ef50b80","html_url":"https://github.com/OnecodeGr/web-api-logger","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":0.1578947368421053,"last_synced_commit":"468e411c75f74b2b0856d06dd6ccf7b23c862339"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnecodeGr%2Fweb-api-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnecodeGr%2Fweb-api-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnecodeGr%2Fweb-api-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnecodeGr%2Fweb-api-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnecodeGr","download_url":"https://codeload.github.com/OnecodeGr/web-api-logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550619,"owners_count":21122934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["magento","magento2","magento2-extension","magento2-module"],"created_at":"2024-11-07T12:11:56.699Z","updated_at":"2025-04-12T10:15:05.560Z","avatar_url":"https://github.com/OnecodeGr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitor the magento 2 API REQUEST you are getting \n\n[![GitHub version](https://badge.fury.io/gh/OnecodeGr%2Fweb-api-logger.svg)](https://badge.fury.io/gh/OnecodeGr%2Fweb-api-logger)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)\n[![PHP Version Require](http://poser.pugx.org/onecode/web-api-logger/require/php)](https://packagist.org/packages/onecode/web-api-logger)\n[![Supported Magento Version](https://img.shields.io/badge/magento-2.3.x_2.4.x-%23d5632a.svg?logo=magento\u0026longCache=true)](https://github.com/magento/magento2)\n\nThis extension is tracking the API request you are getting in your magento installation by user\n## 1. How to install Onecode_WebApiLogger\nThere are 2 ways to install the application via composer(recommended) or Copy and paste\n### 1.1 Install via composer\n\n```\ncomposer require onecode/web-api-logger\nphp bin/magento setup:upgrade\nphp bin/magento setup:static-content:deploy\nphp bin/magento setup:di:compile\n```\n### 1.2 Copy and paste\n\nIf you don't want to install via composer, you can use this way.\n\n- Download [the latest version here](https://github.com/OnecodeGr/web-api-logger/archive/master.zip)\n- Extract `master.zip` file to `app/code/Onecode/WebApiLogger` ; You should create a folder\n  path `app/code/Onecode/WebApiLogger` if not exist.\n- Require Onecode_Base before installation run the command ``composer require onecode/base`` or Download [the latest](https://github.com/OnecodeGr/base/archive/master.zip). Extract `master.zip` file to `app/code/Onecode/Base`  ; You should create a folder\n  path `app/code/Onecode/Base` if not exist.\n- Go to Magento root folder and run upgrade command line to install `Onecode_WebApiLogger`:\n```\nphp bin/magento module:enable Onecode_WebApiLogger Onecoode_Base\nphp bin/magento setup:upgrade\nphp bin/magento setup:static-content:deploy\n```\n\nRun compile if you have your application in Production Mode\n\n```\nphp bin/magento setup:di:compile\n```\n\n## 2. Magento 2 WebApiLogger extension\n\n### 2.1 Web API Logger \nIn this guide we will show you how to configure the extension and use it.\n\n![Imgur](https://i.imgur.com/3yO5PXb.png)\n\n### 2.2  Web API Logger settings\n\nLogin to the **Magento Admin**, navigate to `Store \u003e Configuration \u003e Onecode Extensions \u003e Web API Logger`\n\n#### 2.2.1 General\n\n![Imgur](https://i.imgur.com/CHDiCzX.png)\n\n**Enabled**: Select `Yes` to activate the module and No to disable it.\n\n![Imgur](https://i.imgur.com/6cuMh3h.png)\n\n**Clean Up**: Set the days you want to clear the log by database. Set 0 to disable it.\n\n![Imgur](https://i.imgur.com/sQWqmut.png)\n\n**Accept all HTTP Method**: Select `Yes` to save on logger all the request you are getting or `No` to select which request you want to monitor\n\n![Imgur](https://i.imgur.com/dvECorT.png)\n\n**Select HTTP Methods**: Select which API methods do you want to monitor.\n\n![Imgur](https://i.imgur.com/KsuUXTe.png)\n\n**Select user you want to track**: Select which users request do you want to monitor\n\n![Imgur](https://i.imgur.com/uEtgtsI.png)\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonecodegr%2Fweb-api-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonecodegr%2Fweb-api-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonecodegr%2Fweb-api-logger/lists"}