List hot collections
List hot collections with top repositories of the collection.
- 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
Collection ID
Collection name
The number of repositories in the collection
Repository ID
Repository name
The rank of the repository in the collection in the current period
The rank of the repository in the collection in the past period
The rank changes of the repository in the collection
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": "id",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "name",
"data_type": "VARCHAR",
"nullable": false
},
{
"col": "repos",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "repo_id",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "repo_name",
"data_type": "VARCHAR",
"nullable": false
},
{
"col": "repo_current_period_rank",
"data_type": "INT",
"nullable": true
},
{
"col": "repo_past_period_rank",
"data_type": "INT",
"nullable": true
},
{
"col": "repo_rank_changes",
"data_type": "BIGINT",
"nullable": true
}
],
"rows": [
{
"id": "10010",
"name": "Artificial Intelligence",
"repos": "36",
"repo_id": "155220641",
"repo_name": "huggingface/transformers",
"repo_current_period_rank": "1",
"repo_past_period_rank": "1",
"repo_rank_changes": "0"
},
{
"id": "10010",
"name": "Artificial Intelligence",
"repos": "36",
"repo_id": "65600975",
"repo_name": "pytorch/pytorch",
"repo_current_period_rank": "3",
"repo_past_period_rank": "4",
"repo_rank_changes": "1"
},
{
"id": "10010",
"name": "Artificial Intelligence",
"repos": "36",
"repo_id": "458588993",
"repo_name": "nebuly-ai/nebullvm",
"repo_current_period_rank": "2",
"repo_past_period_rank": "2",
"repo_rank_changes": "0"
},
{
"id": "10078",
"name": "ChatGPT Apps",
"repos": "36",
"repo_id": "599394820",
"repo_name": "Chanzhaoyu/chatgpt-web",
"repo_current_period_rank": "3",
"repo_past_period_rank": "6",
"repo_rank_changes": "3"
},
{
"id": "10078",
"name": "ChatGPT Apps",
"repos": "36",
"repo_id": "609416865",
"repo_name": "yetone/openai-translator",
"repo_current_period_rank": "2",
"repo_past_period_rank": "",
"repo_rank_changes": ""
},
{
"id": "10078",
"name": "ChatGPT Apps",
"repos": "36",
"repo_id": "608555244",
"repo_name": "microsoft/visual-chatgpt",
"repo_current_period_rank": "1",
"repo_past_period_rank": "",
"repo_rank_changes": ""
}
],
"result": {
"code": 200,
"message": "Query OK!",
"start_ms": 1690957407469,
"end_ms": 1690957407499,
"latency": "30ms",
"row_count": 6,
"row_affect": 0,
"limit": 50,
"databases": [
"gharchive_dev"
]
}
}
}