{"id":8783015,"date":"2017-02-08T20:38:50","date_gmt":"2017-02-08T20:38:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/json-api-disabled\/"},"modified":"2017-02-08T20:38:50","modified_gmt":"2017-02-08T20:38:50","slug":"json-api-disabled","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/json-api-disabled\/","title":{"rendered":"JSON API disabled ?"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>We&#8217;ve created a plugin that adds API endpoints to the official JSON API that&#8217;s included in WordPress, accessible with the \/wp-json\/ URL.<\/p>\n<p>However, we&#8217;ve got a user&#8217;s website that doesn&#8217;t seem to have this URL available. It throws back a 404. And because of that, our plugin is useless as we can&#8217;t access the endpoints. Even though the website is using 4.7.1. I believe the API should be enabled by default, right ?<\/p>\n<p>I&#8217;m not sure what I can do to debug that issue, as I don&#8217;t have direct access to the site. The use disabled all plugins except for mine, still no API endpoint accessible. Could the source of the issue be in the template ?<\/p>\n<p>Also, can I add some code in my plugin to check if the JSON API is working\/enabled properly ?<\/p>\n<p>Thanks<\/p>\n","protected":false},"template":"","class_list":["post-8783015","topic","type-topic","status-publish","hentry","topic-tag-api","topic-tag-json"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8783015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8783015\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8783015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}