Repository ranking by stars
Rank the GitHub repositories in the specified collection according to the number of stars.
Path Parameters
The ID of collection
Query Parameters
Possible values: [past_28_days
, past_month
]
Default value: past_28_days
The period of the range.
- 200
Default Response
Schema
- Array [
- ]
- Array [
- ]
Possible values: [sql_endpoint
]
The type of the endpoint.
data object required
columns object[] required
The name of the column in the query result.
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.
Whether the column is nullable.
rows object[] required
The repository ID
The repository name
Stars growth in the current period (past 28 days / current month)
Stars growth in the past period (The 28 days before the past 28 days / past month)
The period-over-period growth of stars
The period-over-period rank changes of stars
The current total stars of repository
result object required
The code of the response.
The message of the response.
The start time of the query in milliseconds.
The end time of the query in milliseconds.
The latency of the query.
The number of rows in the query result.
The number of rows affected by the query.
The maximum number of rows in the query result.
The databases used in the query.
{
"type": "sql_endpoint",
"data": {
"columns": [
{
"col": "repo_id",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "repo_name",
"data_type": "VARCHAR",
"nullable": false
},
{
"col": "current_period_growth",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "current_period_rank",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "past_period_growth",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "past_period_rank",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "growth_pop",
"data_type": "DECIMAL",
"nullable": false
},
{
"col": "rank_pop",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "total",
"data_type": "BIGINT",
"nullable": false
}
],
"rows": [
{
"repo_id": "208728772",
"repo_name": "milvus-io/milvus",
"current_period_growth": "612",
"current_period_rank": "1",
"growth_pop": "-20.31",
"past_period_growth": "768",
"past_period_rank": "1",
"rank_pop": "0",
"total": "23803"
},
{
"repo_id": "60246359",
"repo_name": "clickhouse/clickhouse",
"current_period_growth": "418",
"current_period_rank": "2",
"growth_pop": "-9.72",
"past_period_growth": "463",
"past_period_rank": "2",
"rank_pop": "0",
"total": "30935"
},
{
"repo_id": "507775",
"repo_name": "elastic/elasticsearch",
"current_period_growth": "377",
"current_period_rank": "3",
"growth_pop": "2.45",
"past_period_growth": "368",
"past_period_rank": "4",
"rank_pop": "-1",
"total": "69228"
},
{
"repo_id": "138754790",
"repo_name": "duckdb/duckdb",
"current_period_growth": "335",
"current_period_rank": "4",
"growth_pop": "-15.83",
"past_period_growth": "398",
"past_period_rank": "3",
"rank_pop": "1",
"total": "11408"
},
{
"repo_id": "99919302",
"repo_name": "apache/incubator-doris",
"current_period_growth": "329",
"current_period_rank": "5",
"growth_pop": "28.02",
"past_period_growth": "257",
"past_period_rank": "6",
"rank_pop": "-1",
"total": "9310"
},
{
"repo_id": "927442",
"repo_name": "postgres/postgres",
"current_period_growth": "210",
"current_period_rank": "6",
"growth_pop": "4.48",
"past_period_growth": "201",
"past_period_rank": "10",
"rank_pop": "-4",
"total": "13731"
},
{
"repo_id": "41986369",
"repo_name": "pingcap/tidb",
"current_period_growth": "202",
"current_period_rank": "7",
"growth_pop": "-3.81",
"past_period_growth": "210",
"past_period_rank": "8",
"rank_pop": "-1",
"total": "36325"
}
],
"result": {
"code": 200,
"message": "Query OK!",
"start_ms": 1690957407469,
"end_ms": 1690957407499,
"latency": "30ms",
"row_count": 7,
"row_affect": 0,
"limit": 50,
"databases": [
"gharchive_dev"
]
}
}
}