|
|
@ -3444,107 +3444,125 @@
|
|
|
|
"operationId": "issueSearchIssues",
|
|
|
|
"operationId": "issueSearchIssues",
|
|
|
|
"parameters": [
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"enum": [
|
|
|
|
|
|
|
|
"open",
|
|
|
|
|
|
|
|
"closed",
|
|
|
|
|
|
|
|
"all"
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "whether issue is open or closed",
|
|
|
|
"default": "open",
|
|
|
|
|
|
|
|
"description": "State of the issue",
|
|
|
|
"name": "state",
|
|
|
|
"name": "state",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded",
|
|
|
|
"description": "Comma-separated list of label names. Fetch only issues that have any of these labels. Non existent labels are discarded.",
|
|
|
|
"name": "labels",
|
|
|
|
"name": "labels",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded",
|
|
|
|
"description": "Comma-separated list of milestone names. Fetch only issues that have any of these milestones. Non existent milestones are discarded.",
|
|
|
|
"name": "milestones",
|
|
|
|
"name": "milestones",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "search string",
|
|
|
|
"description": "Search string",
|
|
|
|
"name": "q",
|
|
|
|
"name": "q",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "integer",
|
|
|
|
"type": "integer",
|
|
|
|
"format": "int64",
|
|
|
|
"format": "int64",
|
|
|
|
"description": "repository to prioritize in the results",
|
|
|
|
"description": "Repository ID to prioritize in the results",
|
|
|
|
"name": "priority_repo_id",
|
|
|
|
"name": "priority_repo_id",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"enum": [
|
|
|
|
|
|
|
|
"issues",
|
|
|
|
|
|
|
|
"pulls"
|
|
|
|
|
|
|
|
],
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "filter by type (issues / pulls) if set",
|
|
|
|
"description": "Filter by issue type",
|
|
|
|
"name": "type",
|
|
|
|
"name": "type",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time",
|
|
|
|
"format": "date-time",
|
|
|
|
"description": "Only show notifications updated after the given time. This is a timestamp in RFC 3339 format",
|
|
|
|
"description": "Only show issues updated after the given time (RFC 3339 format)",
|
|
|
|
"name": "since",
|
|
|
|
"name": "since",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time",
|
|
|
|
"format": "date-time",
|
|
|
|
"description": "Only show notifications updated before the given time. This is a timestamp in RFC 3339 format",
|
|
|
|
"description": "Only show issues updated before the given time (RFC 3339 format)",
|
|
|
|
"name": "before",
|
|
|
|
"name": "before",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "filter (issues / pulls) assigned to you, default is false",
|
|
|
|
"default": false,
|
|
|
|
|
|
|
|
"description": "Filter issues or pulls assigned to the authenticated user",
|
|
|
|
"name": "assigned",
|
|
|
|
"name": "assigned",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "filter (issues / pulls) created by you, default is false",
|
|
|
|
"default": false,
|
|
|
|
|
|
|
|
"description": "Filter issues or pulls created by the authenticated user",
|
|
|
|
"name": "created",
|
|
|
|
"name": "created",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "filter (issues / pulls) mentioning you, default is false",
|
|
|
|
"default": false,
|
|
|
|
|
|
|
|
"description": "Filter issues or pulls mentioning the authenticated user",
|
|
|
|
"name": "mentioned",
|
|
|
|
"name": "mentioned",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "filter pulls requesting your review, default is false",
|
|
|
|
"default": false,
|
|
|
|
|
|
|
|
"description": "Filter pull requests where the authenticated user's review was requested",
|
|
|
|
"name": "review_requested",
|
|
|
|
"name": "review_requested",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "boolean",
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "filter pulls reviewed by you, default is false",
|
|
|
|
"default": false,
|
|
|
|
|
|
|
|
"description": "Filter pull requests reviewed by the authenticated user",
|
|
|
|
"name": "reviewed",
|
|
|
|
"name": "reviewed",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "filter by owner",
|
|
|
|
"description": "Filter by repository owner",
|
|
|
|
"name": "owner",
|
|
|
|
"name": "owner",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"type": "string",
|
|
|
|
"description": "filter by team (requires organization owner parameter to be provided)",
|
|
|
|
"description": "Filter by team (requires organization owner parameter)",
|
|
|
|
"name": "team",
|
|
|
|
"name": "team",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"minimum": 1,
|
|
|
|
"type": "integer",
|
|
|
|
"type": "integer",
|
|
|
|
"description": "page number of results to return (1-based)",
|
|
|
|
"default": 1,
|
|
|
|
|
|
|
|
"description": "Page number of results to return (1-based)",
|
|
|
|
"name": "page",
|
|
|
|
"name": "page",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"minimum": 0,
|
|
|
|
"type": "integer",
|
|
|
|
"type": "integer",
|
|
|
|
"description": "page size of results",
|
|
|
|
"description": "Number of items per page",
|
|
|
|
"name": "limit",
|
|
|
|
"name": "limit",
|
|
|
|
"in": "query"
|
|
|
|
"in": "query"
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3552,6 +3570,12 @@
|
|
|
|
"responses": {
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"200": {
|
|
|
|
"$ref": "#/responses/IssueList"
|
|
|
|
"$ref": "#/responses/IssueList"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"400": {
|
|
|
|
|
|
|
|
"$ref": "#/responses/error"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"422": {
|
|
|
|
|
|
|
|
"$ref": "#/responses/validationError"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|