{"id":8826,"date":"2014-05-15T13:54:18","date_gmt":"2014-05-15T17:54:18","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8826"},"modified":"2014-05-15T13:54:48","modified_gmt":"2014-05-15T17:54:48","slug":"announcing-dropbox-webhooks","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/05\/15\/announcing-dropbox-webhooks\/","title":{"rendered":"Announcing Dropbox webhooks"},"content":{"rendered":"<p><a href=\"https:\/\/www.dropbox.com\/developers\/blog\/90\/announcing-dropbox-webhooks\">Dropbox<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.dropbox.com\/developers\/blog\/90\/announcing-dropbox-webhooks\"><p>In general, a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Webhook\">webhook<\/a> is a way for an app developer to specify a URI to receive notifications based on some trigger. In the case of Dropbox, notifications get sent to your webhook URI every time a user of your app makes a file change. The payload of the webhook is a list of user IDs who have changes. Your app can then use the standard <a href=\"https:\/\/www.dropbox.com\/developers\/core\/docs#delta\">delta<\/a> method to see what changed and respond accordingly.<\/p><\/blockquote>\n<p>This got me thinking about how I thought that Apple had at one point talked about Web APIs for iCloud. I couldn&rsquo;t find a reference for that, but I did find the <a href=\"https:\/\/www.apple.com\/apple-events\/wwdc-2011\/\">WWDC 2011<\/a> keynote where Steve Jobs says (at 96:33):<\/p>\n<blockquote cite=\"https:\/\/www.apple.com\/apple-events\/wwdc-2011\/\"><p>Documents and Key Value data works across all iOS devices and Macs and PCs, too.<\/p><\/blockquote>\n<p>I don&rsquo;t see any <a href=\"http:\/\/support.apple.com\/kb\/dl1455\">evidence<\/a> that this shipped, though.<\/p>","protected":false},"excerpt":{"rendered":"<p>Dropbox: In general, a webhook is a way for an app developer to specify a URI to receive notifications based on some trigger. In the case of Dropbox, notifications get sent to your webhook URI every time a user of your app makes a file change. The payload of the webhook is a list of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[35,47,16,50,219],"class_list":["post-8826","post","type-post","status-publish","format-standard","hentry","category-technology","tag-cloud","tag-dropbox","tag-icloud","tag-webapi","tag-windows"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=8826"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8826\/revisions"}],"predecessor-version":[{"id":8827,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8826\/revisions\/8827"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}