"contributions" property on API

Hi, I am using the following URL to list contributors.
https://api.github.com/repos/octocat/hello-world/contributors

The response is like that:

[
  {
    "login": "Spaceghost",
    "id": 251370,
    "node_id": "MDQ6VXNlcjI1MTM3MA==",
    "avatar_url": "https://avatars2.githubusercontent.com/u/251370?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/Spaceghost",
    "html_url": "https://github.com/Spaceghost",
    "followers_url": "https://api.github.com/users/Spaceghost/followers",
    "following_url": "https://api.github.com/users/Spaceghost/following{/other_user}",
    "gists_url": "https://api.github.com/users/Spaceghost/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/Spaceghost/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/Spaceghost/subscriptions",
    "organizations_url": "https://api.github.com/users/Spaceghost/orgs",
    "repos_url": "https://api.github.com/users/Spaceghost/repos",
    "events_url": "https://api.github.com/users/Spaceghost/events{/privacy}",
    "received_events_url": "https://api.github.com/users/Spaceghost/received_events",
    "type": "User",
    "site_admin": false,
    "contributions": 1
  },
  {
    "login": "octocat",
    "id": 583231,
    "node_id": "MDQ6VXNlcjU4MzIzMQ==",
    "avatar_url": "https://avatars3.githubusercontent.com/u/583231?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/octocat",
    "html_url": "https://github.com/octocat",
    "followers_url": "https://api.github.com/users/octocat/followers",
    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    "organizations_url": "https://api.github.com/users/octocat/orgs",
    "repos_url": "https://api.github.com/users/octocat/repos",
    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    "received_events_url": "https://api.github.com/users/octocat/received_events",
    "type": "User",
    "site_admin": false,
    "contributions": 1
  }
]

Could you please give me information about what does “contributions”: 1 represent? I don’t know what is it. the number of commits or pulls requests or anything else.

Thanks in advance.

Hey hey @miriyusifli :wave:

The contributions count here is for all Repository activity. This includes:

  • issues
  • pull requests
  • commits
  • code reviews

The same things you would see in your own contributions graph would be counted in this returned value.