-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsource-control.yaml
More file actions
1340 lines (1340 loc) · 40.2 KB
/
source-control.yaml
File metadata and controls
1340 lines (1340 loc) · 40.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
naftiko: 1.0.0-alpha2
info:
label: GitHub Source Control
description: Unified workflow for source code management combining repositories, branches, pull requests, and commits. Used
by developers for day-to-day code collaboration, branch management, code review, and merging.
tags:
- GitHub
- Source Control
- Repositories
- Pull Requests
- Code Review
- Branches
personas:
- developers
- software engineers
- tech leads
created: '2026-04-17'
modified: '2026-05-06'
binds:
- namespace: env
keys:
GITHUB_TOKEN: GITHUB_TOKEN
capability:
consumes:
- type: http
namespace: github-repos
baseUri: https://api.github.com
description: GitHub REST API for repositories, branches, commits, tags, and releases management. Sourced from github-repos-api
(153 operations), github-repo-branches-api (35 operations), and github-repo-tags-api (158 operations including overlapping
repo operations).
authentication:
type: bearer
token: '{{GITHUB_TOKEN}}'
resources:
- name: repositories
path: /repos/{owner}/{repo}
description: Core repository management operations.
operations:
- name: getRepository
method: GET
description: Get a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateRepository
method: PATCH
description: Update a repository.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteRepository
method: DELETE
description: Delete a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listPublicRepositories
method: GET
path: /repositories
description: List all public repositories.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createRepositoryUsingTemplate
method: POST
path: /repos/{template_owner}/{template_repo}/generate
description: Create a repository using a template.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: transferRepository
method: POST
description: Transfer a repository.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listForks
method: GET
path: /repos/{owner}/{repo}/forks
description: List forks.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createFork
method: POST
path: /repos/{owner}/{repo}/forks
description: Create a fork.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listRepositoryContributors
method: GET
path: /repos/{owner}/{repo}/contributors
description: List repository contributors.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listRepositoryLanguages
method: GET
path: /repos/{owner}/{repo}/languages
description: List repository languages.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listRepositoryTeams
method: GET
path: /repos/{owner}/{repo}/teams
description: List repository teams.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getAllRepositoryTopics
method: GET
path: /repos/{owner}/{repo}/topics
description: Get all repository topics.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: replaceAllRepositoryTopics
method: PUT
path: /repos/{owner}/{repo}/topics
description: Replace all repository topics.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: searchRepositories
method: GET
path: /search/repositories
description: Search repositories.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: branches
path: /repos/{owner}/{repo}/branches
description: Branch management and protection rules.
operations:
- name: getBranch
method: GET
path: /repos/{owner}/{repo}/branches/{branch}
description: Get a branch.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: renameBranch
method: POST
path: /repos/{owner}/{repo}/branches/{branch}/rename
description: Rename a branch.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getBranchProtection
method: GET
path: /repos/{owner}/{repo}/branches/{branch}/protection
description: Get branch protection.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateBranchProtection
method: PUT
path: /repos/{owner}/{repo}/branches/{branch}/protection
description: Update branch protection.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteBranchProtection
method: DELETE
path: /repos/{owner}/{repo}/branches/{branch}/protection
description: Delete branch protection.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: setAdminBranchProtection
method: POST
path: /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins
description: Set admin branch protection.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteAdminBranchProtection
method: DELETE
path: /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins
description: Delete admin branch protection.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getStatusChecksProtection
method: GET
path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
description: Get status checks protection.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateStatusCheckProtection
method: PATCH
path: /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks
description: Update status check protection.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: syncForkBranchWithTheUpstreamRepository
method: POST
path: /repos/{owner}/{repo}/merge-upstream
description: Sync a fork branch with the upstream repository.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: mergeBranch
method: POST
path: /repos/{owner}/{repo}/merges
description: Merge a branch.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: commits
path: /repos/{owner}/{repo}/commits
description: Commit listing, comparison, and status operations.
operations:
- name: listCommits
method: GET
description: List commits.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getCommit
method: GET
path: /repos/{owner}/{repo}/commits/{ref}
description: Get a commit.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: compareTwoCommits
method: GET
path: /repos/{owner}/{repo}/compare/{basehead}
description: Compare two commits.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listBranchesForHeadCommit
method: GET
path: /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head
description: List branches for HEAD commit.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listCommitComments
method: GET
path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
description: List commit comments.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createCommitComment
method: POST
path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
description: Create a commit comment.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listCommitCommentsForRepository
method: GET
path: /repos/{owner}/{repo}/comments
description: List commit comments for a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getCommitComment
method: GET
path: /repos/{owner}/{repo}/comments/{comment_id}
description: Get a commit comment.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateCommitComment
method: PATCH
path: /repos/{owner}/{repo}/comments/{comment_id}
description: Update a commit comment.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteCommitComment
method: DELETE
path: /repos/{owner}/{repo}/comments/{comment_id}
description: Delete a commit comment.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createCommitStatus
method: POST
path: /repos/{owner}/{repo}/statuses/{sha}
description: Create a commit status.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getTheCombinedStatusForSpecificReference
method: GET
path: /repos/{owner}/{repo}/commits/{ref}/status
description: Get the combined status for a specific reference.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listCommitStatusesForReference
method: GET
path: /repos/{owner}/{repo}/commits/{ref}/statuses
description: List commit statuses for a reference.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: tags
path: /repos/{owner}/{repo}/tags
description: Tag listing and protection.
operations:
- name: listRepositoryTags
method: GET
description: List repository tags.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listTagProtectionStatesForRepository
method: GET
path: /repos/{owner}/{repo}/tags/protection
description: List tag protection states for a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createTagProtectionStateForRepository
method: POST
path: /repos/{owner}/{repo}/tags/protection
description: Create a tag protection state for a repository.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteTagProtectionStateForRepository
method: DELETE
path: /repos/{owner}/{repo}/tags/protection/{tag_protection_id}
description: Delete a tag protection state for a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: releases
path: /repos/{owner}/{repo}/releases
description: Release creation, management, and assets.
operations:
- name: listReleases
method: GET
description: List releases.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createRelease
method: POST
description: Create a release.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getRelease
method: GET
path: /repos/{owner}/{repo}/releases/{release_id}
description: Get a release.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateRelease
method: PATCH
path: /repos/{owner}/{repo}/releases/{release_id}
description: Update a release.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteRelease
method: DELETE
path: /repos/{owner}/{repo}/releases/{release_id}
description: Delete a release.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getTheLatestRelease
method: GET
path: /repos/{owner}/{repo}/releases/latest
description: Get the latest release.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getReleaseByTagName
method: GET
path: /repos/{owner}/{repo}/releases/tags/{tag}
description: Get a release by tag name.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: generateReleaseNotesContentForRelease
method: POST
path: /repos/{owner}/{repo}/releases/generate-notes
description: Generate release notes content for a release.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listReleaseAssets
method: GET
path: /repos/{owner}/{repo}/releases/{release_id}/assets
description: List release assets.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: uploadReleaseAsset
method: POST
path: /repos/{owner}/{repo}/releases/{release_id}/assets
description: Upload a release asset.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getReleaseAsset
method: GET
path: /repos/{owner}/{repo}/releases/assets/{asset_id}
description: Get a release asset.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateReleaseAsset
method: PATCH
path: /repos/{owner}/{repo}/releases/assets/{asset_id}
description: Update a release asset.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteReleaseAsset
method: DELETE
path: /repos/{owner}/{repo}/releases/assets/{asset_id}
description: Delete a release asset.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: content
path: /repos/{owner}/{repo}/contents
description: Repository content and file management.
operations:
- name: getRepositoryContent
method: GET
path: /repos/{owner}/{repo}/contents/{path}
description: Get repository content.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createOrUpdateFileContents
method: PUT
path: /repos/{owner}/{repo}/contents/{path}
description: Create or update file contents.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteFile
method: DELETE
path: /repos/{owner}/{repo}/contents/{path}
description: Delete a file.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getRepositoryReadme
method: GET
path: /repos/{owner}/{repo}/readme
description: Get a repository README.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: git-data
path: /repos/{owner}/{repo}/git
description: Low-level Git data operations for blobs, trees, commits, refs, and tags.
operations:
- name: createBlob
method: POST
path: /repos/{owner}/{repo}/git/blobs
description: Create a blob.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getBlob
method: GET
path: /repos/{owner}/{repo}/git/blobs/{file_sha}
description: Get a blob.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createCommit
method: POST
path: /repos/{owner}/{repo}/git/commits
description: Create a commit.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getCommitObject
method: GET
path: /repos/{owner}/{repo}/git/commits/{commit_sha}
description: Get a commit object.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listMatchingReferences
method: GET
path: /repos/{owner}/{repo}/git/matching-refs/{ref}
description: List matching references.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getReference
method: GET
path: /repos/{owner}/{repo}/git/ref/{ref}
description: Get a reference.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createReference
method: POST
path: /repos/{owner}/{repo}/git/refs
description: Create a reference.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateReference
method: PATCH
path: /repos/{owner}/{repo}/git/refs/{ref}
description: Update a reference.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteReference
method: DELETE
path: /repos/{owner}/{repo}/git/refs/{ref}
description: Delete a reference.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createTagObject
method: POST
path: /repos/{owner}/{repo}/git/tags
description: Create a tag object.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getTag
method: GET
path: /repos/{owner}/{repo}/git/tags/{tag_sha}
description: Get a tag.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createTree
method: POST
path: /repos/{owner}/{repo}/git/trees
description: Create a tree.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getTree
method: GET
path: /repos/{owner}/{repo}/git/trees/{tree_sha}
description: Get a tree.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- type: http
namespace: github-pull-requests
baseUri: https://api.github.com
description: GitHub REST API for pull requests, reviews, and review comments.
authentication:
type: bearer
token: '{{GITHUB_TOKEN}}'
resources:
- name: pull-requests
path: /repos/{owner}/{repo}/pulls
description: Pull request CRUD and listing.
operations:
- name: listPullRequests
method: GET
description: List pull requests.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createPullRequest
method: POST
description: Create a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getPullRequest
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}
description: Get a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updatePullRequest
method: PATCH
path: /repos/{owner}/{repo}/pulls/{pull_number}
description: Update a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listCommitsOnPullRequest
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}/commits
description: List commits on a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listPullRequestsFiles
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}/files
description: List pull request files.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: checkIfPullRequestHasBeenMerged
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}/merge
description: Check if a pull request has been merged.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: mergePullRequest
method: PUT
path: /repos/{owner}/{repo}/pulls/{pull_number}/merge
description: Merge a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updatePullRequestBranch
method: PUT
path: /repos/{owner}/{repo}/pulls/{pull_number}/update-branch
description: Update a pull request branch.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: review-comments
path: /repos/{owner}/{repo}/pulls
description: Pull request review comment management.
operations:
- name: listReviewCommentsInRepository
method: GET
path: /repos/{owner}/{repo}/pulls/comments
description: List review comments in a repository.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getReviewCommentForPullRequest
method: GET
path: /repos/{owner}/{repo}/pulls/comments/{comment_id}
description: Get a review comment for a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateReviewCommentForPullRequest
method: PATCH
path: /repos/{owner}/{repo}/pulls/comments/{comment_id}
description: Update a review comment.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deleteReviewCommentForPullRequest
method: DELETE
path: /repos/{owner}/{repo}/pulls/comments/{comment_id}
description: Delete a review comment.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listReviewCommentsOnPullRequest
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}/comments
description: List review comments on a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createReviewCommentForPullRequest
method: POST
path: /repos/{owner}/{repo}/pulls/{pull_number}/comments
description: Create a review comment for a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createReplyForReviewComment
method: POST
path: /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
description: Create a reply for a review comment.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: reviews
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews
description: Pull request review management.
operations:
- name: listReviewsForPullRequest
method: GET
description: List reviews for a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: createReviewForPullRequest
method: POST
description: Create a review for a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: getReviewForPullRequest
method: GET
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
description: Get a review for a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateReviewForPullRequest
method: PUT
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
description: Update a review for a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: deletePendingReviewForPullRequest
method: DELETE
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
description: Delete a pending review for a pull request.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: dismissReviewForPullRequest
method: PUT
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals
description: Dismiss a review for a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: submitReviewForPullRequest
method: POST
path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events
description: Submit a review for a pull request.
body:
type: json
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: listCommentsForPullRequestReview