You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_issues.snap
+20-22Lines changed: 20 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,18 @@
3
3
"title": "List issues",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "List issues in a GitHub repository.",
6
+
"description": "List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.",
7
7
"inputSchema": {
8
8
"properties": {
9
+
"after": {
10
+
"description": "Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs.",
11
+
"type": "string"
12
+
},
9
13
"direction": {
10
-
"description": "Sort direction",
14
+
"description": "Order direction. If provided, the 'orderBy' also needs to be provided.",
11
15
"enum": [
12
-
"asc",
13
-
"desc"
16
+
"ASC",
17
+
"DESC"
14
18
],
15
19
"type": "string"
16
20
},
@@ -21,15 +25,19 @@
21
25
},
22
26
"type": "array"
23
27
},
28
+
"orderBy": {
29
+
"description": "Order issues by field. If provided, the 'direction' also needs to be provided.",
30
+
"enum": [
31
+
"CREATED_AT",
32
+
"UPDATED_AT",
33
+
"COMMENTS"
34
+
],
35
+
"type": "string"
36
+
},
24
37
"owner": {
25
38
"description": "Repository owner",
26
39
"type": "string"
27
40
},
28
-
"page": {
29
-
"description": "Page number for pagination (min 1)",
30
-
"minimum": 1,
31
-
"type": "number"
32
-
},
33
41
"perPage": {
34
42
"description": "Results per page for pagination (min 1, max 100)",
35
43
"maximum": 100,
@@ -44,21 +52,11 @@
44
52
"description": "Filter by date (ISO 8601 timestamp)",
45
53
"type": "string"
46
54
},
47
-
"sort": {
48
-
"description": "Sort order",
49
-
"enum": [
50
-
"created",
51
-
"updated",
52
-
"comments"
53
-
],
54
-
"type": "string"
55
-
},
56
55
"state": {
57
-
"description": "Filter by state",
56
+
"description": "Filter by state, by default both open and closed issues are returned when not provided",
0 commit comments