{"id":8233,"date":"2013-02-07T13:59:53","date_gmt":"2013-02-07T04:59:53","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=8233"},"modified":"2013-02-07T14:34:54","modified_gmt":"2013-02-07T05:34:54","slug":"dropbox-new-sync-api","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/dropbox-new-sync-api\/","title":{"rendered":"Dropbox\u306e\u65b0\u540c\u671fAPI\u306f\u306a\u304b\u306a\u306a\u304b\u3088\u3055\u3052"},"content":{"rendered":"<p><a href=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2013\/02\/sync-logo.png\"><img decoding=\"async\" src=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2013\/02\/sync-logo.png\" alt=\"sync-logo\" width=\"197\" height=\"176\" class=\"alignnone size-full wp-image-8235\" \/><\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540c\u671f\u30b5\u30fc\u30d3\u30b9\u306e\u5b9a\u756aDropbox\u304c\u958b\u767a\u8005\u5411\u3051\u306b\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u65b0\u3057\u3044\u540c\u671fAPI\u304c\u306a\u304b\u306a\u304b\u826f\u3055\u305d\u3046\u3067\u3059(<a href=\"http:\/\/jp.techcrunch.com\/archives\/20130206dropbox-unveils-sync-api-for-mobile-developers-allows-apps-to-work-with-cloud-based-files-as-if-they-were-local\/\">TechCrunch<\/a>\u3001<a href=\"https:\/\/www.dropbox.com\/developers\/sync\/tutorial\/ios\">Dropbox: Introducing<\/a>)\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u65b0\u3057\u3044Sync API\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u66f8\u304d\u3059\u308b\u611f\u899a\u3067\u3001Dropbox\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u66f8\u304d\u3067\u304d\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3084\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u901a\u4fe1\u969c\u5bb3\u306a\u3069\u3078\u306e\u5bfe\u7b56\u3092\u3001\u500b\u5225\u306b\u958b\u767a\u8005\u304c\u3084\u3089\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u308b\u3068\u304b\u3002<\/p>\n<p>\u3059\u3067\u306bAndroid\/iOS\u958b\u767a\u8005\u5411\u3051\u306e<a href=\"https:\/\/www.dropbox.com\/developers\/sync\/tutorial\/ios\">\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb<\/a>\u307e\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u958b\u767a\u8005\u306a\u3089\u30a4\u30e1\u30fc\u30b8\u306f\u3064\u304b\u3081\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u30d5\u30a9\u30eb\u30c0\u306e\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<p>[objc]<br \/>\nNSArray *contents = [[DBFilesystem sharedFilesystem] listFolder:[DBPath root] error:nil];<br \/>\nfor (DBFileInfo *info in contents) {<br \/>\n    NSLog(@&quot;%@&quot;, info.path);<br \/>\n}<br \/>\n[\/objc]<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u8fbc\u307f\u3082\u7c21\u5358\u306b\u3067\u304d\u305d\u3046\u3002<\/p>\n<p>[objc]<br \/>\nDBPath *newPath = [[DBPath root] childPath:@&quot;hello.txt&quot;];<br \/>\nDBFile *file = [[DBFilesystem sharedFilesystem] createFile:newPath];<br \/>\n[file writeString:@&quot;Hello World!&quot; error:nil];<br \/>\n[\/objc]<\/p>\n<p>\u826f\u3055\u305d\u3046\u3067\u3059\u306d\uff01\uff01<\/p>\n<p><strong>\u25a0Softantenna's Eye<\/strong><br \/>\n\u4f7f\u3044\u3084\u3059\u3044API\u3092\u6e96\u5099\u3059\u308b\u3053\u3068\u3067\u3001Dropbox\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30a2\u30d7\u30ea\u304c\u5897\u3048\u308b\u2192Dropbox\u30e6\u30fc\u30b6\u30fc\u304c\u5897\u3048\u308b\u2192\u5bb9\u91cf\u304c\u4e0d\u8db3\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306f\u6709\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8cfc\u5165\u3059\u308b\u2192Dropbox<strong>\u30a6\u30cf\u30a6\u30cf<\/strong>\u3002\u3068\u3044\u3046\u6b63\u306e\u9023\u9396\u304c\u3067\u304d\u3042\u304c\u308b\u306e\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u5358\u306b\u5bb9\u91cf\u3084\u901f\u5ea6\u3067\u7af6\u4e89\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5468\u8fba\u74b0\u5883\u306e\u6574\u5099\u3082\u4eca\u5f8c\u91cd\u8981\u306b\u306a\u3063\u3066\u304f\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a1\u30a4\u30eb\u540c\u671f\u30b5\u30fc\u30d3\u30b9\u306e\u5b9a\u756aDropbox\u304c\u958b\u767a\u8005\u5411\u3051\u306b\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u65b0\u3057\u3044\u540c\u671fAPI\u304c\u306a\u304b\u306a\u304b\u826f\u3055\u305d\u3046\u3067\u3059(TechCrunch\u3001Dropbox: Introducing)\u3002<\/p>\n","protected":false},"author":2,"featured_media":8235,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[3305],"class_list":["post-8233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-dropbox"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/8233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=8233"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/8233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/8235"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=8233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=8233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=8233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}