v11

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

Issue creators history

Querying the historical trend of the number of issue creators in a given repository.

get/repos/{owner}/{repo}/issue_creators/history/

Path parameters

ownerstring required

The owner of the repo.

repostring required

The name of the repo.

Query parameters

per'day' | 'week' | 'month'

The time interval of the data points.

fromstring

The start date of the time range.

tostring

The end date of the time range.

Response

Default Response

type'sql_endpoint' required

The type of the endpoint.

Example response

{
  "type": "sql_endpoint",
  "data": {
    "columns": [
      {
        "col": "date",
        "data_type": "VARCHAR",
        "nullable": true
      },
      {
        "col": "issue_creators",
        "data_type": "DECIMAL",
        "nullable": true
      }
    ],
    "rows": [
      {
        "date": "2023-04-01",
        "issue_creators": "1546"
      },
      {
        "date": "2023-05-01",
        "issue_creators": "1560"
      },
      {
        "date": "2023-06-01",
        "issue_creators": "1568"
      },
      {
        "date": "2023-07-01",
        "issue_creators": "1579"
      },
      {
        "date": "2023-08-01",
        "issue_creators": "1580"
      }
    ],
    "result": {
      "code": 200,
      "message": "Query OK!",
      "start_ms": 1690957407469,
      "end_ms": 1690957407499,
      "latency": "30ms",
      "row_count": 5,
      "row_affect": 0,
      "limit": 50,
      "databases": [
        "gharchive_dev"
      ]
    }
  }
}