{"action":"created","comment":{"url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/comments/193554275","pull_request_review_id":126549337,"id":193554275,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzU1NDI3NQ==","diff_hunk":"@@ -299,34 +338,144 @@ Retrieving a single page returns a [PageResponse&lt;T&gt;](#page-response-class)\n | ---|---|\n |[PagesObjectMismatchException](#pagesobjectmismatchexception)|This exception will be thrown when the library can't fit the returned data into the passed object class. |\n \n-#### Examples:\n+#### Examples\n+\n+##### Controller and ViewModel examples\n+\n ```C#\n-PageResponse<ProductPage> saleOfTheDayPage = butterClient.RetrievePage<ProductPage>(\"products\", \"saleoftheday\");\n \n-var paramterDict = new Dictionary<string, string>() \n+public namespace HungryDevApp\n {\n-    {\"preview\", \"1\"},\n-};\n-PageResponse<ExamplePage> stuffedArtichokesPage = await butterClient.RetrievePageAsync<ExamplePage>(\"recipes\", \"stuffed-artichokes\", paramterDict);\n+    public class RecipesController : Controller\n+    {\n+        [Route(recipe/{slug})]\n+        public virtual ActionResult Index(string slug)\n+        {\n+            var butterClient = new ButterCMSClient(\"API KEY\");\n+\n+            PageResponse<ProductPage> recipe = butterClient.RetrievePage<ProductPage>(\"recipe\", slug);","path":"README.md","position":366,"original_position":366,"commit_id":"ab31221bf5171533e54ca9d4a844974da71688df","original_commit_id":"ab31221bf5171533e54ca9d4a844974da71688df","user":{"login":"jakelumetta","id":160873,"node_id":"MDQ6VXNlcjE2MDg3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/160873?v=4","gravatar_id":"","url":"https://api.github.com/users/jakelumetta","html_url":"https://github.com/jakelumetta","followers_url":"https://api.github.com/users/jakelumetta/followers","following_url":"https://api.github.com/users/jakelumetta/following{/other_user}","gists_url":"https://api.github.com/users/jakelumetta/gists{/gist_id}","starred_url":"https://api.github.com/users/jakelumetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakelumetta/subscriptions","organizations_url":"https://api.github.com/users/jakelumetta/orgs","repos_url":"https://api.github.com/users/jakelumetta/repos","events_url":"https://api.github.com/users/jakelumetta/events{/privacy}","received_events_url":"https://api.github.com/users/jakelumetta/received_events","type":"User","site_admin":false},"body":"Should ProductPage be RecipePage?","created_at":"2018-06-06T20:49:07Z","updated_at":"2018-06-06T20:49:08Z","html_url":"https://github.com/ButterCMS/buttercms-csharp/pull/16#discussion_r193554275","pull_request_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/comments/193554275"},"html":{"href":"https://github.com/ButterCMS/buttercms-csharp/pull/16#discussion_r193554275"},"pull_request":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16","id":192871191,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODcxMTkx","html_url":"https://github.com/ButterCMS/buttercms-csharp/pull/16","diff_url":"https://github.com/ButterCMS/buttercms-csharp/pull/16.diff","patch_url":"https://github.com/ButterCMS/buttercms-csharp/pull/16.patch","issue_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/16","number":16,"state":"open","locked":false,"title":"Expanding Pages examples. ","user":{"login":"bgnicoll","id":4998422,"node_id":"MDQ6VXNlcjQ5OTg0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4998422?v=4","gravatar_id":"","url":"https://api.github.com/users/bgnicoll","html_url":"https://github.com/bgnicoll","followers_url":"https://api.github.com/users/bgnicoll/followers","following_url":"https://api.github.com/users/bgnicoll/following{/other_user}","gists_url":"https://api.github.com/users/bgnicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/bgnicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgnicoll/subscriptions","organizations_url":"https://api.github.com/users/bgnicoll/orgs","repos_url":"https://api.github.com/users/bgnicoll/repos","events_url":"https://api.github.com/users/bgnicoll/events{/privacy}","received_events_url":"https://api.github.com/users/bgnicoll/received_events","type":"User","site_admin":false},"body":"This commit adds more comprehensive and real-world examples for consuming custom Page Types with the library. It also cleans up much of the Markdown to in spec with GitHub Flavored Markdown. https://github.github.com/gfm/","created_at":"2018-06-06T00:31:05Z","updated_at":"2018-06-06T20:49:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20dc129be5249d6396823432b4ffbd33da8cf787","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/16/comments","statuses_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/statuses/ab31221bf5171533e54ca9d4a844974da71688df","head":{"label":"bgnicoll:master","ref":"master","sha":"ab31221bf5171533e54ca9d4a844974da71688df","user":{"login":"bgnicoll","id":4998422,"node_id":"MDQ6VXNlcjQ5OTg0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4998422?v=4","gravatar_id":"","url":"https://api.github.com/users/bgnicoll","html_url":"https://github.com/bgnicoll","followers_url":"https://api.github.com/users/bgnicoll/followers","following_url":"https://api.github.com/users/bgnicoll/following{/other_user}","gists_url":"https://api.github.com/users/bgnicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/bgnicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgnicoll/subscriptions","organizations_url":"https://api.github.com/users/bgnicoll/orgs","repos_url":"https://api.github.com/users/bgnicoll/repos","events_url":"https://api.github.com/users/bgnicoll/events{/privacy}","received_events_url":"https://api.github.com/users/bgnicoll/received_events","type":"User","site_admin":false},"repo":{"id":70531957,"node_id":"MDEwOlJlcG9zaXRvcnk3MDUzMTk1Nw==","name":"buttercms-csharp","full_name":"bgnicoll/buttercms-csharp","owner":{"login":"bgnicoll","id":4998422,"node_id":"MDQ6VXNlcjQ5OTg0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4998422?v=4","gravatar_id":"","url":"https://api.github.com/users/bgnicoll","html_url":"https://github.com/bgnicoll","followers_url":"https://api.github.com/users/bgnicoll/followers","following_url":"https://api.github.com/users/bgnicoll/following{/other_user}","gists_url":"https://api.github.com/users/bgnicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/bgnicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgnicoll/subscriptions","organizations_url":"https://api.github.com/users/bgnicoll/orgs","repos_url":"https://api.github.com/users/bgnicoll/repos","events_url":"https://api.github.com/users/bgnicoll/events{/privacy}","received_events_url":"https://api.github.com/users/bgnicoll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bgnicoll/buttercms-csharp","description":"Butter is an API-first CMS and blogging platform loved by engineers https://buttercms.com ","fork":true,"url":"https://api.github.com/repos/bgnicoll/buttercms-csharp","forks_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/forks","keys_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/teams","hooks_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/hooks","issue_events_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/events","assignees_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/tags","blobs_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/languages","stargazers_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/stargazers","contributors_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/contributors","subscribers_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/subscribers","subscription_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/subscription","commits_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/merges","archive_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/downloads","issues_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/labels{/name}","releases_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/bgnicoll/buttercms-csharp/deployments","created_at":"2016-10-10T21:53:35Z","updated_at":"2018-06-05T21:29:53Z","pushed_at":"2018-06-05T21:29:51Z","git_url":"git://github.com/bgnicoll/buttercms-csharp.git","ssh_url":"git@github.com:bgnicoll/buttercms-csharp.git","clone_url":"https://github.com/bgnicoll/buttercms-csharp.git","svn_url":"https://github.com/bgnicoll/buttercms-csharp","homepage":null,"size":54,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ButterCMS:master","ref":"master","sha":"7f77b2d8b39cc6f4698f25eccbae973a8d60efdc","user":{"login":"ButterCMS","id":16144259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTQ0MjU5","avatar_url":"https://avatars3.githubusercontent.com/u/16144259?v=4","gravatar_id":"","url":"https://api.github.com/users/ButterCMS","html_url":"https://github.com/ButterCMS","followers_url":"https://api.github.com/users/ButterCMS/followers","following_url":"https://api.github.com/users/ButterCMS/following{/other_user}","gists_url":"https://api.github.com/users/ButterCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/ButterCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButterCMS/subscriptions","organizations_url":"https://api.github.com/users/ButterCMS/orgs","repos_url":"https://api.github.com/users/ButterCMS/repos","events_url":"https://api.github.com/users/ButterCMS/events{/privacy}","received_events_url":"https://api.github.com/users/ButterCMS/received_events","type":"Organization","site_admin":false},"repo":{"id":70172443,"node_id":"MDEwOlJlcG9zaXRvcnk3MDE3MjQ0Mw==","name":"buttercms-csharp","full_name":"ButterCMS/buttercms-csharp","owner":{"login":"ButterCMS","id":16144259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTQ0MjU5","avatar_url":"https://avatars3.githubusercontent.com/u/16144259?v=4","gravatar_id":"","url":"https://api.github.com/users/ButterCMS","html_url":"https://github.com/ButterCMS","followers_url":"https://api.github.com/users/ButterCMS/followers","following_url":"https://api.github.com/users/ButterCMS/following{/other_user}","gists_url":"https://api.github.com/users/ButterCMS/gists{/gist_id}","starred_url":"https://api.github.com/users/ButterCMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButterCMS/subscriptions","organizations_url":"https://api.github.com/users/ButterCMS/orgs","repos_url":"https://api.github.com/users/ButterCMS/repos","events_url":"https://api.github.com/users/ButterCMS/events{/privacy}","received_events_url":"https://api.github.com/users/ButterCMS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ButterCMS/buttercms-csharp","description":".NET API client for ButterCMS (https://buttercms.com)","fork":false,"url":"https://api.github.com/repos/ButterCMS/buttercms-csharp","forks_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/forks","keys_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/teams","hooks_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/hooks","issue_events_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/events","assignees_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/tags","blobs_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/languages","stargazers_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/stargazers","contributors_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/contributors","subscribers_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/subscribers","subscription_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/subscription","commits_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/merges","archive_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/downloads","issues_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/labels{/name}","releases_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/ButterCMS/buttercms-csharp/deployments","created_at":"2016-10-06T16:33:18Z","updated_at":"2018-05-14T18:53:15Z","pushed_at":"2018-06-06T00:31:06Z","git_url":"git://github.com/ButterCMS/buttercms-csharp.git","ssh_url":"git@github.com:ButterCMS/buttercms-csharp.git","clone_url":"https://github.com/ButterCMS/buttercms-csharp.git","svn_url":"https://github.com/ButterCMS/buttercms-csharp","homepage":"","size":50,"stargazers_count":7,"watchers_count":7,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16"},"html":{"href":"https://github.com/ButterCMS/buttercms-csharp/pull/16"},"issue":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/16"},"comments":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ButterCMS/buttercms-csharp/statuses/ab31221bf5171533e54ca9d4a844974da71688df"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jakelumetta"}}