Skip to content

Commit

Permalink
Deploy from Data App
Browse files Browse the repository at this point in the history
  • Loading branch information
tidb-cloud-data-service[bot] authored Dec 18, 2023
1 parent 02ba38c commit fc9d7b3
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions configs/public_api/http_endpoints/config.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,4 @@
[
{
"name": "List Pull Request Creators",
"description": "Lists users who have created pull requests (Aka. Code contributors) in a specified GitHub repository. Returns user IDs, logins, names, the number of pull requests made, and the dates of their first opened and first merged pull requests. ",
"method": "GET",
"endpoint": "/repos/pull_request_creators",
"data_source": {
"cluster_id": 1379661944642684098
},
"params": [
{
"name": "owner",
"type": "string",
"required": 1,
"default": "",
"description": "The owner of the repo."
},
{
"name": "repo",
"type": "string",
"required": 1,
"default": "",
"description": "The name of the repo."
},
{
"name": "exclude_bots",
"type": "boolean",
"required": 0,
"default": "true",
"description": "Whether to exclude robot accounts (includes GitHub App and normal users whose username matches the pattern, for example: `ti-chi-bot`)."
},
{
"name": "sort",
"type": "string",
"required": 0,
"default": "prs-desc",
"description": "Specify the field by which to sort the pull request creators list (values with a `-desc` suffix indicate descending sorting)",
"enum": "login,prs,prs-desc,first_pr_opened_at,first_pr_opened_at-desc,first_pr_merged_at,first_pr_merged_at-desc"
}
],
"settings": {
"timeout": 5000,
"row_limit": 200,
"cache_enabled": 1,
"cache_ttl": 600,
"enable_pagination": 1
},
"tag": "Pull Requests",
"batch_operation": 0,
"sql_file": "sql/GET-repos-pull_request_creators.sql",
"type": "sql_endpoint",
"return_type": "json"
},
{
"name": "List Collections",
"description": "It returns a list of each collection's unique ID and its name.",
Expand All @@ -65,7 +13,7 @@
"row_limit": 200,
"cache_enabled": 0,
"cache_ttl": 0,
"enable_pagination": 1
"enable_pagination": 0
},
"tag": "Collections",
"batch_operation": 0,
Expand Down Expand Up @@ -937,6 +885,58 @@
"type": "sql_endpoint",
"return_type": "json"
},
{
"name": "List Pull Request Creators",
"description": "Lists users who have created pull requests (Aka. Code contributors) in a specified GitHub repository. Returns user IDs, logins, names, the number of pull requests made, and the dates of their first opened and first merged pull requests. ",
"method": "GET",
"endpoint": "/repos/pull_request_creators",
"data_source": {
"cluster_id": 1379661944642684098
},
"params": [
{
"name": "owner",
"type": "string",
"required": 1,
"default": "",
"description": "The owner of the repo."
},
{
"name": "repo",
"type": "string",
"required": 1,
"default": "",
"description": "The name of the repo."
},
{
"name": "exclude_bots",
"type": "boolean",
"required": 0,
"default": "true",
"description": "Whether to exclude robot accounts (includes GitHub App and normal users whose username matches the pattern, for example: `ti-chi-bot`)."
},
{
"name": "sort",
"type": "string",
"required": 0,
"default": "prs-desc",
"description": "Specify the field by which to sort the pull request creators list (values with a `-desc` suffix indicate descending sorting)",
"enum": "login,prs,prs-desc,first_pr_opened_at,first_pr_opened_at-desc,first_pr_merged_at,first_pr_merged_at-desc"
}
],
"settings": {
"timeout": 5000,
"row_limit": 200,
"cache_enabled": 1,
"cache_ttl": 600,
"enable_pagination": 1
},
"tag": "Pull Requests",
"batch_operation": 0,
"sql_file": "sql/GET-repos-pull_request_creators.sql",
"type": "sql_endpoint",
"return_type": "json"
},
{
"name": "List PR Creators Countries",
"description": "List countries/regions of pull request creators for the specified repository during a specified time range.",
Expand Down

0 comments on commit fc9d7b3

Please sign in to comment.