{"action":"created","comment":{"url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments/25404540","id":25404540,"diff_hunk":"@@ -144,7 +143,7 @@ the default scheme, pass the ``scheme`` keyword argument::\n Complex Structures\n ------------------\n \n-You can have a flat structure that marshal_with will transform to a nested structure ::\n+You can have a flat structure that the function ``marshal`` will transform to a nested structure ::","path":"docs/fields.rst","position":64,"original_position":64,"commit_id":"a218e1e5d5a76673dedac07a7293b06258133463","original_commit_id":"a218e1e5d5a76673dedac07a7293b06258133463","user":{"login":"joshfriend","id":885137,"avatar_url":"https://avatars.githubusercontent.com/u/885137?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfriend","html_url":"https://github.com/joshfriend","followers_url":"https://api.github.com/users/joshfriend/followers","following_url":"https://api.github.com/users/joshfriend/following{/other_user}","gists_url":"https://api.github.com/users/joshfriend/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfriend/subscriptions","organizations_url":"https://api.github.com/users/joshfriend/orgs","repos_url":"https://api.github.com/users/joshfriend/repos","events_url":"https://api.github.com/users/joshfriend/events{/privacy}","received_events_url":"https://api.github.com/users/joshfriend/received_events","type":"User","site_admin":false},"body":"Try:\r\n\r\n```rst\r\nYou can have a flat structure that :meth:`~flask.ext.restful.marshal` will transform to a nested structure\r\n```\r\n\r\nIncludes a link to the function that way.","created_at":"2015-02-26T04:45:01Z","updated_at":"2015-02-26T04:45:01Z","html_url":"https://github.com/flask-restful/flask-restful/pull/404#discussion_r25404540","pull_request_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404","_links":{"self":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments/25404540"},"html":{"href":"https://github.com/flask-restful/flask-restful/pull/404#discussion_r25404540"},"pull_request":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404"}}},"pull_request":{"url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404","id":30049593,"html_url":"https://github.com/flask-restful/flask-restful/pull/404","diff_url":"https://github.com/flask-restful/flask-restful/pull/404.diff","patch_url":"https://github.com/flask-restful/flask-restful/pull/404.patch","issue_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/404","number":404,"state":"open","locked":false,"title":"Some doc fixes for Flask-Restful","user":{"login":"ueg1990","id":3393794,"avatar_url":"https://avatars.githubusercontent.com/u/3393794?v=3","gravatar_id":"","url":"https://api.github.com/users/ueg1990","html_url":"https://github.com/ueg1990","followers_url":"https://api.github.com/users/ueg1990/followers","following_url":"https://api.github.com/users/ueg1990/following{/other_user}","gists_url":"https://api.github.com/users/ueg1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ueg1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueg1990/subscriptions","organizations_url":"https://api.github.com/users/ueg1990/orgs","repos_url":"https://api.github.com/users/ueg1990/repos","events_url":"https://api.github.com/users/ueg1990/events{/privacy}","received_events_url":"https://api.github.com/users/ueg1990/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-26T04:14:04Z","updated_at":"2015-02-26T04:45:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89580c587c79a90a3ed5e9fec54e7cac6fd62d1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404/commits","review_comments_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404/comments","review_comment_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/404/comments","statuses_url":"https://api.github.com/repos/flask-restful/flask-restful/statuses/a218e1e5d5a76673dedac07a7293b06258133463","head":{"label":"ueg1990:doc-fixes","ref":"doc-fixes","sha":"a218e1e5d5a76673dedac07a7293b06258133463","user":{"login":"ueg1990","id":3393794,"avatar_url":"https://avatars.githubusercontent.com/u/3393794?v=3","gravatar_id":"","url":"https://api.github.com/users/ueg1990","html_url":"https://github.com/ueg1990","followers_url":"https://api.github.com/users/ueg1990/followers","following_url":"https://api.github.com/users/ueg1990/following{/other_user}","gists_url":"https://api.github.com/users/ueg1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ueg1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueg1990/subscriptions","organizations_url":"https://api.github.com/users/ueg1990/orgs","repos_url":"https://api.github.com/users/ueg1990/repos","events_url":"https://api.github.com/users/ueg1990/events{/privacy}","received_events_url":"https://api.github.com/users/ueg1990/received_events","type":"User","site_admin":false},"repo":{"id":31344009,"name":"flask-restful","full_name":"ueg1990/flask-restful","owner":{"login":"ueg1990","id":3393794,"avatar_url":"https://avatars.githubusercontent.com/u/3393794?v=3","gravatar_id":"","url":"https://api.github.com/users/ueg1990","html_url":"https://github.com/ueg1990","followers_url":"https://api.github.com/users/ueg1990/followers","following_url":"https://api.github.com/users/ueg1990/following{/other_user}","gists_url":"https://api.github.com/users/ueg1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ueg1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueg1990/subscriptions","organizations_url":"https://api.github.com/users/ueg1990/orgs","repos_url":"https://api.github.com/users/ueg1990/repos","events_url":"https://api.github.com/users/ueg1990/events{/privacy}","received_events_url":"https://api.github.com/users/ueg1990/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ueg1990/flask-restful","description":"Simple framework for creating REST APIs","fork":true,"url":"https://api.github.com/repos/ueg1990/flask-restful","forks_url":"https://api.github.com/repos/ueg1990/flask-restful/forks","keys_url":"https://api.github.com/repos/ueg1990/flask-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ueg1990/flask-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ueg1990/flask-restful/teams","hooks_url":"https://api.github.com/repos/ueg1990/flask-restful/hooks","issue_events_url":"https://api.github.com/repos/ueg1990/flask-restful/issues/events{/number}","events_url":"https://api.github.com/repos/ueg1990/flask-restful/events","assignees_url":"https://api.github.com/repos/ueg1990/flask-restful/assignees{/user}","branches_url":"https://api.github.com/repos/ueg1990/flask-restful/branches{/branch}","tags_url":"https://api.github.com/repos/ueg1990/flask-restful/tags","blobs_url":"https://api.github.com/repos/ueg1990/flask-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ueg1990/flask-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ueg1990/flask-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/ueg1990/flask-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ueg1990/flask-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/ueg1990/flask-restful/languages","stargazers_url":"https://api.github.com/repos/ueg1990/flask-restful/stargazers","contributors_url":"https://api.github.com/repos/ueg1990/flask-restful/contributors","subscribers_url":"https://api.github.com/repos/ueg1990/flask-restful/subscribers","subscription_url":"https://api.github.com/repos/ueg1990/flask-restful/subscription","commits_url":"https://api.github.com/repos/ueg1990/flask-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/ueg1990/flask-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/ueg1990/flask-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/ueg1990/flask-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/ueg1990/flask-restful/contents/{+path}","compare_url":"https://api.github.com/repos/ueg1990/flask-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ueg1990/flask-restful/merges","archive_url":"https://api.github.com/repos/ueg1990/flask-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ueg1990/flask-restful/downloads","issues_url":"https://api.github.com/repos/ueg1990/flask-restful/issues{/number}","pulls_url":"https://api.github.com/repos/ueg1990/flask-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/ueg1990/flask-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/ueg1990/flask-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ueg1990/flask-restful/labels{/name}","releases_url":"https://api.github.com/repos/ueg1990/flask-restful/releases{/id}","created_at":"2015-02-26T00:59:42Z","updated_at":"2015-02-26T04:19:11Z","pushed_at":"2015-02-26T04:19:10Z","git_url":"git://github.com/ueg1990/flask-restful.git","ssh_url":"git@github.com:ueg1990/flask-restful.git","clone_url":"https://github.com/ueg1990/flask-restful.git","svn_url":"https://github.com/ueg1990/flask-restful","homepage":"http://flask-restful.readthedocs.org","size":3076,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"flask-restful:master","ref":"master","sha":"9a62ad74ac12a82f3cf7ba7582bd901d8820b738","user":{"login":"flask-restful","id":9747573,"avatar_url":"https://avatars.githubusercontent.com/u/9747573?v=3","gravatar_id":"","url":"https://api.github.com/users/flask-restful","html_url":"https://github.com/flask-restful","followers_url":"https://api.github.com/users/flask-restful/followers","following_url":"https://api.github.com/users/flask-restful/following{/other_user}","gists_url":"https://api.github.com/users/flask-restful/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-restful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-restful/subscriptions","organizations_url":"https://api.github.com/users/flask-restful/orgs","repos_url":"https://api.github.com/users/flask-restful/repos","events_url":"https://api.github.com/users/flask-restful/events{/privacy}","received_events_url":"https://api.github.com/users/flask-restful/received_events","type":"Organization","site_admin":false},"repo":{"id":6182775,"name":"flask-restful","full_name":"flask-restful/flask-restful","owner":{"login":"flask-restful","id":9747573,"avatar_url":"https://avatars.githubusercontent.com/u/9747573?v=3","gravatar_id":"","url":"https://api.github.com/users/flask-restful","html_url":"https://github.com/flask-restful","followers_url":"https://api.github.com/users/flask-restful/followers","following_url":"https://api.github.com/users/flask-restful/following{/other_user}","gists_url":"https://api.github.com/users/flask-restful/gists{/gist_id}","starred_url":"https://api.github.com/users/flask-restful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flask-restful/subscriptions","organizations_url":"https://api.github.com/users/flask-restful/orgs","repos_url":"https://api.github.com/users/flask-restful/repos","events_url":"https://api.github.com/users/flask-restful/events{/privacy}","received_events_url":"https://api.github.com/users/flask-restful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flask-restful/flask-restful","description":"Simple framework for creating REST APIs","fork":false,"url":"https://api.github.com/repos/flask-restful/flask-restful","forks_url":"https://api.github.com/repos/flask-restful/flask-restful/forks","keys_url":"https://api.github.com/repos/flask-restful/flask-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flask-restful/flask-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flask-restful/flask-restful/teams","hooks_url":"https://api.github.com/repos/flask-restful/flask-restful/hooks","issue_events_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/events{/number}","events_url":"https://api.github.com/repos/flask-restful/flask-restful/events","assignees_url":"https://api.github.com/repos/flask-restful/flask-restful/assignees{/user}","branches_url":"https://api.github.com/repos/flask-restful/flask-restful/branches{/branch}","tags_url":"https://api.github.com/repos/flask-restful/flask-restful/tags","blobs_url":"https://api.github.com/repos/flask-restful/flask-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flask-restful/flask-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flask-restful/flask-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/flask-restful/flask-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flask-restful/flask-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/flask-restful/flask-restful/languages","stargazers_url":"https://api.github.com/repos/flask-restful/flask-restful/stargazers","contributors_url":"https://api.github.com/repos/flask-restful/flask-restful/contributors","subscribers_url":"https://api.github.com/repos/flask-restful/flask-restful/subscribers","subscription_url":"https://api.github.com/repos/flask-restful/flask-restful/subscription","commits_url":"https://api.github.com/repos/flask-restful/flask-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/flask-restful/flask-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/flask-restful/flask-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/flask-restful/flask-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/flask-restful/flask-restful/contents/{+path}","compare_url":"https://api.github.com/repos/flask-restful/flask-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flask-restful/flask-restful/merges","archive_url":"https://api.github.com/repos/flask-restful/flask-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flask-restful/flask-restful/downloads","issues_url":"https://api.github.com/repos/flask-restful/flask-restful/issues{/number}","pulls_url":"https://api.github.com/repos/flask-restful/flask-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/flask-restful/flask-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/flask-restful/flask-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flask-restful/flask-restful/labels{/name}","releases_url":"https://api.github.com/repos/flask-restful/flask-restful/releases{/id}","created_at":"2012-10-12T00:08:51Z","updated_at":"2015-02-26T04:17:45Z","pushed_at":"2015-02-26T04:18:08Z","git_url":"git://github.com/flask-restful/flask-restful.git","ssh_url":"git@github.com:flask-restful/flask-restful.git","clone_url":"https://github.com/flask-restful/flask-restful.git","svn_url":"https://github.com/flask-restful/flask-restful","homepage":"http://flask-restful.readthedocs.org","size":3076,"stargazers_count":1211,"watchers_count":1211,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":252,"mirror_url":null,"open_issues_count":25,"forks":252,"open_issues":25,"watchers":1211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404"},"html":{"href":"https://github.com/flask-restful/flask-restful/pull/404"},"issue":{"href":"https://api.github.com/repos/flask-restful/flask-restful/issues/404"},"comments":{"href":"https://api.github.com/repos/flask-restful/flask-restful/issues/404/comments"},"review_comments":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404/comments"},"review_comment":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flask-restful/flask-restful/pulls/404/commits"},"statuses":{"href":"https://api.github.com/repos/flask-restful/flask-restful/statuses/a218e1e5d5a76673dedac07a7293b06258133463"}}}}