SpyREST

Supported by Mashape

Home » api.github.com Versions » v3 Resources » pulls » GET /repos/rails/rails/pulls

GET /repos/rails/rails/pulls

Description

Query Parameters

Name Type Example Values Description
state String open

Response Fields

Name Type Description
Array
[].url String
[].id Integer
[].html_url String
[].diff_url String
[].patch_url String
[].issue_url String
[].number Integer
[].state String
[].locked Boolean
[].title String
[].user.login String
[].user.id Integer
[].user.avatar_url String
[].user.gravatar_id String
[].user.url String
[].user.html_url String
[].user.followers_url String
[].user.following_url String
[].user.gists_url String
[].user.starred_url String
[].user.subscriptions_url String
[].user.organizations_url String
[].user.repos_url String
[].user.events_url String
[].user.received_events_url String
[].user.type String
[].user.site_admin Boolean
[].body String
[].created_at String (Time ISO8601)
[].updated_at String (Time ISO8601)
[].closed_at
[].merged_at
[].merge_commit_sha String
[].assignee
[].milestone
[].commits_url String
[].review_comments_url String
[].review_comment_url String
[].comments_url String
[].statuses_url String
[].head.label String
[].head.ref String
[].head.sha String
[].head.user.login String
[].head.user.id Integer
[].head.user.avatar_url String
[].head.user.gravatar_id String
[].head.user.url String
[].head.user.html_url String
[].head.user.followers_url String
[].head.user.following_url String
[].head.user.gists_url String
[].head.user.starred_url String
[].head.user.subscriptions_url String
[].head.user.organizations_url String
[].head.user.repos_url String
[].head.user.events_url String
[].head.user.received_events_url String
[].head.user.type String
[].head.user.site_admin Boolean
[].head.repo.id Integer
[].head.repo.name String
[].head.repo.full_name String
[].head.repo.owner.login String
[].head.repo.owner.id Integer
[].head.repo.owner.avatar_url String
[].head.repo.owner.gravatar_id String
[].head.repo.owner.url String
[].head.repo.owner.html_url String
[].head.repo.owner.followers_url String
[].head.repo.owner.following_url String
[].head.repo.owner.gists_url String
[].head.repo.owner.starred_url String
[].head.repo.owner.subscriptions_url String
[].head.repo.owner.organizations_url String
[].head.repo.owner.repos_url String
[].head.repo.owner.events_url String
[].head.repo.owner.received_events_url String
[].head.repo.owner.type String
[].head.repo.owner.site_admin Boolean
[].head.repo.private Boolean
[].head.repo.html_url String
[].head.repo.description String
[].head.repo.fork Boolean
[].head.repo.url String
[].head.repo.forks_url String
[].head.repo.keys_url String
[].head.repo.collaborators_url String
[].head.repo.teams_url String
[].head.repo.hooks_url String
[].head.repo.issue_events_url String
[].head.repo.events_url String
[].head.repo.assignees_url String
[].head.repo.branches_url String
[].head.repo.tags_url String
[].head.repo.blobs_url String
[].head.repo.git_tags_url String
[].head.repo.git_refs_url String
[].head.repo.trees_url String
[].head.repo.statuses_url String
[].head.repo.languages_url String
[].head.repo.stargazers_url String
[].head.repo.contributors_url String
[].head.repo.subscribers_url String
[].head.repo.subscription_url String
[].head.repo.commits_url String
[].head.repo.git_commits_url String
[].head.repo.comments_url String
[].head.repo.issue_comment_url String
[].head.repo.contents_url String
[].head.repo.compare_url String
[].head.repo.merges_url String
[].head.repo.archive_url String
[].head.repo.downloads_url String
[].head.repo.issues_url String
[].head.repo.pulls_url String
[].head.repo.milestones_url String
[].head.repo.notifications_url String
[].head.repo.labels_url String
[].head.repo.releases_url String
[].head.repo.created_at String (Time ISO8601)
[].head.repo.updated_at String (Time ISO8601)
[].head.repo.pushed_at String (Time ISO8601)
[].head.repo.git_url String
[].head.repo.ssh_url String
[].head.repo.clone_url String
[].head.repo.svn_url String
[].head.repo.homepage String
[].head.repo.size Integer
[].head.repo.stargazers_count Integer
[].head.repo.watchers_count Integer
[].head.repo.language String
[].head.repo.has_issues Boolean
[].head.repo.has_downloads Boolean
[].head.repo.has_wiki Boolean
[].head.repo.has_pages Boolean
[].head.repo.forks_count Integer
[].head.repo.mirror_url
[].head.repo.open_issues_count Integer
[].head.repo.forks Integer
[].head.repo.open_issues Integer
[].head.repo.watchers Integer
[].head.repo.default_branch String
[].base.label String
[].base.ref String
[].base.sha String
[].base.user.login String
[].base.user.id Integer
[].base.user.avatar_url String
[].base.user.gravatar_id String
[].base.user.url String
[].base.user.html_url String
[].base.user.followers_url String
[].base.user.following_url String
[].base.user.gists_url String
[].base.user.starred_url String
[].base.user.subscriptions_url String
[].base.user.organizations_url String
[].base.user.repos_url String
[].base.user.events_url String
[].base.user.received_events_url String
[].base.user.type String
[].base.user.site_admin Boolean
[].base.repo.id Integer
[].base.repo.name String
[].base.repo.full_name String
[].base.repo.owner.login String
[].base.repo.owner.id Integer
[].base.repo.owner.avatar_url String
[].base.repo.owner.gravatar_id String
[].base.repo.owner.url String
[].base.repo.owner.html_url String
[].base.repo.owner.followers_url String
[].base.repo.owner.following_url String
[].base.repo.owner.gists_url String
[].base.repo.owner.starred_url String
[].base.repo.owner.subscriptions_url String
[].base.repo.owner.organizations_url String
[].base.repo.owner.repos_url String
[].base.repo.owner.events_url String
[].base.repo.owner.received_events_url String
[].base.repo.owner.type String
[].base.repo.owner.site_admin Boolean
[].base.repo.private Boolean
[].base.repo.html_url String
[].base.repo.description String
[].base.repo.fork Boolean
[].base.repo.url String
[].base.repo.forks_url String
[].base.repo.keys_url String
[].base.repo.collaborators_url String
[].base.repo.teams_url String
[].base.repo.hooks_url String
[].base.repo.issue_events_url String
[].base.repo.events_url String
[].base.repo.assignees_url String
[].base.repo.branches_url String
[].base.repo.tags_url String
[].base.repo.blobs_url String
[].base.repo.git_tags_url String
[].base.repo.git_refs_url String
[].base.repo.trees_url String
[].base.repo.statuses_url String
[].base.repo.languages_url String
[].base.repo.stargazers_url String
[].base.repo.contributors_url String
[].base.repo.subscribers_url String
[].base.repo.subscription_url String
[].base.repo.commits_url String
[].base.repo.git_commits_url String
[].base.repo.comments_url String
[].base.repo.issue_comment_url String
[].base.repo.contents_url String
[].base.repo.compare_url String
[].base.repo.merges_url String
[].base.repo.archive_url String
[].base.repo.downloads_url String
[].base.repo.issues_url String
[].base.repo.pulls_url String
[].base.repo.milestones_url String
[].base.repo.notifications_url String
[].base.repo.labels_url String
[].base.repo.releases_url String
[].base.repo.created_at String (Time ISO8601)
[].base.repo.updated_at String (Time ISO8601)
[].base.repo.pushed_at String (Time ISO8601)
[].base.repo.git_url String
[].base.repo.ssh_url String
[].base.repo.clone_url String
[].base.repo.svn_url String
[].base.repo.homepage String
[].base.repo.size Integer
[].base.repo.stargazers_count Integer
[].base.repo.watchers_count Integer
[].base.repo.language String
[].base.repo.has_issues Boolean
[].base.repo.has_downloads Boolean
[].base.repo.has_wiki Boolean
[].base.repo.has_pages Boolean
[].base.repo.forks_count Integer
[].base.repo.mirror_url
[].base.repo.open_issues_count Integer
[].base.repo.forks Integer
[].base.repo.open_issues Integer
[].base.repo.watchers Integer
[].base.repo.default_branch String
[]._links.self.href String
[]._links.html.href String
[]._links.issue.href String
[]._links.comments.href String
[]._links.review_comments.href String
[]._links.review_comment.href String
[]._links.commits.href String
[]._links.statuses.href String
Write
Preview

