v11

OpenAPI 3.0.3raw.githubusercontent.com2024-01-1200163.6 KB
Issue Creators

List organizations of stargazers

List organizations of stargazers for the specified repository.

Notice: In the overall data, about 5.62% of GitHub users provided 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}/issue_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 issue creators with unknown organization information

fromstring

The start date of the range.

tostring

The end date of the range.

Response

Default Response

type'sql_endpoint' required

The type of the endpoint.

Example response

{
  "type": "sql_endpoint",
  "data": {
    "columns": [
      {
        "col": "org_name",
        "data_type": "VARCHAR",
        "nullable": true
      },
      {
        "col": "issue_creators",
        "data_type": "BIGINT",
        "nullable": true
      },
      {
        "col": "percentage",
        "data_type": "DECIMAL",
        "nullable": true
      }
    ],
    "rows": [
      {
        "issue_creators": "117",
        "org_name": "pingcap",
        "percentage": "0.2833"
      },
      {
        "issue_creators": "9",
        "org_name": "tencent",
        "percentage": "0.0218"
      },
      {
        "issue_creators": "7",
        "org_name": "alibaba",
        "percentage": "0.0169"
      },
      {
        "issue_creators": "6",
        "org_name": "bytedance",
        "percentage": "0.0145"
      }
    ],
    "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"
      ]
    }
  }
}