{"action":"created","comment":{"url":"https://api.github.com/repos/contentful/slash-developers/pulls/comments/73137380","id":73137380,"diff_hunk":"@@ -0,0 +1,315 @@\n+---\n+page: :docsGettingStartedRubyCMA\n+---\n+\n+This post will walk you through your first steps in using [Contentful Management API][0]\n+within your Ruby applications.\n+We will provide simple steps to create and edit your resources and start using them.\n+For that, we'll be building a simple blog system with posts, authors, assets and categories\n+linked to the posts. Of course, the Contentful platform is capable of managing any content model\n+you can dream up, blogs are just an easy to understand example.\n+\n+## Creating a Blog space\n+\n+Let's start with mapping out the type of items we need to publish a blog.\n+A cursory glance will reveal that a standard blog post contains the following fields:\n+\n+* Title\n+* Author\n+* Body\n+* Category\n+* Tags\n+\n+In order to keep things manageable, we will create separate content types for author and category entries.\n+Categories are simple, each blog category has two fields:\n+\n+* Name\n+* Description\n+\n+And each author entry will have the following fields:\n+\n+* Name\n+* Bio\n+* Profile picture\n+* URL\n+\n+{: .note}\n+It is always a good idea to plan ahead when designing the model for your content types,\n+since changing it after creating entries can be a lot of work.","path":"docs/ruby/tutorials/getting-started-with-contentful-cma-and-ruby.md","position":38,"original_position":38,"commit_id":"51f928249f2a4cfe3dd3e12a7184cb70706270c6","original_commit_id":"51f928249f2a4cfe3dd3e12a7184cb70706270c6","user":{"login":"realityking","id":628508,"avatar_url":"https://avatars.githubusercontent.com/u/628508?v=3","gravatar_id":"","url":"https://api.github.com/users/realityking","html_url":"https://github.com/realityking","followers_url":"https://api.github.com/users/realityking/followers","following_url":"https://api.github.com/users/realityking/following{/other_user}","gists_url":"https://api.github.com/users/realityking/gists{/gist_id}","starred_url":"https://api.github.com/users/realityking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realityking/subscriptions","organizations_url":"https://api.github.com/users/realityking/orgs","repos_url":"https://api.github.com/users/realityking/repos","events_url":"https://api.github.com/users/realityking/events{/privacy}","received_events_url":"https://api.github.com/users/realityking/received_events","type":"User","site_admin":false},"body":"'since' is unnecessary (but not an error)","created_at":"2016-08-02T11:20:17Z","updated_at":"2016-08-02T11:20:17Z","html_url":"https://github.com/contentful/slash-developers/pull/327#discussion_r73137380","pull_request_url":"https://api.github.com/repos/contentful/slash-developers/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/comments/73137380"},"html":{"href":"https://github.com/contentful/slash-developers/pull/327#discussion_r73137380"},"pull_request":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/contentful/slash-developers/pulls/327","id":79717005,"html_url":"https://github.com/contentful/slash-developers/pull/327","diff_url":"https://github.com/contentful/slash-developers/pull/327.diff","patch_url":"https://github.com/contentful/slash-developers/pull/327.patch","issue_url":"https://api.github.com/repos/contentful/slash-developers/issues/327","number":327,"state":"open","locked":false,"title":"Add Ruby Getting Started with CMA","user":{"login":"dlitvakb","id":1032706,"avatar_url":"https://avatars.githubusercontent.com/u/1032706?v=3","gravatar_id":"","url":"https://api.github.com/users/dlitvakb","html_url":"https://github.com/dlitvakb","followers_url":"https://api.github.com/users/dlitvakb/followers","following_url":"https://api.github.com/users/dlitvakb/following{/other_user}","gists_url":"https://api.github.com/users/dlitvakb/gists{/gist_id}","starred_url":"https://api.github.com/users/dlitvakb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlitvakb/subscriptions","organizations_url":"https://api.github.com/users/dlitvakb/orgs","repos_url":"https://api.github.com/users/dlitvakb/repos","events_url":"https://api.github.com/users/dlitvakb/events{/privacy}","received_events_url":"https://api.github.com/users/dlitvakb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-02T11:13:01Z","updated_at":"2016-08-02T11:20:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be520e9cac381bff69ca93ea5cc08e1baf314a99","assignee":{"login":"realityking","id":628508,"avatar_url":"https://avatars.githubusercontent.com/u/628508?v=3","gravatar_id":"","url":"https://api.github.com/users/realityking","html_url":"https://github.com/realityking","followers_url":"https://api.github.com/users/realityking/followers","following_url":"https://api.github.com/users/realityking/following{/other_user}","gists_url":"https://api.github.com/users/realityking/gists{/gist_id}","starred_url":"https://api.github.com/users/realityking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realityking/subscriptions","organizations_url":"https://api.github.com/users/realityking/orgs","repos_url":"https://api.github.com/users/realityking/repos","events_url":"https://api.github.com/users/realityking/events{/privacy}","received_events_url":"https://api.github.com/users/realityking/received_events","type":"User","site_admin":false},"assignees":[{"login":"realityking","id":628508,"avatar_url":"https://avatars.githubusercontent.com/u/628508?v=3","gravatar_id":"","url":"https://api.github.com/users/realityking","html_url":"https://github.com/realityking","followers_url":"https://api.github.com/users/realityking/followers","following_url":"https://api.github.com/users/realityking/following{/other_user}","gists_url":"https://api.github.com/users/realityking/gists{/gist_id}","starred_url":"https://api.github.com/users/realityking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realityking/subscriptions","organizations_url":"https://api.github.com/users/realityking/orgs","repos_url":"https://api.github.com/users/realityking/repos","events_url":"https://api.github.com/users/realityking/events{/privacy}","received_events_url":"https://api.github.com/users/realityking/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/contentful/slash-developers/pulls/327/commits","review_comments_url":"https://api.github.com/repos/contentful/slash-developers/pulls/327/comments","review_comment_url":"https://api.github.com/repos/contentful/slash-developers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contentful/slash-developers/issues/327/comments","statuses_url":"https://api.github.com/repos/contentful/slash-developers/statuses/51f928249f2a4cfe3dd3e12a7184cb70706270c6","head":{"label":"contentful:dl/ruby-getting-started-with-cma","ref":"dl/ruby-getting-started-with-cma","sha":"51f928249f2a4cfe3dd3e12a7184cb70706270c6","user":{"login":"contentful","id":472182,"avatar_url":"https://avatars.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":30588199,"name":"slash-developers","full_name":"contentful/slash-developers","owner":{"login":"contentful","id":472182,"avatar_url":"https://avatars.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contentful/slash-developers","description":"Contentful Developer center content","fork":false,"url":"https://api.github.com/repos/contentful/slash-developers","forks_url":"https://api.github.com/repos/contentful/slash-developers/forks","keys_url":"https://api.github.com/repos/contentful/slash-developers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/slash-developers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/slash-developers/teams","hooks_url":"https://api.github.com/repos/contentful/slash-developers/hooks","issue_events_url":"https://api.github.com/repos/contentful/slash-developers/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/slash-developers/events","assignees_url":"https://api.github.com/repos/contentful/slash-developers/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/slash-developers/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/slash-developers/tags","blobs_url":"https://api.github.com/repos/contentful/slash-developers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/slash-developers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/slash-developers/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/slash-developers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/slash-developers/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/slash-developers/languages","stargazers_url":"https://api.github.com/repos/contentful/slash-developers/stargazers","contributors_url":"https://api.github.com/repos/contentful/slash-developers/contributors","subscribers_url":"https://api.github.com/repos/contentful/slash-developers/subscribers","subscription_url":"https://api.github.com/repos/contentful/slash-developers/subscription","commits_url":"https://api.github.com/repos/contentful/slash-developers/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/slash-developers/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/slash-developers/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/slash-developers/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/slash-developers/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/slash-developers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/slash-developers/merges","archive_url":"https://api.github.com/repos/contentful/slash-developers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/slash-developers/downloads","issues_url":"https://api.github.com/repos/contentful/slash-developers/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/slash-developers/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/slash-developers/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/slash-developers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/slash-developers/labels{/name}","releases_url":"https://api.github.com/repos/contentful/slash-developers/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/slash-developers/deployments","created_at":"2015-02-10T11:01:59Z","updated_at":"2016-05-24T18:37:04Z","pushed_at":"2016-08-02T11:13:01Z","git_url":"git://github.com/contentful/slash-developers.git","ssh_url":"git@github.com:contentful/slash-developers.git","clone_url":"https://github.com/contentful/slash-developers.git","svn_url":"https://github.com/contentful/slash-developers","homepage":"http://www.contentful.com/developers/docs","size":1950,"stargazers_count":9,"watchers_count":9,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":22,"forks":6,"open_issues":22,"watchers":9,"default_branch":"master"}},"base":{"label":"contentful:master","ref":"master","sha":"c1acae4fda8598825c8a192e198385f6c8daa41d","user":{"login":"contentful","id":472182,"avatar_url":"https://avatars.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"repo":{"id":30588199,"name":"slash-developers","full_name":"contentful/slash-developers","owner":{"login":"contentful","id":472182,"avatar_url":"https://avatars.githubusercontent.com/u/472182?v=3","gravatar_id":"","url":"https://api.github.com/users/contentful","html_url":"https://github.com/contentful","followers_url":"https://api.github.com/users/contentful/followers","following_url":"https://api.github.com/users/contentful/following{/other_user}","gists_url":"https://api.github.com/users/contentful/gists{/gist_id}","starred_url":"https://api.github.com/users/contentful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contentful/subscriptions","organizations_url":"https://api.github.com/users/contentful/orgs","repos_url":"https://api.github.com/users/contentful/repos","events_url":"https://api.github.com/users/contentful/events{/privacy}","received_events_url":"https://api.github.com/users/contentful/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contentful/slash-developers","description":"Contentful Developer center content","fork":false,"url":"https://api.github.com/repos/contentful/slash-developers","forks_url":"https://api.github.com/repos/contentful/slash-developers/forks","keys_url":"https://api.github.com/repos/contentful/slash-developers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contentful/slash-developers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contentful/slash-developers/teams","hooks_url":"https://api.github.com/repos/contentful/slash-developers/hooks","issue_events_url":"https://api.github.com/repos/contentful/slash-developers/issues/events{/number}","events_url":"https://api.github.com/repos/contentful/slash-developers/events","assignees_url":"https://api.github.com/repos/contentful/slash-developers/assignees{/user}","branches_url":"https://api.github.com/repos/contentful/slash-developers/branches{/branch}","tags_url":"https://api.github.com/repos/contentful/slash-developers/tags","blobs_url":"https://api.github.com/repos/contentful/slash-developers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contentful/slash-developers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contentful/slash-developers/git/refs{/sha}","trees_url":"https://api.github.com/repos/contentful/slash-developers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contentful/slash-developers/statuses/{sha}","languages_url":"https://api.github.com/repos/contentful/slash-developers/languages","stargazers_url":"https://api.github.com/repos/contentful/slash-developers/stargazers","contributors_url":"https://api.github.com/repos/contentful/slash-developers/contributors","subscribers_url":"https://api.github.com/repos/contentful/slash-developers/subscribers","subscription_url":"https://api.github.com/repos/contentful/slash-developers/subscription","commits_url":"https://api.github.com/repos/contentful/slash-developers/commits{/sha}","git_commits_url":"https://api.github.com/repos/contentful/slash-developers/git/commits{/sha}","comments_url":"https://api.github.com/repos/contentful/slash-developers/comments{/number}","issue_comment_url":"https://api.github.com/repos/contentful/slash-developers/issues/comments{/number}","contents_url":"https://api.github.com/repos/contentful/slash-developers/contents/{+path}","compare_url":"https://api.github.com/repos/contentful/slash-developers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contentful/slash-developers/merges","archive_url":"https://api.github.com/repos/contentful/slash-developers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contentful/slash-developers/downloads","issues_url":"https://api.github.com/repos/contentful/slash-developers/issues{/number}","pulls_url":"https://api.github.com/repos/contentful/slash-developers/pulls{/number}","milestones_url":"https://api.github.com/repos/contentful/slash-developers/milestones{/number}","notifications_url":"https://api.github.com/repos/contentful/slash-developers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contentful/slash-developers/labels{/name}","releases_url":"https://api.github.com/repos/contentful/slash-developers/releases{/id}","deployments_url":"https://api.github.com/repos/contentful/slash-developers/deployments","created_at":"2015-02-10T11:01:59Z","updated_at":"2016-05-24T18:37:04Z","pushed_at":"2016-08-02T11:13:01Z","git_url":"git://github.com/contentful/slash-developers.git","ssh_url":"git@github.com:contentful/slash-developers.git","clone_url":"https://github.com/contentful/slash-developers.git","svn_url":"https://github.com/contentful/slash-developers","homepage":"http://www.contentful.com/developers/docs","size":1950,"stargazers_count":9,"watchers_count":9,"language":"API Blueprint","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":22,"forks":6,"open_issues":22,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/327"},"html":{"href":"https://github.com/contentful/slash-developers/pull/327"},"issue":{"href":"https://api.github.com/repos/contentful/slash-developers/issues/327"},"comments":{"href":"https://api.github.com/repos/contentful/slash-developers/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contentful/slash-developers/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/contentful/slash-developers/statuses/51f928249f2a4cfe3dd3e12a7184cb70706270c6"}}}}
{"actor":{"display_login":"realityking"}}