{"id":108810,"date":"2019-09-23T21:50:38","date_gmt":"2019-09-23T21:50:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/api-log-pro\/"},"modified":"2022-06-24T15:46:04","modified_gmt":"2022-06-24T15:46:04","slug":"api-log-pro","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/api-log-pro\/","author":17967069,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.0.11","requires":"4.6","requires_php":"7.0.0","requires_plugins":"","header_name":"API Log Pro","header_author":"Hubbard Labs","header_description":"A simple plugin to log WP Rest API Requests.","assets_banners_color":"cccccc","last_updated":"2022-06-24 15:46:04","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/hubbardlabs.com","header_plugin_uri":"https:\/\/github.com\/hubbardlabs\/api-log-pro","header_author_uri":"https:\/\/hubbardlabs.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4173,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.5":{"tag":"0.0.5","author":"bhubbard","date":"2021-09-20 19:09:24"},"0.0.6":{"tag":"0.0.6","author":"bhubbard","date":"2021-09-20 19:44:24"},"0.0.7":{"tag":"0.0.7","author":"bhubbard","date":"2021-09-28 04:10:04"},"0.0.8":{"tag":"0.0.8","author":"bhubbard","date":"2021-09-28 20:29:36"},"1.0.0":{"tag":"1.0.0","author":"bhubbard","date":"2022-06-24 15:46:04"}},"upgrade_notice":{"":"<p>Upgrade notices will be here.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2601956,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2601956,"resolution":"1544x500","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.5","0.0.6","0.0.7","0.0.8","1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,1118,23853,2300,2301],"plugin_category":[],"plugin_contributors":[80608,192894],"plugin_business_model":[],"class_list":["post-108810","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-json","plugin_tags-rest-api","plugin_tags-wp-api","plugin_tags-wp-rest-api","plugin_contributors-bhubbard","plugin_contributors-hubbardlabs","plugin_committers-bhubbard","plugin_committers-hubbardlabs"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/api-log-pro\/assets\/icon-256x256.png?rev=2601956","icon_2x":"https:\/\/ps.w.org\/api-log-pro\/assets\/icon-256x256.png?rev=2601956","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin enables logging of all calls to the WordPress REST API. You can view all logs from the WordPress Admin under <strong>API Log Pro<\/strong>.<\/p>\n\n<h3>WP-CLI Support<\/h3>\n\n<p>This plugin offers some basic wp-cli support. You can use the following command to delete all the logs in the db.<\/p>\n\n<pre><code>wp api-log-pro delete\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Copy the <code>api-log-pro<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the <code>API Log Pro<\/code> plugin via the plugin admin page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20the%20difference%20between%20outgoing%20and%20incoming%20logs%3F'><h3>What is the difference between outgoing and incoming logs?<\/h3><\/dt>\n<dd><p>Incoming are requests made to the WordPress Reset API, while outbound requests are made to 3rd party API services using the wp_remote_request() function.<\/p><\/dd>\n<dt id='how%20long%20are%20logs%20kept%3F'><h3>How long are logs kept?<\/h3><\/dt>\n<dd><p>Currently logs are kept for 15 days.<\/p><\/dd>\n<dt id='can%20i%20view%20the%20log%20via%20the%20api%3F'><h3>Can I view the log via the api?<\/h3><\/dt>\n<dd><p>Yes, you can use the WordPress api to view the logs if you have <code>manage options<\/code> permissions as a WordPress User. Here is the endpoint:<\/p>\n\n<pre><code>\/wp-json\/api-log-pro\/v1\/logs\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>First Release, please read CHANGELOG.md for all changes.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to log WordPress Rest API Requests.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/108810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=108810"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hubbardlabs"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=108810"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=108810"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=108810"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=108810"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=108810"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=108810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}