{"id":18012,"date":"2012-05-04T16:27:48","date_gmt":"2012-05-04T16:27:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/oauthrest\/"},"modified":"2012-05-10T18:02:00","modified_gmt":"2012-05-10T18:02:00","slug":"oauthrest","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/oauthrest\/","author":9408068,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.2.0","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"OAuth REST API","header_author":"Jeff Ching","header_description":"","assets_banners_color":"","last_updated":"2012-05-10 18:02:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/chingor13\/oauth-rest","header_author_uri":"http:\/\/chingr.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":3887,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,2061,2299,2925],"plugin_category":[38],"plugin_contributors":[129754],"plugin_business_model":[],"class_list":["post-18012","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-oauth","plugin_tags-rest","plugin_tags-server","plugin_category-authentication","plugin_contributors-chingor13","plugin_committers-chingor13"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/oauthrest.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin enables a resourceful REST interface for posts and comments.  Authentication is handled via the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/oauth-provider\/\">oauth-provider plugin<\/a>.<\/p>\n\n<p>For more information about resourceful routing, see <a href=\"http:\/\/guides.rubyonrails.org\/routing.html\">here<\/a>.<\/p>\n\n<p>Acceptable return formats:<\/p>\n\n<ul>\n<li>JSON<\/li>\n<\/ul>\n\n<p>Endpoints:<\/p>\n\n<ul>\n<li>GET - \/api\/posts.:format<\/li>\n<li>GET - \/api\/posts\/:id.:format<\/li>\n<li>POST - \/api\/posts.:format<\/li>\n<li>PUT - \/api\/posts\/:id.:format<\/li>\n<li>GET - \/api\/comments.:format<\/li>\n<li>GET - \/api\/comments\/:id.:format<\/li>\n<li>POST - \/api\/comments.:format<\/li>\n<li>PUT - \/api\/comments\/:id.:format<\/li>\n<\/ul>\n\n<h3>To Do<\/h3>\n\n<ol>\n<li>Limit authentication to specific endpoints (customizable)<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>oauthrest<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Create a consumer using the 'OAuth Provider' menu<\/li>\n<li>Profit<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I contribute to this plugin?<\/dt>\n<dd><p>Fork my repo on <a href=\"http:\/\/github.com\/chingor13\/oauthrest\">github<\/a> and send me a pull request.<\/p><\/dd>\n<dt>Can I limit which endpoints require authentication?<\/dt>\n<dd><p>No, not at this time.  Feel free to help me out and send me a pull request.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>0.1.0 - 2012-05-03<\/strong>\nInitial Release.<\/p>\n\n<p><strong>0.1.1 - 2012-05-04<\/strong>\nRemove XML format. JSON is much more widely accepted and encoding\/decoding is built into PHP.<\/p>\n\n<p><strong>0.1.2 - 2012-05-04<\/strong>\nFix comments resource endpoint.<\/p>\n\n<p><strong>0.1.3 - 2012-05-07<\/strong>\nFix trackback count for posts.  Fix comment dates.<\/p>\n\n<p><strong>0.2.0 - 2012-05-10<\/strong>\nUse the build-in functions when interacting with posts and comments.  Fix routing so that we don't require an \"api\" page to be created.<\/p>","raw_excerpt":"OAuthRest is an implementation of a resourceful REST api.  It uses authentication via the oauth-provider plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18012"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chingor13"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18012"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18012"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18012"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18012"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18012"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}