{"id":11986,"date":"2011-02-01T11:43:19","date_gmt":"2011-02-01T11:43:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/remote-api\/"},"modified":"2011-02-23T13:01:24","modified_gmt":"2011-02-23T13:01:24","slug":"remote-api","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/remote-api\/","author":1128199,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"trunk","tested":"3.04","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Remote API","header_author":"Thorsten Ott","header_description":"","assets_banners_color":"","last_updated":"2011-02-23 13:01:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/remote-api\/","header_author_uri":"http:\/\/automattic.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3788,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","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":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1573780","resolution":"1","location":"plugin"}},"screenshots":{"1":"Widget admin interface showing the widget (left), the placeholder widget in the primary sidebar (top-right) and the resulting sidebar \/ dropzone for the placeholder widget (bottom-right)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,1464,53270,14732,11471],"plugin_category":[],"plugin_contributors":[77494,78260],"plugin_business_model":[],"class_list":["post-11986","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-lazy-loading","plugin_tags-lazy-widget","plugin_tags-remote-access","plugin_tags-remote-api","plugin_contributors-automattic","plugin_contributors-tott","plugin_committers-tott"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/remote-api.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/remote-api\/trunk\/screenshot-1.jpg?rev=1573780","caption":"Widget admin interface showing the widget (left), the placeholder widget in the primary sidebar (top-right) and the resulting sidebar \/ dropzone for the placeholder widget (bottom-right)"}],"raw_content":"<!--section=description-->\n<p>A basic use case for this plugin would be lazy loading content segments or performing cross-blog actions.\nIt includes a simple example for lazy loading widgets, but is mainly aimed for developers who like to built on top of this functionality.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Url Format in form of <code>http:\/\/&lt;blogname&gt;\/&lt;server_entry_key&gt;\/&lt;request_string&gt;\/&lt;server_format_key&gt;\/&lt;format&gt;<\/code> in order to allow server side caching of requests without setting up a huge set of rewrite rules. The request string contains all request parameters<\/li>\n<li>Variable response formats. Comes with xml and json bundled in response.php but can be extended to your needs<\/li>\n<li>Exceptions with custom exception handler are used throughout the classes to allow error feedback in the requested response format.<\/li>\n<\/ul>\n\n<p>Please have a look at the inline documentation starting from <code>remote-api.php<\/code>. To get a sense of the usage have a look at the examples<\/p>\n\n<h3>Lazy Loading Widget Example<\/h3>\n\n<p>The Lazy Loading Widget example is a basic use case for this script. It's UI is still not very tuned, but should give an impression on what can be done with this remote-api.<\/p>\n\n<p>When you visit your widget administration at <code>\/wp-admin\/widgets.php<\/code> you'll notice a widget called \"Remote_API_Lazy_Widget\". Drag it to one of your sidebars where you would like to have some asynchronously loaded widget appear and give it a Title. Then reload the widgets.php page.<\/p>\n\n<p>A new sidebar should appear in which you can drop other widgets. The widgets you'll drop in this sidebar will be loaded asynchronously via a ajax request in place of the placeholder widget.<\/p>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add support for full stops (.) in server parameters and switch to <code>remote.api<\/code> as default url to avoid conflicts with page names.<\/li>\n<li>Switching to hash_hmac instead of crypt for request format validation string.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Basic implementation<\/li>\n<\/ul>","raw_excerpt":"A set of extendable classes that allow the creation of a remote API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11986"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tott"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11986"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11986"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11986"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11986"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11986"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}