Skip to main content

Stargazers history

Querying the historical trend of the number of stargazers in a given repository.

Path Parameters
    owner string required

    The owner of the repo.

    Example: pingcap
    repo string required

    The name of the repo.

    Example: tidb
Query Parameters
    per string

    Possible values: [day, week, month]

    Default value: month

    The time interval of the data points.

    from string

    Default value: 2000-01-01

    The start date of the time range.

    to string

    Default value: 2099-01-01

    The end date of the time range.

Responses

Default Response


Schema
    type string required

    Possible values: [sql_endpoint]

    The type of the endpoint.

    data object required
    columns object[] required
  • Array [
  • col string required

    The name of the column in the query result.

    data_type string required

    Possible values: [CHAR, BIGINT, DECIMAL, INT, UNSIGNED BIGINT, TINYINT, TIMESTAMP, TEXT, VARCHAR, DATETIME, DOUBLE, FLOAT, DATE, TIME, YEAR, MEDIUMINT, SMALLINT, BIT, BINARY, VARBINARY, JSON, ENUM, SET, TINYTEXT, MEDIUMTEXT, LONGTEXT, TINYBLOB, MEDIUMBLOB, BLOB, LONGBLOB]

    The data type of the column.

    nullable boolean required

    Whether the column is nullable.

  • ]
  • rows object[] required
  • Array [
  • date string

    The date of the data point

    stargazers string

    The cumulative number of stargazers

  • ]
  • result object required
    code number

    The code of the response.

    message string

    The message of the response.

    start_ms number

    The start time of the query in milliseconds.

    end_ms number

    The end time of the query in milliseconds.

    latency string

    The latency of the query.

    row_count number

    The number of rows in the query result.

    row_affect number

    The number of rows affected by the query.

    limit number

    The maximum number of rows in the query result.

    databases string[]

    The databases used in the query.

    property name* any
Loading...