{"action":"created","comment":{"url":"https://api.github.com/repos/leancloud/docs/pulls/comments/70207871","id":70207871,"diff_hunk":"@@ -0,0 +1,1314 @@\n+{# 指定继承模板 #}\n+{% extends \"./leanstorage_guide.tmpl\" %}\n+\n+{# --Start--变量定义，主模板使用的单词和短语在所有子模板都必须赋值 #}\n+{% set cloudName =\"LeanCloud\" %}\n+{% set productName =\"LeanStorage\" %}\n+{% set platform_title =\"Swift\" %}\n+{% set segment_code =\"swift\" %}\n+{% set sdk_name =\"Swift SDK\" %}\n+{% set baseObjectName =\"LCObject\" %}\n+{% set objectIdName =\"objectId\" %}\n+{% set updatedAtName =\"updatedAt\" %}\n+{% set createdAtName =\"createdAt\" %}\n+{% set backgroundFunctionTemplate =\"xxxxInBackground\" %}\n+{% set saveEventuallyName =\"saveEventually\" %}\n+{% set deleteEventuallyName =\"deleteEventually\" %}\n+{% set relationObjectName =\"LCRelation\" %}\n+{% set pointerObjectName =\"LCPointer\" %}\n+{% set baseQueryClassName =\"LCQuery\" %}\n+{% set geoPointObjectName =\"LCGeoPoint\" %}\n+{% set userObjectName =\"LCUser\" %}\n+{% set fileObjectName =\"LCFile\" %}\n+{% set dateType= \"NSDate\" %}\n+{% set byteType= \"NSData\" %}\n+{% set link_to_acl_doc =\"[iOS / OS X 权限管理使用指南](acl_guide-ios.html)\"%}\n+{% set funtionName_whereKeyHasPrefix = \"whereKey:hasPrefix:\" %}\n+{% set saveOptions_query= \"where\" %}\n+{% set saveOptions_fetchWhenSave= \"fetch_when_save\" %}\n+\n+{# --End--变量定义，主模板使用的单词和短语在所有子模板都必须赋值 #}\n+\n+{# --Start--主模板留空的代码段落，子模板根据自身实际功能给予实现 #}\n+\n+{% block code_create_todo_object %}\n+\n+```swift\n+    // className 参数对应控制台中的 Class Name\n+     let todo = LCObject(className: \"Todo\")\n+```\n+{% endblock %}\n+\n+{% block code_save_object_by_cql %}\n+\n+```swift\n+    // 执行 CQL 语句实现新增一个 TodoFolder 对象\n+    LeanCloud.CQLClient.execute(\"insert into TodoFolder(name, priority) values('工作', 1)\") { (result) in\n+        if(result.isFailure){\n+            print(result.error)\n+        } else {\n+            if(result.objects.count > 0){\n+                let todoFolder = result.objects[0]\n+                // 打印 objectId\n+                print(\"objectId\",todoFolder.objectId?.value)\n+            }\n+        }\n+    }\n+\n+//https://github.com/leancloud/Swift-Sample-Code/blob/master/Swift-Sample-CodeTests/LCObject%23saveByCQL.swift\n+```\n+{% endblock %}\n+\n+{% block code_quick_save_a_todo %}\n+\n+```swift\n+    // className 参数对应控制台中的 Class Name\n+    let todo = LCObject(className: \"Todo\")\n+    todo.set(\"title\", object:\"工作\")\n+    todo.set(\"content\", object: \"每周工程师会议，周一下午2点\")\n+    \n+    todo.save { result in\n+      // 读取 result.isSuccess 可以判断是否操作成功\n+    }\n+```\n+{% endblock %}\n+\n+{% block code_quick_save_a_todo_with_location %}\n+\n+```swift\n+    // className 参数对应控制台中的 Class Name\n+    let todo = LCObject(className: \"Todo\")\n+    todo.set(\"title\", object:\"工作\")\n+    todo.set(\"content\", object: \"每周工程师会议，周一下午2点\")\n+    // 设置 location 的值为「会议室」\n+    todo.set(\"location\", object: \"会议室\")\n+    \n+    todo.save { result in\n+      // 读取 result.isSuccess 可以判断是否操作成功\n+      \n+    }\n+```\n+{% endblock %}\n+\n+{% block code_save_todo_folder %}\n+\n+```swift\n+    // className 参数对应控制台中的 Class Name\n+    let todoFolder = LCObject(className: \"TodoFolder\")\n+    todoFolder.set(\"name\", object:\"工作\")\n+    todoFolder.set(\"priority\", object: 1)\n+    \n+    // 保存到云端\n+    todoFolder.save { result in\n+    }\n+```\n+{% endblock %}\n+{% block text_save_options %}{% endblock %}\n+{% block code_saveoption_query_example %}\n+{% endblock %}\n+\n+{% block code_get_todo_by_objectId %}\n+\n+```swift\n+    let query = LCQuery(className: \"Todo\")\n+    query.get(\"575cf743a3413100614d7d75\", completion: { (result) in\n+        if(result.isSuccess) {\n+            let todo = result.object\n+            print(todo?.objectId?.value)\n+            print( todo?.get(\"title\"))\n+        }\n+    })\n+```\n+{% endblock %}\n+\n+{% block code_fetch_todo_by_objectId %}\n+\n+```swift\n+    // 第一个参数是 className，第二个参数是 objectId\n+    let todo = LCObject(className: \"Todo\", objectId: \"575cf743a3413100614d7d75\")\n+    \n+    todo.fetch({ (result ) in\n+        if(result.error != nil){\n+            print(result.error)\n+        }\n+        // 读取 title 属性\n+        let title = todo.get(\"title\")\n+        // 读取 content 属性\n+        let content = todo.get(\"content\")\n+    })\n+```\n+\n+{% endblock %}\n+\n+{% block code_save_callback_get_objectId %}\n+\n+```swift\n+    let todo = LCObject(className: \"Todo\")\n+    todo.set(\"title\", object: \"工程师周会\")\n+    todo.set(\"content\", object: \"每周工程师会议，周一下午2点\")\n+    todo.set(\"location\", object: \"会议室\")\n+    \n+    todo.save { (result) in\n+        if(result.isSuccess){\n+            print(todo.objectId)\n+        } else {\n+            // 失败的话，请检查网络环境以及 SDK 配置是否正确\n+        }\n+    }\n+```\n+{% endblock %}\n+\n+{% block code_access_todo_folder_properties %}\n+\n+```swift\n+    let query = LCQuery(className: \"Todo\")\n+    query.get(\"558e20cbe4b060308e3eb36c\") { (result) in\n+        // todoObj 就是 id 为 558e20cbe4b060308e3eb36c 的 Todo 对象实例\n+        let todoObj = result.object\n+        let location = todoObj?.get(\"location\") as! LCString\n+        let title = todoObj?.get(\"title\") as! LCString\n+        let content = todoObj?.get(\"content\") as! LCString\n+        \n+        // 获取三个特性\n+        let objectId = todoObj?.objectId\n+        let updatedAt = todoObj?.updatedAt\n+        let createdAt = todoObj?.createdAt\n+    }\n+```\n+{% endblock %}\n+\n+{% block text_refresh_object %}{% endblock %}\n+\n+{% block code_object_fetch %}\n+\n+> TODO\n+\n+{% endblock %}\n+\n+{% block code_object_fetchWhenSave %}\n+\n+> TODO\n+\n+{% endblock %}\n+\n+\n+{% block code_object_fetch_with_keys %}\n+\n+> TODO\n+\n+{% endblock %}\n+\n+{% block code_update_todo_location %}\n+\n+```swift\n+    AVObject *todo = [AVObject objectWithClassName:@\"Todo\"];\n+    [todo setObject:@\"工程师周会\" forKey:@\"title\"];\n+    [todo setObject:@\"每周工程师会议，周一下午2点\" forKey:@\"content\"];\n+    [todo setObject:@\"会议室\" forKey:@\"location\"];\n+    [todo saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {\n+        if (succeeded) {\n+            // 存储成功\n+            [todo setObject:@\"二楼大会议室\" forKey:@\"location\"];\n+            [todo saveInBackground];\n+        } else {\n+            // 失败的话，请检查网络环境以及 SDK 配置是否正确\n+        }\n+    }];\n+```\n+{% endblock %}\n+\n+{% block code_update_todo_content_with_objectId %}\n+\n+```swift\n+    let todo = LCObject(className: \"Todo\", objectId: \"575cf743a3413100614d7d75\")\n+    todo.set(\"content\", object: \"每周工程师会议，本周改为周三下午3点半。\")\n+    \n+    todo.save({ (result) in\n+        if(result.isSuccess){\n+            print(\"保存成功\")\n+        }\n+    })\n+```\n+\n+{% endblock %}\n+\n+{% block code_update_object_by_cql %}\n+\n+```swift\n+    LeanCloud.CQLClient.execute(\"update TodoFolder set name='家庭' where objectId='575d2c692e958a0059ca3558'\", completion: { (result) in\n+        if(result.isSuccess){\n+            // 成功执行了 CQL\n+        }\n+    })\n+```\n+{% endblock %}\n+\n+{% block code_atomic_operation_increment %}\n+\n+```swift\n+    let todo = LCObject(className: \"Todo\", objectId: \"575cf743a3413100614d7d75\")\n+    todo.set(\"views\", object: 50)\n+    todo.save({ (saveResult) in\n+        todo.increase(\"views\", by: LCNumber(1));\n+        todo.save({ (increaseResult) in\n+            if(increaseResult.isSuccess){\n+                print(todo.get(\"views\"))\n+            }\n+        })\n+    })\n+```\n+{% endblock %}\n+\n+{% block code_atomic_operation_array %}\n+\n+* `append(String, element: LCType)`<br>\n+  将指定对象附加到数组末尾。\n+* `append(String, element: LCType, unique: Bool)`<br>\n+   将指定对象附加到数组末尾，并且可以设置一个 `unique` 的 `bool` 值表示只是确保唯一，不会重复添加\n+* `append(String, elements: [LCType])`<br>\n+   将指定对象数组附加到数组末尾。\n+* `append(String, elements: [LCType], unique: Bool)`<br>\n+   将指定对象附加到数组末尾，并且可以设置一个 `unique` 的 `bool` 值表示只是确保唯一，不会重复添加\n+* `remove(String, element: LCType)`<br>\n+   从数组字段中删除指定的对象。\n+* `remove(String, elements: [LCType])`<br>\n+   从数组字段中删除指定的对象数组。\n+\n+{% endblock %}\n+\n+{% block code_set_array_value %}\n+\n+```swift\n+func getDateWithDateString(dateString:String) -> LCDate {\n+    let dateStringFormatter = NSDateFormatter()\n+    dateStringFormatter.dateFormat = \"yyyy-MM-dd HH:mm:ss\"\n+    dateStringFormatter.locale = NSLocale(localeIdentifier: \"en_US_POSIX\")\n+    let date = dateStringFormatter.dateFromString(dateString)!\n+    let lcDate = LCDate(date);\n+    return lcDate;\n+}\n+\n+func testSetArray() {\n+\n+    let renminder1 = self.getDateWithDateString(\"2015-11-11 07:10:00\")\n+    let renminder2 = self.getDateWithDateString(\"2015-11-11 07:20:00\")\n+    let renminder3 = self.getDateWithDateString(\"2015-11-11 07:30:00\")\n+    \n+    let reminders = LCArray(arrayLiteral: renminder1,renminder2,renminder3)\n+    \n+    let todo = LCObject(className: \"Todo\")\n+    todo.set(\"reminders\", value: reminders)\n+    \n+    todo.save({ (result) in\n+        // 新增一个闹钟时间\n+        let todo4 = self.getDateWithDateString(\"2015-11-11 07:40:00\")\n+        // 使用 append 方法添加\n+        todo.append(\"reminders\", element: todo4, unique: true)\n+        todo.save({ (updateResult) in\n+            if(result.isSuccess){\n+                // 成功执行了 CQL\n+            }\n+        })\n+    })\n+}\n+\n+//https://github.com/BenBBear/cordova-plugin-leanpush\n+```\n+{% endblock %}\n+{% block text_batch_operation %}{% endblock %}\n+{% block code_batch_operation %}\n+\n+```swift\n+ > swift alpha 版本不支持批量操作                     ","path":"views/leanstorage_guide-swift.md","position":322,"original_position":322,"commit_id":"238722d07eb4213d2f2e9c939c257d667dba6e4e","original_commit_id":"238722d07eb4213d2f2e9c939c257d667dba6e4e","user":{"login":"wujun4code","id":5119542,"avatar_url":"https://avatars.githubusercontent.com/u/5119542?v=3","gravatar_id":"","url":"https://api.github.com/users/wujun4code","html_url":"https://github.com/wujun4code","followers_url":"https://api.github.com/users/wujun4code/followers","following_url":"https://api.github.com/users/wujun4code/following{/other_user}","gists_url":"https://api.github.com/users/wujun4code/gists{/gist_id}","starred_url":"https://api.github.com/users/wujun4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujun4code/subscriptions","organizations_url":"https://api.github.com/users/wujun4code/orgs","repos_url":"https://api.github.com/users/wujun4code/repos","events_url":"https://api.github.com/users/wujun4code/events{/privacy}","received_events_url":"https://api.github.com/users/wujun4code/received_events","type":"User","site_admin":false},"body":"这行字不会出现在最后的文档连，因为我在主模板 text_batch_operation 写了这个，而 swift 文档中 这个 block 被留空了。","created_at":"2016-07-11T06:41:01Z","updated_at":"2016-07-11T06:41:01Z","html_url":"https://github.com/leancloud/docs/pull/1307#discussion_r70207871","pull_request_url":"https://api.github.com/repos/leancloud/docs/pulls/1307","_links":{"self":{"href":"https://api.github.com/repos/leancloud/docs/pulls/comments/70207871"},"html":{"href":"https://github.com/leancloud/docs/pull/1307#discussion_r70207871"},"pull_request":{"href":"https://api.github.com/repos/leancloud/docs/pulls/1307"}}},"pull_request":{"url":"https://api.github.com/repos/leancloud/docs/pulls/1307","id":75930148,"html_url":"https://github.com/leancloud/docs/pull/1307","diff_url":"https://github.com/leancloud/docs/pull/1307.diff","patch_url":"https://github.com/leancloud/docs/pull/1307.patch","issue_url":"https://api.github.com/repos/leancloud/docs/issues/1307","number":1307,"state":"open","locked":false,"title":"Feature swift","user":{"login":"wujun4code","id":5119542,"avatar_url":"https://avatars.githubusercontent.com/u/5119542?v=3","gravatar_id":"","url":"https://api.github.com/users/wujun4code","html_url":"https://github.com/wujun4code","followers_url":"https://api.github.com/users/wujun4code/followers","following_url":"https://api.github.com/users/wujun4code/following{/other_user}","gists_url":"https://api.github.com/users/wujun4code/gists{/gist_id}","starred_url":"https://api.github.com/users/wujun4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujun4code/subscriptions","organizations_url":"https://api.github.com/users/wujun4code/orgs","repos_url":"https://api.github.com/users/wujun4code/repos","events_url":"https://api.github.com/users/wujun4code/events{/privacy}","received_events_url":"https://api.github.com/users/wujun4code/received_events","type":"User","site_admin":false},"body":"提交pr 是为了合并 java 以及 php 的存储文档的主模板。","created_at":"2016-07-01T05:45:46Z","updated_at":"2016-07-11T06:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a08fd443070e040b3af555a28ee7c3e8885e8c6d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/docs/pulls/1307/commits","review_comments_url":"https://api.github.com/repos/leancloud/docs/pulls/1307/comments","review_comment_url":"https://api.github.com/repos/leancloud/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leancloud/docs/issues/1307/comments","statuses_url":"https://api.github.com/repos/leancloud/docs/statuses/238722d07eb4213d2f2e9c939c257d667dba6e4e","head":{"label":"wujun4code:feature_swift","ref":"feature_swift","sha":"238722d07eb4213d2f2e9c939c257d667dba6e4e","user":{"login":"wujun4code","id":5119542,"avatar_url":"https://avatars.githubusercontent.com/u/5119542?v=3","gravatar_id":"","url":"https://api.github.com/users/wujun4code","html_url":"https://github.com/wujun4code","followers_url":"https://api.github.com/users/wujun4code/followers","following_url":"https://api.github.com/users/wujun4code/following{/other_user}","gists_url":"https://api.github.com/users/wujun4code/gists{/gist_id}","starred_url":"https://api.github.com/users/wujun4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujun4code/subscriptions","organizations_url":"https://api.github.com/users/wujun4code/orgs","repos_url":"https://api.github.com/users/wujun4code/repos","events_url":"https://api.github.com/users/wujun4code/events{/privacy}","received_events_url":"https://api.github.com/users/wujun4code/received_events","type":"User","site_admin":false},"repo":{"id":29326977,"name":"docs","full_name":"wujun4code/docs","owner":{"login":"wujun4code","id":5119542,"avatar_url":"https://avatars.githubusercontent.com/u/5119542?v=3","gravatar_id":"","url":"https://api.github.com/users/wujun4code","html_url":"https://github.com/wujun4code","followers_url":"https://api.github.com/users/wujun4code/followers","following_url":"https://api.github.com/users/wujun4code/following{/other_user}","gists_url":"https://api.github.com/users/wujun4code/gists{/gist_id}","starred_url":"https://api.github.com/users/wujun4code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wujun4code/subscriptions","organizations_url":"https://api.github.com/users/wujun4code/orgs","repos_url":"https://api.github.com/users/wujun4code/repos","events_url":"https://api.github.com/users/wujun4code/events{/privacy}","received_events_url":"https://api.github.com/users/wujun4code/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wujun4code/docs","description":"LeanCloud Documentation","fork":true,"url":"https://api.github.com/repos/wujun4code/docs","forks_url":"https://api.github.com/repos/wujun4code/docs/forks","keys_url":"https://api.github.com/repos/wujun4code/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wujun4code/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wujun4code/docs/teams","hooks_url":"https://api.github.com/repos/wujun4code/docs/hooks","issue_events_url":"https://api.github.com/repos/wujun4code/docs/issues/events{/number}","events_url":"https://api.github.com/repos/wujun4code/docs/events","assignees_url":"https://api.github.com/repos/wujun4code/docs/assignees{/user}","branches_url":"https://api.github.com/repos/wujun4code/docs/branches{/branch}","tags_url":"https://api.github.com/repos/wujun4code/docs/tags","blobs_url":"https://api.github.com/repos/wujun4code/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wujun4code/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wujun4code/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/wujun4code/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wujun4code/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/wujun4code/docs/languages","stargazers_url":"https://api.github.com/repos/wujun4code/docs/stargazers","contributors_url":"https://api.github.com/repos/wujun4code/docs/contributors","subscribers_url":"https://api.github.com/repos/wujun4code/docs/subscribers","subscription_url":"https://api.github.com/repos/wujun4code/docs/subscription","commits_url":"https://api.github.com/repos/wujun4code/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/wujun4code/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/wujun4code/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/wujun4code/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/wujun4code/docs/contents/{+path}","compare_url":"https://api.github.com/repos/wujun4code/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wujun4code/docs/merges","archive_url":"https://api.github.com/repos/wujun4code/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wujun4code/docs/downloads","issues_url":"https://api.github.com/repos/wujun4code/docs/issues{/number}","pulls_url":"https://api.github.com/repos/wujun4code/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/wujun4code/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/wujun4code/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wujun4code/docs/labels{/name}","releases_url":"https://api.github.com/repos/wujun4code/docs/releases{/id}","deployments_url":"https://api.github.com/repos/wujun4code/docs/deployments","created_at":"2015-01-16T01:31:32Z","updated_at":"2016-04-12T06:46:28Z","pushed_at":"2016-07-11T03:27:12Z","git_url":"git://github.com/wujun4code/docs.git","ssh_url":"git@github.com:wujun4code/docs.git","clone_url":"https://github.com/wujun4code/docs.git","svn_url":"https://github.com/wujun4code/docs","homepage":"http://leancloud.cn/docs/","size":37784,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leancloud:master","ref":"master","sha":"35d3c5ea9b03f49b52ebb728fff42d74e545ef7d","user":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"repo":{"id":25067518,"name":"docs","full_name":"leancloud/docs","owner":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leancloud/docs","description":"LeanCloud Documentation","fork":false,"url":"https://api.github.com/repos/leancloud/docs","forks_url":"https://api.github.com/repos/leancloud/docs/forks","keys_url":"https://api.github.com/repos/leancloud/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leancloud/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leancloud/docs/teams","hooks_url":"https://api.github.com/repos/leancloud/docs/hooks","issue_events_url":"https://api.github.com/repos/leancloud/docs/issues/events{/number}","events_url":"https://api.github.com/repos/leancloud/docs/events","assignees_url":"https://api.github.com/repos/leancloud/docs/assignees{/user}","branches_url":"https://api.github.com/repos/leancloud/docs/branches{/branch}","tags_url":"https://api.github.com/repos/leancloud/docs/tags","blobs_url":"https://api.github.com/repos/leancloud/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leancloud/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leancloud/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/leancloud/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leancloud/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/leancloud/docs/languages","stargazers_url":"https://api.github.com/repos/leancloud/docs/stargazers","contributors_url":"https://api.github.com/repos/leancloud/docs/contributors","subscribers_url":"https://api.github.com/repos/leancloud/docs/subscribers","subscription_url":"https://api.github.com/repos/leancloud/docs/subscription","commits_url":"https://api.github.com/repos/leancloud/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/leancloud/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/leancloud/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/leancloud/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/leancloud/docs/contents/{+path}","compare_url":"https://api.github.com/repos/leancloud/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leancloud/docs/merges","archive_url":"https://api.github.com/repos/leancloud/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leancloud/docs/downloads","issues_url":"https://api.github.com/repos/leancloud/docs/issues{/number}","pulls_url":"https://api.github.com/repos/leancloud/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/leancloud/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/leancloud/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leancloud/docs/labels{/name}","releases_url":"https://api.github.com/repos/leancloud/docs/releases{/id}","deployments_url":"https://api.github.com/repos/leancloud/docs/deployments","created_at":"2014-10-11T07:14:37Z","updated_at":"2016-07-08T17:18:03Z","pushed_at":"2016-07-11T06:33:12Z","git_url":"git://github.com/leancloud/docs.git","ssh_url":"git@github.com:leancloud/docs.git","clone_url":"https://github.com/leancloud/docs.git","svn_url":"https://github.com/leancloud/docs","homepage":"http://leancloud.cn/docs/","size":40366,"stargazers_count":291,"watchers_count":291,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":171,"mirror_url":null,"open_issues_count":67,"forks":171,"open_issues":67,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/docs/pulls/1307"},"html":{"href":"https://github.com/leancloud/docs/pull/1307"},"issue":{"href":"https://api.github.com/repos/leancloud/docs/issues/1307"},"comments":{"href":"https://api.github.com/repos/leancloud/docs/issues/1307/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/docs/pulls/1307/comments"},"review_comment":{"href":"https://api.github.com/repos/leancloud/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leancloud/docs/pulls/1307/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/docs/statuses/238722d07eb4213d2f2e9c939c257d667dba6e4e"}}}}
{"actor":{"display_login":"wujun4code"}}