list_pull_requests
Retrieve Pull Requests from Gitee repositories by specifying owner, repo, state, sort, and other filters to manage PRs effectively.
Instructions
列出 Gitee 仓库中的 Pull Requests
Input Schema
Name | Required | Description | Default |
---|---|---|---|
direction | No | Sort direction | desc |
labels | No | Labels, multiple labels separated by commas | |
milestone | No | Milestone ID | |
owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
page | No | Page number | |
per_page | No | Number of items per page, maximum 100 | |
repo | Yes | Repository path | |
sort | No | Sort field | created |
state | No | Pull Request state | open |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"direction": {
"default": "desc",
"description": "Sort direction",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"labels": {
"description": "Labels, multiple labels separated by commas",
"type": "string"
},
"milestone": {
"description": "Milestone ID",
"type": "number"
},
"owner": {
"description": "Repository owner path (enterprise, organization, or personal path)",
"type": "string"
},
"page": {
"default": 1,
"description": "Page number",
"type": "integer"
},
"per_page": {
"description": "Number of items per page, maximum 100",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"repo": {
"description": "Repository path",
"type": "string"
},
"sort": {
"default": "created",
"description": "Sort field",
"enum": [
"created",
"updated",
"popularity",
"long-running"
],
"type": "string"
},
"state": {
"default": "open",
"description": "Pull Request state",
"enum": [
"open",
"closed",
"merged",
"all"
],
"type": "string"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
}