Gitee

by normal-coder
Verified

list_pull_requests

列出 Gitee 仓库中的 Pull Requests

Input Schema

NameRequiredDescriptionDefault
directionNoSort directiondesc
labelsNoLabels, multiple labels separated by commas
milestoneNoMilestone ID
ownerYesRepository owner path (enterprise, organization, or personal path)
pageNoPage number
per_pageNoNumber of items per page, maximum 100
repoYesRepository path
sortNoSort fieldcreated
stateNoPull Request stateopen

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" }