Examples

Example 1
Filters by open states on;y

No description given

Recorded at

2015-07-30 18:09:03 UTC

Try with cURL

Request URL

GET /repos/rails/rails/pulls      

Request Headers

accept: application/vnd.github.v3+json
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
x-served-by: 318e55760cf7cdb40e61175a4d36cd32
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-github-request-id: 68EC8CA8:394A:6797868:55BA683E
access-control-allow-origin: *
access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
access-control-allow-credentials: true
content-security-policy: default-src 'none'
x-frame-options: deny
x-xss-protection: 1; mode=block
link: <https://api.github.com/repositories/8514/pulls?page=2>; rel="next", <https://api.github.com/repositories/8514/pulls?page=18>; rel="last"
x-github-media-type: github.v3; format=json
vary: Accept
etag: "e152907a55ec4c98bf546eccab44a9bb"
cache-control: public, max-age=60, s-maxage=60
x-ratelimit-reset: 1438283342
x-ratelimit-remaining: 59
x-ratelimit-limit: 60
status: 200 OK
connection: close
content-length: 495789
content-type: application/json; charset=utf-8
date: Thu, 30 Jul 2015 18:09:02 GMT
server: GitHub.com
      

Response Body

Shortened for readability

[
  {
    "url": "https://api.github.com/repos/rails/rails/pulls/21074",
    "id": 41244909,
    "html_url": "https://github.com/rails/rails/pull/21074",
    "diff_url": "https://github.com/rails/rails/pull/21074.diff",
    "patch_url": "https://github.com/rails/rails/pull/21074.patch",
    "issue_url": "https://api.github.com/repos/rails/rails/issues/21074",
    "number": 21074,
    "state": "open",
    "locked": false,
    "title": "RDoc: fix wrong model name `:inverse_of` with `:belongs_to` [ci skip]",
    "user": {
      "login": "vrybas",
      "id": 30538,
      "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/vrybas",
      "html_url": "https://github.com/vrybas",
      "followers_url": "https://api.github.com/users/vrybas/followers",
      "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
      "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
      "organizations_url": "https://api.github.com/users/vrybas/orgs",
      "repos_url": "https://api.github.com/users/vrybas/repos",
      "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
      "received_events_url": "https://api.github.com/users/vrybas/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "There's a typo in ActiveRecord associations RDocs.\r\nWrong `Taggable` model name, instead of `Tagging` in example of using\r\noption `:inverse_of` with `:belongs_to` association.\r\n\r\nCommit where typo was introduced:\r\nhttps://github.com/rails/rails/commit/91fd6510563f84ee473bb217bc63ed598abe3f24#diff-39001423802a8470dba9c931e66e101eR11\r\n\r\nFirst it appears in `activerecord/CHANGELOG` in example of `:inverse_of`\r\nusage:\r\n\r\n```ruby\r\n    class Post < ActiveRecord::Base\r\n      has_many :taggings\r\n      has_many :tags, :through => :taggings\r\n    end\r\n\r\n    class Tagging < ActiveRecord::Base\r\n      belongs_to :post\r\n      belongs_to :tag, :inverse_of => :tagging # :inverse_of must be set!\r\n    end\r\n\r\n    class Tag < ActiveRecord::Base\r\n      has_many :taggings\r\n      has_many :posts, :through => :taggings\r\n    end\r\n\r\n    post = Post.first\r\n    tag = post.tags.build :name => \"ruby\"\r\n!>  tag.save # will save a Taggable linking to the post\r\n```\r\n\r\nThe last line should be\r\n\r\n```ruby\r\n    tag.save # will save a Tagging linking to the post\r\n```\r\n\r\nThe same typo appears in\r\n`activerecord/lib/active_record/associations.rb`.\r\nThe association name is given as `:inverse_of => :taggings`, but class\r\nname is `Taggable`.\r\n\r\n```ruby\r\n    #   @post = Post.first\r\n    #   @tag = @post.tags.build :name => \"ruby\"\r\n    #   @tag.save\r\n    #\r\n!>  # The last line ought to save the through record (a <tt>Taggable</tt>). This will only work if the\r\n    # <tt>:inverse_of</tt> is set:\r\n    #\r\n!>  #   class Taggable < ActiveRecord::Base\r\n    #     belongs_to :post\r\n!>  #     belongs_to :tag, :inverse_of => :taggings\r\n    #   end\r\n```\r\n\r\nThis PR fixes model name.",
    "created_at": "2015-07-30T15:08:59Z",
    "updated_at": "2015-07-30T15:08:59Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "89b09fff2b96e16a20c02e7d96345587f44ff24e",
    "assignee": null,
    "milestone": null,
    "commits_url": "https://api.github.com/repos/rails/rails/pulls/21074/commits",
    "review_comments_url": "https://api.github.com/repos/rails/rails/pulls/21074/comments",
    "review_comment_url": "https://api.github.com/repos/rails/rails/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/rails/rails/issues/21074/comments",
    "statuses_url": "https://api.github.com/repos/rails/rails/statuses/4ec818d28c3984ec9d27c362fc8ff48af9335cde",
    "head": {
      "label": "vrybas:rdoc-fix-typo-belongs-to-inverse-of-class-name",
      "ref": "rdoc-fix-typo-belongs-to-inverse-of-class-name",
      "sha": "4ec818d28c3984ec9d27c362fc8ff48af9335cde",
      "user": {
        "login": "vrybas",
        "id": 30538,
        "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/vrybas",
        "html_url": "https://github.com/vrybas",
        "followers_url": "https://api.github.com/users/vrybas/followers",
        "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
        "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
        "organizations_url": "https://api.github.com/users/vrybas/orgs",
        "repos_url": "https://api.github.com/users/vrybas/repos",
        "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
        "received_events_url": "https://api.github.com/users/vrybas/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 38471817,
        "name": "rails",
        "full_name": "vrybas/rails",
        "owner": {
          "login": "vrybas",
          "id": 30538,
          "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/vrybas",
          "html_url": "https://github.com/vrybas",
          "followers_url": "https://api.github.com/users/vrybas/followers",
          "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
          "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
          "organizations_url": "https://api.github.com/users/vrybas/orgs",
          "repos_url": "https://api.github.com/users/vrybas/repos",
          "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
          "received_events_url": "https://api.github.com/users/vrybas/received_events",
          "type": "User",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/vrybas/rails",
        "description": "Ruby on Rails",
        "fork": true,
        "url": "https://api.github.com/repos/vrybas/rails",
        "forks_url": "https://api.github.com/repos/vrybas/rails/forks",
        "keys_url": "https://api.github.com/repos/vrybas/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/vrybas/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/vrybas/rails/teams",
        "hooks_url": "https://api.github.com/repos/vrybas/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/vrybas/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/vrybas/rails/events",
        "assignees_url": "https://api.github.com/repos/vrybas/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/vrybas/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/vrybas/rails/tags",
        "blobs_url": "https://api.github.com/repos/vrybas/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/vrybas/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/vrybas/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/vrybas/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/vrybas/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/vrybas/rails/languages",
        "stargazers_url": "https://api.github.com/repos/vrybas/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/vrybas/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/vrybas/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/vrybas/rails/subscription",
        "commits_url": "https://api.github.com/repos/vrybas/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/vrybas/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/vrybas/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/vrybas/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/vrybas/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/vrybas/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/vrybas/rails/merges",
        "archive_url": "https://api.github.com/repos/vrybas/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/vrybas/rails/downloads",
        "issues_url": "https://api.github.com/repos/vrybas/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/vrybas/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/vrybas/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/vrybas/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/vrybas/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/vrybas/rails/releases{/id}",
        "created_at": "2015-07-03T04:26:31Z",
        "updated_at": "2015-07-03T04:27:01Z",
        "pushed_at": "2015-07-30T15:06:30Z",
        "git_url": "git://github.com/vrybas/rails.git",
        "ssh_url": "git@github.com:vrybas/rails.git",
        "clone_url": "https://github.com/vrybas/rails.git",
        "svn_url": "https://github.com/vrybas/rails",
        "homepage": "http://rubyonrails.org",
        "size": 144477,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Ruby",
        "has_issues": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 1,
        "mirror_url": null,
        "open_issues_count": 0,
        "forks": 1,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "rails:master",
      "ref": "master",
      "sha": "70009e31005220ddacce0a27a2908858be268a0a",
      "user": {
        "login": "rails",
        "id": 4223,
        "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/rails",
        "html_url": "https://github.com/rails",
        "followers_url": "https://api.github.com/users/rails/followers",
        "following_url": "https://api.github.com/users/rails/following{/other_user}",
        "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
        "organizations_url": "https://api.github.com/users/rails/orgs",
        "repos_url": "https://api.github.com/users/rails/repos",
        "events_url": "https://api.github.com/users/rails/events{/privacy}",
        "received_events_url": "https://api.github.com/users/rails/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 8514,
        "name": "rails",
        "full_name": "rails/rails",
        "owner": {
          "login": "rails",
          "id": 4223,
          "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/rails",
          "html_url": "https://github.com/rails",
          "followers_url": "https://api.github.com/users/rails/followers",
          "following_url": "https://api.github.com/users/rails/following{/other_user}",
          "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
          "organizations_url": "https://api.github.com/users/rails/orgs",
          "repos_url": "https://api.github.com/users/rails/repos",
          "events_url": "https://api.github.com/users/rails/events{/privacy}",
          "received_events_url": "https://api.github.com/users/rails/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/rails/rails",
        "description": "Ruby on Rails",
        "fork": false,
        "url": "https://api.github.com/repos/rails/rails",
        "forks_url": "https://api.github.com/repos/rails/rails/forks",
        "keys_url": "https://api.github.com/repos/rails/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/rails/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/rails/rails/teams",
        "hooks_url": "https://api.github.com/repos/rails/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/rails/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/rails/rails/events",
        "assignees_url": "https://api.github.com/repos/rails/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/rails/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/rails/rails/tags",
        "blobs_url": "https://api.github.com/repos/rails/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/rails/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/rails/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/rails/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/rails/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/rails/rails/languages",
        "stargazers_url": "https://api.github.com/repos/rails/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/rails/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/rails/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/rails/rails/subscription",
        "commits_url": "https://api.github.com/repos/rails/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/rails/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/rails/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/rails/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/rails/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/rails/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/rails/rails/merges",
        "archive_url": "https://api.github.com/repos/rails/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/rails/rails/downloads",
        "issues_url": "https://api.github.com/repos/rails/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/rails/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/rails/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/rails/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/rails/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/rails/rails/releases{/id}",
        "created_at": "2008-04-11T02:19:47Z",
        "updated_at": "2015-07-30T17:44:39Z",
        "pushed_at": "2015-07-30T18:00:16Z",
        "git_url": "git://github.com/rails/rails.git",
        "ssh_url": "git@github.com:rails/rails.git",
        "clone_url": "https://github.com/rails/rails.git",
        "svn_url": "https://github.com/rails/rails",
        "homepage": "http://rubyonrails.org",
        "size": 438622,
        "stargazers_count": 27078,
        "watchers_count": 27078,
        "language": "Ruby",
        "has_issues": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 10858,
        "mirror_url": null,
        "open_issues_count": 890,
        "forks": 10858,
        "open_issues": 890,
        "watchers": 27078,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074"
      },
      "html": {
        "href": "https://github.com/rails/rails/pull/21074"
      },
      "issue": {
        "href": "https://api.github.com/repos/rails/rails/issues/21074"
      },
      "comments": {
        "href": "https://api.github.com/repos/rails/rails/issues/21074/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/rails/rails/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/rails/rails/statuses/4ec818d28c3984ec9d27c362fc8ff48af9335cde"
      }
    }
  },
  {
    "url": "https://api.github.com/repos/rails/rails/pulls/21069",
    "id": 41211500,
    "html_url": "https://github.com/rails/rails/pull/21069",
    "diff_url": "https://github.com/rails/rails/pull/21069.diff",
    "patch_url": "https://github.com/rails/rails/pull/21069.patch",
    "issue_url": "https://api.github.com/repos/rails/rails/issues/21069",
    "number": 21069,
    "state": "open",
    "locked": false,
    "title": "Validate multiple contexts on `valid?` and `invalid?` at once",
    "user": {
      "login": "dmitry",
      "id": 5091,
      "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/dmitry",
      "html_url": "https://github.com/dmitry",
      "followers_url": "https://api.github.com/users/dmitry/followers",
      "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
      "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
      "organizations_url": "https://api.github.com/users/dmitry/orgs",
      "repos_url": "https://api.github.com/users/dmitry/repos",
      "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
      "received_events_url": "https://api.github.com/users/dmitry/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "Lets say we have cascade of validations, when we should check more and more validations, after each step. As an example: `precreate` context should check everything in a create, but less 2 attributes (real word example).\r\n\r\nCurrently it's only possible to check validations one by one. This patch provides possibility to do all the checks at once.\r\n\r\nExample:\r\n\r\n```ruby\r\nclass Person\r\n  include ActiveModel::Validations\r\n\r\n  attr_reader :name, :title\r\n  validates_presence_of :name, on: :create\r\n  validates_presence_of :title, on: :update\r\nend\r\n\r\nperson = Person.new\r\nperson.valid?([:create, :update])    # => true\r\nperson.errors.messages               # => {:name=>[\"can't be blank\"], :title=>[\"can't be blank\"]}\r\n```",
    "created_at": "2015-07-30T09:00:07Z",
    "updated_at": "2015-07-30T09:11:11Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "30f1cb7a79499f6feca8ad729ea9553c69a7d0c4",
    "assignee": null,
    "milestone": null,
    "commits_url": "https://api.github.com/repos/rails/rails/pulls/21069/commits",
    "review_comments_url": "https://api.github.com/repos/rails/rails/pulls/21069/comments",
    "review_comment_url": "https://api.github.com/repos/rails/rails/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/rails/rails/issues/21069/comments",
    "statuses_url": "https://api.github.com/repos/rails/rails/statuses/86e3b047ba0349bd88952d4e54504327c3f7e59c",
    "head": {
      "label": "dmitry:feature/validate-multiple-contexts-at-once",
      "ref": "feature/validate-multiple-contexts-at-once",
      "sha": "86e3b047ba0349bd88952d4e54504327c3f7e59c",
      "user": {
        "login": "dmitry",
        "id": 5091,
        "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/dmitry",
        "html_url": "https://github.com/dmitry",
        "followers_url": "https://api.github.com/users/dmitry/followers",
        "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
        "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
        "organizations_url": "https://api.github.com/users/dmitry/orgs",
        "repos_url": "https://api.github.com/users/dmitry/repos",
        "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
        "received_events_url": "https://api.github.com/users/dmitry/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 8015277,
        "name": "rails",
        "full_name": "dmitry/rails",
        "owner": {
          "login": "dmitry",
          "id": 5091,
          "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/dmitry",
          "html_url": "https://github.com/dmitry",
          "followers_url": "https://api.github.com/users/dmitry/followers",
          "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
          "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
          "organizations_url": "https://api.github.com/users/dmitry/orgs",
          "repos_url": "https://api.github.com/users/dmitry/repos",
          "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
          "received_events_url": "https://api.github.com/users/dmitry/received_events",
          "type": "User",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/dmitry/rails",
        "description": "Ruby on Rails",
        "fork": true,
        "url": "https://api.github.com/repos/dmitry/rails",
        "forks_url": "https://api.github.com/repos/dmitry/rails/forks",
        "keys_url": "https://api.github.com/repos/dmitry/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/dmitry/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/dmitry/rails/teams",
        "hooks_url": "https://api.github.com/repos/dmitry/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/dmitry/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/dmitry/rails/events",
        "assignees_url": "https://api.github.com/repos/dmitry/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/dmitry/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/dmitry/rails/tags",
        "blobs_url": "https://api.github.com/repos/dmitry/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/dmitry/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/dmitry/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/dmitry/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/dmitry/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/dmitry/rails/languages",
        "stargazers_url": "https://api.github.com/repos/dmitry/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/dmitry/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/dmitry/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/dmitry/rails/subscription",
        "commits_url": "https://api.github.com/repos/dmitry/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/dmitry/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/dmitry/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/dmitry/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/dmitry/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/dmitry/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/dmitry/rails/merges",
        "archive_url": "https://api.github.com/repos/dmitry/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/dmitry/rails/downloads",
        "issues_url": "https://api.github.com/repos/dmitry/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/dmitry/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/dmitry/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/dmitry/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/dmitry/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/dmitry/rails/releases{/id}",
        "created_at": "2013-02-04T20:14:56Z",
        "updated_at": "2015-03-10T00:47:38Z",
        "pushed_at": "2015-07-30T09:05:54Z",
        "git_url": "git://github.com/dmitry/rails.git",
        "ssh_url": "git@github.com:dmitry/rails.git",
        "clone_url": "https://github.com/dmitry/rails.git",
        "svn_url": "https://github.com/dmitry/rails",
        "homepage": "http://rubyonrails.org",
        "size": 133503,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Ruby",
        "has_issues": false,
        "has_downloads": true,
        "has_wiki": false,
        "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": "rails:master",
      "ref": "master",
      "sha": "10e994cc07dbd4ff87db225f15850197a9c6bb18",
      "user": {
        "login": "rails",
        "id": 4223,
        "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/rails",
        "html_url": "https://github.com/rails",
        "followers_url": "https://api.github.com/users/rails/followers",
        "following_url": "https://api.github.com/users/rails/following{/other_user}",
        "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
        "organizations_url": "https://api.github.com/users/rails/orgs",
        "repos_url": "https://api.github.com/users/rails/repos",
        "events_url": "https://api.github.com/users/rails/events{/privacy}",
        "received_events_url": "https://api.github.com/users/rails/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 8514,
        "name": "rails",
        "full_name": "rails/rails",
        "owner": {
          "login": "rails",
          "id": 4223,
          "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/rails",
          "html_url": "https://github.com/rails",
          "followers_url": "https://api.github.com/users/rails/followers",
          "following_url": "https://api.github.com/users/rails/following{/other_user}",
          "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
          "organizations_url": "https://api.github.com/users/rails/orgs",
          "repos_url": "https://api.github.com/users/rails/repos",
          "events_url": "https://api.github.com/users/rails/events{/privacy}",
          "received_events_url": "https://api.github.com/users/rails/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/rails/rails",
        "description": "Ruby on Rails",
        "fork": false,
        "url": "https://api.github.com/repos/rails/rails",
        "forks_url": "https://api.github.com/repos/rails/rails/forks",
        "keys_url": "https://api.github.com/repos/rails/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/rails/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/rails/rails/teams",
        "hooks_url": "https://api.github.com/repos/rails/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/rails/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/rails/rails/events",
        "assignees_url": "https://api.github.com/repos/rails/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/rails/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/rails/rails/tags",
        "blobs_url": "https://api.github.com/repos/rails/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/rails/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/rails/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/rails/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/rails/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/rails/rails/languages",
        "stargazers_url": "https://api.github.com/repos/rails/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/rails/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/rails/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/rails/rails/subscription",
        "commits_url": "https://api.github.com/repos/rails/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/rails/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/rails/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/rails/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/rails/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/rails/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/rails/rails/merges",
        "archive_url": "https://api.github.com/repos/rails/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/rails/rails/downloads",
        "issues_url": "https://api.github.com/repos/rails/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/rails/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/rails/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/rails/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/rails/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/rails/rails/releases{/id}",
        "created_at": "2008-04-11T02:19:47Z",
        "updated_at": "2015-07-30T17:44:39Z",
        "pushed_at": "2015-07-30T18:00:16Z",
        "git_url": "git://github.com/rails/rails.git",
        "ssh_url": "git@github.com:rails/rails.git",
        "clone_url": "https://github.com/rails/rails.git",
        "svn_url": "https://github.com/rails/rails",
        "homepage": "http://rubyonrails.org",
        "size": 438622,
        "stargazers_count": 27078,
        "watchers_count": 27078,
        "language": "Ruby",
        "has_issues": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 10858,
        "mirror_url": null,
        "open_issues_count": 890,
        "forks": 10858,
        "open_issues": 890,
        "watchers": 27078,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069"
      },
      "html": {
        "href": "https://github.com/rails/rails/pull/21069"
      },
      "issue": {
        "href": "https://api.github.com/repos/rails/rails/issues/21069"
      },
      "comments": {
        "href": "https://api.github.com/repos/rails/rails/issues/21069/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/rails/rails/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/rails/rails/statuses/86e3b047ba0349bd88952d4e54504327c3f7e59c"
      }
    }
  }
]
      

Filters by open states on;y

Recorded at

2015-07-30 18:15:16 UTC

Try with cURL

Request URL

GET /repos/rails/rails/pulls?state=open      

Query Parameters

state: open
      

Request Headers

accept: application/vnd.github.v3+json
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
x-served-by: 5aeb3f30c9e3ef6ef7bcbcddfd9a68f7
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-github-request-id: 68EC8CA8:4144:49C1EFC:55BA69B3
access-control-allow-origin: *
access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
access-control-allow-credentials: true
content-security-policy: default-src 'none'
x-frame-options: deny
x-xss-protection: 1; mode=block
link: <https://api.github.com/repositories/8514/pulls?state=open&page=2>; rel="next", <https://api.github.com/repositories/8514/pulls?state=open&page=18>; rel="last"
x-github-media-type: github.v3; format=json
vary: Accept
etag: "e152907a55ec4c98bf546eccab44a9bb"
cache-control: public, max-age=60, s-maxage=60
x-ratelimit-reset: 1438283342
x-ratelimit-remaining: 58
x-ratelimit-limit: 60
status: 200 OK
connection: close
content-length: 495789
content-type: application/json; charset=utf-8
date: Thu, 30 Jul 2015 18:15:16 GMT
server: GitHub.com
      

Response Body

Shortened for readability

[
  {
    "url": "https://api.github.com/repos/rails/rails/pulls/21074",
    "id": 41244909,
    "html_url": "https://github.com/rails/rails/pull/21074",
    "diff_url": "https://github.com/rails/rails/pull/21074.diff",
    "patch_url": "https://github.com/rails/rails/pull/21074.patch",
    "issue_url": "https://api.github.com/repos/rails/rails/issues/21074",
    "number": 21074,
    "state": "open",
    "locked": false,
    "title": "RDoc: fix wrong model name `:inverse_of` with `:belongs_to` [ci skip]",
    "user": {
      "login": "vrybas",
      "id": 30538,
      "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/vrybas",
      "html_url": "https://github.com/vrybas",
      "followers_url": "https://api.github.com/users/vrybas/followers",
      "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
      "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
      "organizations_url": "https://api.github.com/users/vrybas/orgs",
      "repos_url": "https://api.github.com/users/vrybas/repos",
      "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
      "received_events_url": "https://api.github.com/users/vrybas/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "There's a typo in ActiveRecord associations RDocs.\r\nWrong `Taggable` model name, instead of `Tagging` in example of using\r\noption `:inverse_of` with `:belongs_to` association.\r\n\r\nCommit where typo was introduced:\r\nhttps://github.com/rails/rails/commit/91fd6510563f84ee473bb217bc63ed598abe3f24#diff-39001423802a8470dba9c931e66e101eR11\r\n\r\nFirst it appears in `activerecord/CHANGELOG` in example of `:inverse_of`\r\nusage:\r\n\r\n```ruby\r\n    class Post < ActiveRecord::Base\r\n      has_many :taggings\r\n      has_many :tags, :through => :taggings\r\n    end\r\n\r\n    class Tagging < ActiveRecord::Base\r\n      belongs_to :post\r\n      belongs_to :tag, :inverse_of => :tagging # :inverse_of must be set!\r\n    end\r\n\r\n    class Tag < ActiveRecord::Base\r\n      has_many :taggings\r\n      has_many :posts, :through => :taggings\r\n    end\r\n\r\n    post = Post.first\r\n    tag = post.tags.build :name => \"ruby\"\r\n!>  tag.save # will save a Taggable linking to the post\r\n```\r\n\r\nThe last line should be\r\n\r\n```ruby\r\n    tag.save # will save a Tagging linking to the post\r\n```\r\n\r\nThe same typo appears in\r\n`activerecord/lib/active_record/associations.rb`.\r\nThe association name is given as `:inverse_of => :taggings`, but class\r\nname is `Taggable`.\r\n\r\n```ruby\r\n    #   @post = Post.first\r\n    #   @tag = @post.tags.build :name => \"ruby\"\r\n    #   @tag.save\r\n    #\r\n!>  # The last line ought to save the through record (a <tt>Taggable</tt>). This will only work if the\r\n    # <tt>:inverse_of</tt> is set:\r\n    #\r\n!>  #   class Taggable < ActiveRecord::Base\r\n    #     belongs_to :post\r\n!>  #     belongs_to :tag, :inverse_of => :taggings\r\n    #   end\r\n```\r\n\r\nThis PR fixes model name.",
    "created_at": "2015-07-30T15:08:59Z",
    "updated_at": "2015-07-30T15:08:59Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "89b09fff2b96e16a20c02e7d96345587f44ff24e",
    "assignee": null,
    "milestone": null,
    "commits_url": "https://api.github.com/repos/rails/rails/pulls/21074/commits",
    "review_comments_url": "https://api.github.com/repos/rails/rails/pulls/21074/comments",
    "review_comment_url": "https://api.github.com/repos/rails/rails/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/rails/rails/issues/21074/comments",
    "statuses_url": "https://api.github.com/repos/rails/rails/statuses/4ec818d28c3984ec9d27c362fc8ff48af9335cde",
    "head": {
      "label": "vrybas:rdoc-fix-typo-belongs-to-inverse-of-class-name",
      "ref": "rdoc-fix-typo-belongs-to-inverse-of-class-name",
      "sha": "4ec818d28c3984ec9d27c362fc8ff48af9335cde",
      "user": {
        "login": "vrybas",
        "id": 30538,
        "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/vrybas",
        "html_url": "https://github.com/vrybas",
        "followers_url": "https://api.github.com/users/vrybas/followers",
        "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
        "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
        "organizations_url": "https://api.github.com/users/vrybas/orgs",
        "repos_url": "https://api.github.com/users/vrybas/repos",
        "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
        "received_events_url": "https://api.github.com/users/vrybas/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 38471817,
        "name": "rails",
        "full_name": "vrybas/rails",
        "owner": {
          "login": "vrybas",
          "id": 30538,
          "avatar_url": "https://avatars.githubusercontent.com/u/30538?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/vrybas",
          "html_url": "https://github.com/vrybas",
          "followers_url": "https://api.github.com/users/vrybas/followers",
          "following_url": "https://api.github.com/users/vrybas/following{/other_user}",
          "gists_url": "https://api.github.com/users/vrybas/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/vrybas/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/vrybas/subscriptions",
          "organizations_url": "https://api.github.com/users/vrybas/orgs",
          "repos_url": "https://api.github.com/users/vrybas/repos",
          "events_url": "https://api.github.com/users/vrybas/events{/privacy}",
          "received_events_url": "https://api.github.com/users/vrybas/received_events",
          "type": "User",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/vrybas/rails",
        "description": "Ruby on Rails",
        "fork": true,
        "url": "https://api.github.com/repos/vrybas/rails",
        "forks_url": "https://api.github.com/repos/vrybas/rails/forks",
        "keys_url": "https://api.github.com/repos/vrybas/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/vrybas/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/vrybas/rails/teams",
        "hooks_url": "https://api.github.com/repos/vrybas/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/vrybas/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/vrybas/rails/events",
        "assignees_url": "https://api.github.com/repos/vrybas/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/vrybas/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/vrybas/rails/tags",
        "blobs_url": "https://api.github.com/repos/vrybas/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/vrybas/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/vrybas/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/vrybas/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/vrybas/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/vrybas/rails/languages",
        "stargazers_url": "https://api.github.com/repos/vrybas/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/vrybas/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/vrybas/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/vrybas/rails/subscription",
        "commits_url": "https://api.github.com/repos/vrybas/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/vrybas/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/vrybas/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/vrybas/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/vrybas/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/vrybas/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/vrybas/rails/merges",
        "archive_url": "https://api.github.com/repos/vrybas/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/vrybas/rails/downloads",
        "issues_url": "https://api.github.com/repos/vrybas/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/vrybas/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/vrybas/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/vrybas/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/vrybas/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/vrybas/rails/releases{/id}",
        "created_at": "2015-07-03T04:26:31Z",
        "updated_at": "2015-07-03T04:27:01Z",
        "pushed_at": "2015-07-30T15:06:30Z",
        "git_url": "git://github.com/vrybas/rails.git",
        "ssh_url": "git@github.com:vrybas/rails.git",
        "clone_url": "https://github.com/vrybas/rails.git",
        "svn_url": "https://github.com/vrybas/rails",
        "homepage": "http://rubyonrails.org",
        "size": 144477,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Ruby",
        "has_issues": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 1,
        "mirror_url": null,
        "open_issues_count": 0,
        "forks": 1,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "rails:master",
      "ref": "master",
      "sha": "70009e31005220ddacce0a27a2908858be268a0a",
      "user": {
        "login": "rails",
        "id": 4223,
        "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/rails",
        "html_url": "https://github.com/rails",
        "followers_url": "https://api.github.com/users/rails/followers",
        "following_url": "https://api.github.com/users/rails/following{/other_user}",
        "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
        "organizations_url": "https://api.github.com/users/rails/orgs",
        "repos_url": "https://api.github.com/users/rails/repos",
        "events_url": "https://api.github.com/users/rails/events{/privacy}",
        "received_events_url": "https://api.github.com/users/rails/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 8514,
        "name": "rails",
        "full_name": "rails/rails",
        "owner": {
          "login": "rails",
          "id": 4223,
          "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/rails",
          "html_url": "https://github.com/rails",
          "followers_url": "https://api.github.com/users/rails/followers",
          "following_url": "https://api.github.com/users/rails/following{/other_user}",
          "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
          "organizations_url": "https://api.github.com/users/rails/orgs",
          "repos_url": "https://api.github.com/users/rails/repos",
          "events_url": "https://api.github.com/users/rails/events{/privacy}",
          "received_events_url": "https://api.github.com/users/rails/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/rails/rails",
        "description": "Ruby on Rails",
        "fork": false,
        "url": "https://api.github.com/repos/rails/rails",
        "forks_url": "https://api.github.com/repos/rails/rails/forks",
        "keys_url": "https://api.github.com/repos/rails/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/rails/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/rails/rails/teams",
        "hooks_url": "https://api.github.com/repos/rails/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/rails/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/rails/rails/events",
        "assignees_url": "https://api.github.com/repos/rails/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/rails/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/rails/rails/tags",
        "blobs_url": "https://api.github.com/repos/rails/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/rails/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/rails/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/rails/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/rails/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/rails/rails/languages",
        "stargazers_url": "https://api.github.com/repos/rails/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/rails/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/rails/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/rails/rails/subscription",
        "commits_url": "https://api.github.com/repos/rails/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/rails/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/rails/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/rails/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/rails/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/rails/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/rails/rails/merges",
        "archive_url": "https://api.github.com/repos/rails/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/rails/rails/downloads",
        "issues_url": "https://api.github.com/repos/rails/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/rails/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/rails/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/rails/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/rails/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/rails/rails/releases{/id}",
        "created_at": "2008-04-11T02:19:47Z",
        "updated_at": "2015-07-30T17:44:39Z",
        "pushed_at": "2015-07-30T18:00:16Z",
        "git_url": "git://github.com/rails/rails.git",
        "ssh_url": "git@github.com:rails/rails.git",
        "clone_url": "https://github.com/rails/rails.git",
        "svn_url": "https://github.com/rails/rails",
        "homepage": "http://rubyonrails.org",
        "size": 438622,
        "stargazers_count": 27078,
        "watchers_count": 27078,
        "language": "Ruby",
        "has_issues": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 10858,
        "mirror_url": null,
        "open_issues_count": 890,
        "forks": 10858,
        "open_issues": 890,
        "watchers": 27078,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074"
      },
      "html": {
        "href": "https://github.com/rails/rails/pull/21074"
      },
      "issue": {
        "href": "https://api.github.com/repos/rails/rails/issues/21074"
      },
      "comments": {
        "href": "https://api.github.com/repos/rails/rails/issues/21074/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/rails/rails/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21074/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/rails/rails/statuses/4ec818d28c3984ec9d27c362fc8ff48af9335cde"
      }
    }
  },
  {
    "url": "https://api.github.com/repos/rails/rails/pulls/21069",
    "id": 41211500,
    "html_url": "https://github.com/rails/rails/pull/21069",
    "diff_url": "https://github.com/rails/rails/pull/21069.diff",
    "patch_url": "https://github.com/rails/rails/pull/21069.patch",
    "issue_url": "https://api.github.com/repos/rails/rails/issues/21069",
    "number": 21069,
    "state": "open",
    "locked": false,
    "title": "Validate multiple contexts on `valid?` and `invalid?` at once",
    "user": {
      "login": "dmitry",
      "id": 5091,
      "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
      "gravatar_id": "",
      "url": "https://api.github.com/users/dmitry",
      "html_url": "https://github.com/dmitry",
      "followers_url": "https://api.github.com/users/dmitry/followers",
      "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
      "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
      "organizations_url": "https://api.github.com/users/dmitry/orgs",
      "repos_url": "https://api.github.com/users/dmitry/repos",
      "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
      "received_events_url": "https://api.github.com/users/dmitry/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "Lets say we have cascade of validations, when we should check more and more validations, after each step. As an example: `precreate` context should check everything in a create, but less 2 attributes (real word example).\r\n\r\nCurrently it's only possible to check validations one by one. This patch provides possibility to do all the checks at once.\r\n\r\nExample:\r\n\r\n```ruby\r\nclass Person\r\n  include ActiveModel::Validations\r\n\r\n  attr_reader :name, :title\r\n  validates_presence_of :name, on: :create\r\n  validates_presence_of :title, on: :update\r\nend\r\n\r\nperson = Person.new\r\nperson.valid?([:create, :update])    # => true\r\nperson.errors.messages               # => {:name=>[\"can't be blank\"], :title=>[\"can't be blank\"]}\r\n```",
    "created_at": "2015-07-30T09:00:07Z",
    "updated_at": "2015-07-30T09:11:11Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "30f1cb7a79499f6feca8ad729ea9553c69a7d0c4",
    "assignee": null,
    "milestone": null,
    "commits_url": "https://api.github.com/repos/rails/rails/pulls/21069/commits",
    "review_comments_url": "https://api.github.com/repos/rails/rails/pulls/21069/comments",
    "review_comment_url": "https://api.github.com/repos/rails/rails/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/rails/rails/issues/21069/comments",
    "statuses_url": "https://api.github.com/repos/rails/rails/statuses/86e3b047ba0349bd88952d4e54504327c3f7e59c",
    "head": {
      "label": "dmitry:feature/validate-multiple-contexts-at-once",
      "ref": "feature/validate-multiple-contexts-at-once",
      "sha": "86e3b047ba0349bd88952d4e54504327c3f7e59c",
      "user": {
        "login": "dmitry",
        "id": 5091,
        "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/dmitry",
        "html_url": "https://github.com/dmitry",
        "followers_url": "https://api.github.com/users/dmitry/followers",
        "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
        "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
        "organizations_url": "https://api.github.com/users/dmitry/orgs",
        "repos_url": "https://api.github.com/users/dmitry/repos",
        "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
        "received_events_url": "https://api.github.com/users/dmitry/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 8015277,
        "name": "rails",
        "full_name": "dmitry/rails",
        "owner": {
          "login": "dmitry",
          "id": 5091,
          "avatar_url": "https://avatars.githubusercontent.com/u/5091?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/dmitry",
          "html_url": "https://github.com/dmitry",
          "followers_url": "https://api.github.com/users/dmitry/followers",
          "following_url": "https://api.github.com/users/dmitry/following{/other_user}",
          "gists_url": "https://api.github.com/users/dmitry/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/dmitry/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/dmitry/subscriptions",
          "organizations_url": "https://api.github.com/users/dmitry/orgs",
          "repos_url": "https://api.github.com/users/dmitry/repos",
          "events_url": "https://api.github.com/users/dmitry/events{/privacy}",
          "received_events_url": "https://api.github.com/users/dmitry/received_events",
          "type": "User",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/dmitry/rails",
        "description": "Ruby on Rails",
        "fork": true,
        "url": "https://api.github.com/repos/dmitry/rails",
        "forks_url": "https://api.github.com/repos/dmitry/rails/forks",
        "keys_url": "https://api.github.com/repos/dmitry/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/dmitry/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/dmitry/rails/teams",
        "hooks_url": "https://api.github.com/repos/dmitry/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/dmitry/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/dmitry/rails/events",
        "assignees_url": "https://api.github.com/repos/dmitry/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/dmitry/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/dmitry/rails/tags",
        "blobs_url": "https://api.github.com/repos/dmitry/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/dmitry/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/dmitry/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/dmitry/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/dmitry/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/dmitry/rails/languages",
        "stargazers_url": "https://api.github.com/repos/dmitry/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/dmitry/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/dmitry/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/dmitry/rails/subscription",
        "commits_url": "https://api.github.com/repos/dmitry/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/dmitry/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/dmitry/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/dmitry/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/dmitry/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/dmitry/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/dmitry/rails/merges",
        "archive_url": "https://api.github.com/repos/dmitry/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/dmitry/rails/downloads",
        "issues_url": "https://api.github.com/repos/dmitry/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/dmitry/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/dmitry/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/dmitry/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/dmitry/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/dmitry/rails/releases{/id}",
        "created_at": "2013-02-04T20:14:56Z",
        "updated_at": "2015-03-10T00:47:38Z",
        "pushed_at": "2015-07-30T09:05:54Z",
        "git_url": "git://github.com/dmitry/rails.git",
        "ssh_url": "git@github.com:dmitry/rails.git",
        "clone_url": "https://github.com/dmitry/rails.git",
        "svn_url": "https://github.com/dmitry/rails",
        "homepage": "http://rubyonrails.org",
        "size": 133503,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Ruby",
        "has_issues": false,
        "has_downloads": true,
        "has_wiki": false,
        "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": "rails:master",
      "ref": "master",
      "sha": "10e994cc07dbd4ff87db225f15850197a9c6bb18",
      "user": {
        "login": "rails",
        "id": 4223,
        "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
        "gravatar_id": "",
        "url": "https://api.github.com/users/rails",
        "html_url": "https://github.com/rails",
        "followers_url": "https://api.github.com/users/rails/followers",
        "following_url": "https://api.github.com/users/rails/following{/other_user}",
        "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
        "organizations_url": "https://api.github.com/users/rails/orgs",
        "repos_url": "https://api.github.com/users/rails/repos",
        "events_url": "https://api.github.com/users/rails/events{/privacy}",
        "received_events_url": "https://api.github.com/users/rails/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 8514,
        "name": "rails",
        "full_name": "rails/rails",
        "owner": {
          "login": "rails",
          "id": 4223,
          "avatar_url": "https://avatars.githubusercontent.com/u/4223?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/rails",
          "html_url": "https://github.com/rails",
          "followers_url": "https://api.github.com/users/rails/followers",
          "following_url": "https://api.github.com/users/rails/following{/other_user}",
          "gists_url": "https://api.github.com/users/rails/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/rails/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/rails/subscriptions",
          "organizations_url": "https://api.github.com/users/rails/orgs",
          "repos_url": "https://api.github.com/users/rails/repos",
          "events_url": "https://api.github.com/users/rails/events{/privacy}",
          "received_events_url": "https://api.github.com/users/rails/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": false,
        "html_url": "https://github.com/rails/rails",
        "description": "Ruby on Rails",
        "fork": false,
        "url": "https://api.github.com/repos/rails/rails",
        "forks_url": "https://api.github.com/repos/rails/rails/forks",
        "keys_url": "https://api.github.com/repos/rails/rails/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/rails/rails/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/rails/rails/teams",
        "hooks_url": "https://api.github.com/repos/rails/rails/hooks",
        "issue_events_url": "https://api.github.com/repos/rails/rails/issues/events{/number}",
        "events_url": "https://api.github.com/repos/rails/rails/events",
        "assignees_url": "https://api.github.com/repos/rails/rails/assignees{/user}",
        "branches_url": "https://api.github.com/repos/rails/rails/branches{/branch}",
        "tags_url": "https://api.github.com/repos/rails/rails/tags",
        "blobs_url": "https://api.github.com/repos/rails/rails/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/rails/rails/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/rails/rails/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/rails/rails/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/rails/rails/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/rails/rails/languages",
        "stargazers_url": "https://api.github.com/repos/rails/rails/stargazers",
        "contributors_url": "https://api.github.com/repos/rails/rails/contributors",
        "subscribers_url": "https://api.github.com/repos/rails/rails/subscribers",
        "subscription_url": "https://api.github.com/repos/rails/rails/subscription",
        "commits_url": "https://api.github.com/repos/rails/rails/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/rails/rails/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/rails/rails/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/rails/rails/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/rails/rails/contents/{+path}",
        "compare_url": "https://api.github.com/repos/rails/rails/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/rails/rails/merges",
        "archive_url": "https://api.github.com/repos/rails/rails/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/rails/rails/downloads",
        "issues_url": "https://api.github.com/repos/rails/rails/issues{/number}",
        "pulls_url": "https://api.github.com/repos/rails/rails/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/rails/rails/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/rails/rails/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/rails/rails/labels{/name}",
        "releases_url": "https://api.github.com/repos/rails/rails/releases{/id}",
        "created_at": "2008-04-11T02:19:47Z",
        "updated_at": "2015-07-30T17:44:39Z",
        "pushed_at": "2015-07-30T18:00:16Z",
        "git_url": "git://github.com/rails/rails.git",
        "ssh_url": "git@github.com:rails/rails.git",
        "clone_url": "https://github.com/rails/rails.git",
        "svn_url": "https://github.com/rails/rails",
        "homepage": "http://rubyonrails.org",
        "size": 438622,
        "stargazers_count": 27078,
        "watchers_count": 27078,
        "language": "Ruby",
        "has_issues": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 10858,
        "mirror_url": null,
        "open_issues_count": 890,
        "forks": 10858,
        "open_issues": 890,
        "watchers": 27078,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069"
      },
      "html": {
        "href": "https://github.com/rails/rails/pull/21069"
      },
      "issue": {
        "href": "https://api.github.com/repos/rails/rails/issues/21069"
      },
      "comments": {
        "href": "https://api.github.com/repos/rails/rails/issues/21069/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/rails/rails/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/rails/rails/pulls/21069/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/rails/rails/statuses/86e3b047ba0349bd88952d4e54504327c3f7e59c"
      }
    }
  }
]