Pull Request Creators
List organizations of PR creators
List organizations of pull request creators for the specified repository.
Notice: In the overall data, about 5.62% of GitHub users has valid organization information.
Note: By default, the API does not count users without valid organization information. If you need to count these users, you can set the exclude_unknown parameter to false.
get/repos/{owner}/{repo}/pull_request_creators/organizations/
Path parameters
ownerstring required
The owner of the repo.
repostring required
The name of the repo.
Query parameters
exclude_unknownboolean
Whether to exclude PR creators with unknown organization information
fromstring
The start date of the range.
tostring
The end date of the range.
Response
Default Response
Example response
{
"type": "sql_endpoint",
"data": {
"columns": [
{
"col": "org_name",
"data_type": "VARCHAR",
"nullable": true
},
{
"col": "pull_request_creators",
"data_type": "BIGINT",
"nullable": true
},
{
"col": "percentage",
"data_type": "DECIMAL",
"nullable": true
}
],
"rows": [
{
"org_name": "pingcap",
"percentage": "0.3064",
"pull_request_creators": "106"
},
{
"org_name": "bytedance",
"percentage": "0.0318",
"pull_request_creators": "11"
},
{
"org_name": "alibaba",
"percentage": "0.0260",
"pull_request_creators": "9"
},
{
"org_name": "tencent",
"percentage": "0.0173",
"pull_request_creators": "6"
}
],
"result": {
"code": 200,
"message": "Query OK!",
"start_ms": 1690957407469,
"end_ms": 1690957407499,
"latency": "30ms",
"row_count": 4,
"row_affect": 0,
"limit": 50,
"databases": [
"gharchive_dev"
]
}
}
}