@octokit/openapi 7.3.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +9963 -140
- package/generated/api.github.com.json +1055 -110
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +133 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +127 -14
- package/generated/ghes-3.2.deref.json +458 -242
- package/generated/ghes-3.2.json +694 -35
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +458 -244
- package/generated/ghes-3.3.json +694 -36
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +462 -230
- package/generated/ghes-3.4.json +703 -38
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +1548 -135
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +48182 -31728
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +9496 -4686
- package/generated/ghes-3.5.deref.json +556 -242
- package/generated/ghes-3.5.json +797 -50
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17473 -6079
- package/generated/ghes-3.6-diff-to-api.github.com.json +4604 -2146
- package/generated/ghes-3.6.deref.json +8136 -240
- package/generated/ghes-3.6.json +1109 -133
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +1018 -34
- package/generated/github.ae-diff-to-api.github.com.deref.json +24735 -16611
- package/generated/github.ae-diff-to-api.github.com.json +1390 -126
- package/generated/github.ae.deref.json +1214 -163
- package/generated/github.ae.json +821 -44
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -804,14 +804,6 @@
|
|
|
804
804
|
"write"
|
|
805
805
|
]
|
|
806
806
|
},
|
|
807
|
-
"organization_custom_roles": {
|
|
808
|
-
"type": "string",
|
|
809
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
810
|
-
"enum": [
|
|
811
|
-
"read",
|
|
812
|
-
"write"
|
|
813
|
-
]
|
|
814
|
-
},
|
|
815
807
|
"deployments": {
|
|
816
808
|
"type": "string",
|
|
817
809
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -1105,14 +1097,6 @@
|
|
|
1105
1097
|
"write"
|
|
1106
1098
|
]
|
|
1107
1099
|
},
|
|
1108
|
-
"organization_custom_roles": {
|
|
1109
|
-
"type": "string",
|
|
1110
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
1111
|
-
"enum": [
|
|
1112
|
-
"read",
|
|
1113
|
-
"write"
|
|
1114
|
-
]
|
|
1115
|
-
},
|
|
1116
1100
|
"deployments": {
|
|
1117
1101
|
"type": "string",
|
|
1118
1102
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -35178,6 +35162,40 @@
|
|
|
35178
35162
|
"type": "boolean",
|
|
35179
35163
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
35180
35164
|
"default": false
|
|
35165
|
+
},
|
|
35166
|
+
"squash_merge_commit_title": {
|
|
35167
|
+
"type": "string",
|
|
35168
|
+
"enum": [
|
|
35169
|
+
"PR_TITLE",
|
|
35170
|
+
"COMMIT_OR_PR_TITLE"
|
|
35171
|
+
],
|
|
35172
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
35173
|
+
},
|
|
35174
|
+
"squash_merge_commit_message": {
|
|
35175
|
+
"type": "string",
|
|
35176
|
+
"enum": [
|
|
35177
|
+
"PR_BODY",
|
|
35178
|
+
"COMMIT_MESSAGES",
|
|
35179
|
+
"BLANK"
|
|
35180
|
+
],
|
|
35181
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
35182
|
+
},
|
|
35183
|
+
"merge_commit_title": {
|
|
35184
|
+
"type": "string",
|
|
35185
|
+
"enum": [
|
|
35186
|
+
"PR_TITLE",
|
|
35187
|
+
"MERGE_MESSAGE"
|
|
35188
|
+
],
|
|
35189
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
35190
|
+
},
|
|
35191
|
+
"merge_commit_message": {
|
|
35192
|
+
"type": "string",
|
|
35193
|
+
"enum": [
|
|
35194
|
+
"PR_BODY",
|
|
35195
|
+
"PR_TITLE",
|
|
35196
|
+
"BLANK"
|
|
35197
|
+
],
|
|
35198
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
35181
35199
|
}
|
|
35182
35200
|
},
|
|
35183
35201
|
"required": [
|
|
@@ -45939,6 +45957,40 @@
|
|
|
45939
45957
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
45940
45958
|
"default": false
|
|
45941
45959
|
},
|
|
45960
|
+
"squash_merge_commit_title": {
|
|
45961
|
+
"type": "string",
|
|
45962
|
+
"enum": [
|
|
45963
|
+
"PR_TITLE",
|
|
45964
|
+
"COMMIT_OR_PR_TITLE"
|
|
45965
|
+
],
|
|
45966
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
45967
|
+
},
|
|
45968
|
+
"squash_merge_commit_message": {
|
|
45969
|
+
"type": "string",
|
|
45970
|
+
"enum": [
|
|
45971
|
+
"PR_BODY",
|
|
45972
|
+
"COMMIT_MESSAGES",
|
|
45973
|
+
"BLANK"
|
|
45974
|
+
],
|
|
45975
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
45976
|
+
},
|
|
45977
|
+
"merge_commit_title": {
|
|
45978
|
+
"type": "string",
|
|
45979
|
+
"enum": [
|
|
45980
|
+
"PR_TITLE",
|
|
45981
|
+
"MERGE_MESSAGE"
|
|
45982
|
+
],
|
|
45983
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
45984
|
+
},
|
|
45985
|
+
"merge_commit_message": {
|
|
45986
|
+
"type": "string",
|
|
45987
|
+
"enum": [
|
|
45988
|
+
"PR_BODY",
|
|
45989
|
+
"PR_TITLE",
|
|
45990
|
+
"BLANK"
|
|
45991
|
+
],
|
|
45992
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
45993
|
+
},
|
|
45942
45994
|
"archived": {
|
|
45943
45995
|
"type": "boolean",
|
|
45944
45996
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -101201,6 +101253,14 @@
|
|
|
101201
101253
|
]
|
|
101202
101254
|
}
|
|
101203
101255
|
}
|
|
101256
|
+
},
|
|
101257
|
+
"examples": {
|
|
101258
|
+
"default": {
|
|
101259
|
+
"summary": "Example request body",
|
|
101260
|
+
"value": {
|
|
101261
|
+
"permissions": "write"
|
|
101262
|
+
}
|
|
101263
|
+
}
|
|
101204
101264
|
}
|
|
101205
101265
|
}
|
|
101206
101266
|
}
|
|
@@ -105948,7 +106008,8 @@
|
|
|
105948
106008
|
"type": "User",
|
|
105949
106009
|
"site_admin": false
|
|
105950
106010
|
},
|
|
105951
|
-
"author_association": "COLLABORATOR"
|
|
106011
|
+
"author_association": "COLLABORATOR",
|
|
106012
|
+
"state_reason": "completed"
|
|
105952
106013
|
}
|
|
105953
106014
|
]
|
|
105954
106015
|
}
|
|
@@ -108723,7 +108784,8 @@
|
|
|
108723
108784
|
"type": "User",
|
|
108724
108785
|
"site_admin": false
|
|
108725
108786
|
},
|
|
108726
|
-
"author_association": "COLLABORATOR"
|
|
108787
|
+
"author_association": "COLLABORATOR",
|
|
108788
|
+
"state_reason": "completed"
|
|
108727
108789
|
}
|
|
108728
108790
|
}
|
|
108729
108791
|
}
|
|
@@ -112657,7 +112719,8 @@
|
|
|
112657
112719
|
"closed_at": null,
|
|
112658
112720
|
"created_at": "2011-04-22T13:33:48Z",
|
|
112659
112721
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
112660
|
-
"author_association": "COLLABORATOR"
|
|
112722
|
+
"author_association": "COLLABORATOR",
|
|
112723
|
+
"state_reason": "completed"
|
|
112661
112724
|
}
|
|
112662
112725
|
}
|
|
112663
112726
|
]
|
|
@@ -116525,7 +116588,8 @@
|
|
|
116525
116588
|
"closed_at": null,
|
|
116526
116589
|
"created_at": "2011-04-22T13:33:48Z",
|
|
116527
116590
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
116528
|
-
"author_association": "COLLABORATOR"
|
|
116591
|
+
"author_association": "COLLABORATOR",
|
|
116592
|
+
"state_reason": "completed"
|
|
116529
116593
|
}
|
|
116530
116594
|
}
|
|
116531
116595
|
}
|
|
@@ -119158,7 +119222,8 @@
|
|
|
119158
119222
|
"type": "User",
|
|
119159
119223
|
"site_admin": false
|
|
119160
119224
|
},
|
|
119161
|
-
"author_association": "COLLABORATOR"
|
|
119225
|
+
"author_association": "COLLABORATOR",
|
|
119226
|
+
"state_reason": "completed"
|
|
119162
119227
|
}
|
|
119163
119228
|
}
|
|
119164
119229
|
}
|
|
@@ -119343,6 +119408,12 @@
|
|
|
119343
119408
|
"closed"
|
|
119344
119409
|
]
|
|
119345
119410
|
},
|
|
119411
|
+
"state_reason": {
|
|
119412
|
+
"type": "string",
|
|
119413
|
+
"nullable": true,
|
|
119414
|
+
"description": "The reason for the current state",
|
|
119415
|
+
"example": "not_planned"
|
|
119416
|
+
},
|
|
119346
119417
|
"milestone": {
|
|
119347
119418
|
"oneOf": [
|
|
119348
119419
|
{
|
|
@@ -121897,7 +121968,8 @@
|
|
|
121897
121968
|
"type": "User",
|
|
121898
121969
|
"site_admin": false
|
|
121899
121970
|
},
|
|
121900
|
-
"author_association": "COLLABORATOR"
|
|
121971
|
+
"author_association": "COLLABORATOR",
|
|
121972
|
+
"state_reason": "completed"
|
|
121901
121973
|
}
|
|
121902
121974
|
}
|
|
121903
121975
|
}
|
|
@@ -124668,7 +124740,8 @@
|
|
|
124668
124740
|
"type": "User",
|
|
124669
124741
|
"site_admin": false
|
|
124670
124742
|
},
|
|
124671
|
-
"author_association": "COLLABORATOR"
|
|
124743
|
+
"author_association": "COLLABORATOR",
|
|
124744
|
+
"state_reason": "completed"
|
|
124672
124745
|
}
|
|
124673
124746
|
}
|
|
124674
124747
|
}
|
|
@@ -149157,7 +149230,8 @@
|
|
|
149157
149230
|
"body": "...",
|
|
149158
149231
|
"score": 1,
|
|
149159
149232
|
"locked": true,
|
|
149160
|
-
"author_association": "COLLABORATOR"
|
|
149233
|
+
"author_association": "COLLABORATOR",
|
|
149234
|
+
"state_reason": "completed"
|
|
149161
149235
|
}
|
|
149162
149236
|
]
|
|
149163
149237
|
}
|
|
@@ -159816,6 +159890,40 @@
|
|
|
159816
159890
|
"type": "boolean",
|
|
159817
159891
|
"example": false
|
|
159818
159892
|
},
|
|
159893
|
+
"squash_merge_commit_title": {
|
|
159894
|
+
"type": "string",
|
|
159895
|
+
"enum": [
|
|
159896
|
+
"PR_TITLE",
|
|
159897
|
+
"COMMIT_OR_PR_TITLE"
|
|
159898
|
+
],
|
|
159899
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
159900
|
+
},
|
|
159901
|
+
"squash_merge_commit_message": {
|
|
159902
|
+
"type": "string",
|
|
159903
|
+
"enum": [
|
|
159904
|
+
"PR_BODY",
|
|
159905
|
+
"COMMIT_MESSAGES",
|
|
159906
|
+
"BLANK"
|
|
159907
|
+
],
|
|
159908
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
159909
|
+
},
|
|
159910
|
+
"merge_commit_title": {
|
|
159911
|
+
"type": "string",
|
|
159912
|
+
"enum": [
|
|
159913
|
+
"PR_TITLE",
|
|
159914
|
+
"MERGE_MESSAGE"
|
|
159915
|
+
],
|
|
159916
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
159917
|
+
},
|
|
159918
|
+
"merge_commit_message": {
|
|
159919
|
+
"type": "string",
|
|
159920
|
+
"enum": [
|
|
159921
|
+
"PR_BODY",
|
|
159922
|
+
"PR_TITLE",
|
|
159923
|
+
"BLANK"
|
|
159924
|
+
],
|
|
159925
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
159926
|
+
},
|
|
159819
159927
|
"has_downloads": {
|
|
159820
159928
|
"description": "Whether downloads are enabled.",
|
|
159821
159929
|
"default": true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1991,6 +1991,40 @@
|
|
|
1991
1991
|
"type": "boolean",
|
|
1992
1992
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
1993
1993
|
"default": false
|
|
1994
|
+
},
|
|
1995
|
+
"squash_merge_commit_title": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
"enum": [
|
|
1998
|
+
"PR_TITLE",
|
|
1999
|
+
"COMMIT_OR_PR_TITLE"
|
|
2000
|
+
],
|
|
2001
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
2002
|
+
},
|
|
2003
|
+
"squash_merge_commit_message": {
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"enum": [
|
|
2006
|
+
"PR_BODY",
|
|
2007
|
+
"COMMIT_MESSAGES",
|
|
2008
|
+
"BLANK"
|
|
2009
|
+
],
|
|
2010
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
2011
|
+
},
|
|
2012
|
+
"merge_commit_title": {
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"enum": [
|
|
2015
|
+
"PR_TITLE",
|
|
2016
|
+
"MERGE_MESSAGE"
|
|
2017
|
+
],
|
|
2018
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
2019
|
+
},
|
|
2020
|
+
"merge_commit_message": {
|
|
2021
|
+
"type": "string",
|
|
2022
|
+
"enum": [
|
|
2023
|
+
"PR_BODY",
|
|
2024
|
+
"PR_TITLE",
|
|
2025
|
+
"BLANK"
|
|
2026
|
+
],
|
|
2027
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
1994
2028
|
}
|
|
1995
2029
|
},
|
|
1996
2030
|
"required": [
|
|
@@ -2417,6 +2451,40 @@
|
|
|
2417
2451
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
2418
2452
|
"default": false
|
|
2419
2453
|
},
|
|
2454
|
+
"squash_merge_commit_title": {
|
|
2455
|
+
"type": "string",
|
|
2456
|
+
"enum": [
|
|
2457
|
+
"PR_TITLE",
|
|
2458
|
+
"COMMIT_OR_PR_TITLE"
|
|
2459
|
+
],
|
|
2460
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
2461
|
+
},
|
|
2462
|
+
"squash_merge_commit_message": {
|
|
2463
|
+
"type": "string",
|
|
2464
|
+
"enum": [
|
|
2465
|
+
"PR_BODY",
|
|
2466
|
+
"COMMIT_MESSAGES",
|
|
2467
|
+
"BLANK"
|
|
2468
|
+
],
|
|
2469
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
2470
|
+
},
|
|
2471
|
+
"merge_commit_title": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"enum": [
|
|
2474
|
+
"PR_TITLE",
|
|
2475
|
+
"MERGE_MESSAGE"
|
|
2476
|
+
],
|
|
2477
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
2478
|
+
},
|
|
2479
|
+
"merge_commit_message": {
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"enum": [
|
|
2482
|
+
"PR_BODY",
|
|
2483
|
+
"PR_TITLE",
|
|
2484
|
+
"BLANK"
|
|
2485
|
+
],
|
|
2486
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
2487
|
+
},
|
|
2420
2488
|
"archived": {
|
|
2421
2489
|
"type": "boolean",
|
|
2422
2490
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -4378,6 +4446,14 @@
|
|
|
4378
4446
|
]
|
|
4379
4447
|
}
|
|
4380
4448
|
}
|
|
4449
|
+
},
|
|
4450
|
+
"examples": {
|
|
4451
|
+
"default": {
|
|
4452
|
+
"summary": "Example request body",
|
|
4453
|
+
"value": {
|
|
4454
|
+
"permissions": "write"
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4381
4457
|
}
|
|
4382
4458
|
}
|
|
4383
4459
|
}
|
|
@@ -5031,6 +5107,12 @@
|
|
|
5031
5107
|
"closed"
|
|
5032
5108
|
]
|
|
5033
5109
|
},
|
|
5110
|
+
"state_reason": {
|
|
5111
|
+
"type": "string",
|
|
5112
|
+
"nullable": true,
|
|
5113
|
+
"description": "The reason for the current state",
|
|
5114
|
+
"example": "not_planned"
|
|
5115
|
+
},
|
|
5034
5116
|
"milestone": {
|
|
5035
5117
|
"oneOf": [
|
|
5036
5118
|
{
|
|
@@ -7362,6 +7444,40 @@
|
|
|
7362
7444
|
"type": "boolean",
|
|
7363
7445
|
"example": false
|
|
7364
7446
|
},
|
|
7447
|
+
"squash_merge_commit_title": {
|
|
7448
|
+
"type": "string",
|
|
7449
|
+
"enum": [
|
|
7450
|
+
"PR_TITLE",
|
|
7451
|
+
"COMMIT_OR_PR_TITLE"
|
|
7452
|
+
],
|
|
7453
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
7454
|
+
},
|
|
7455
|
+
"squash_merge_commit_message": {
|
|
7456
|
+
"type": "string",
|
|
7457
|
+
"enum": [
|
|
7458
|
+
"PR_BODY",
|
|
7459
|
+
"COMMIT_MESSAGES",
|
|
7460
|
+
"BLANK"
|
|
7461
|
+
],
|
|
7462
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
7463
|
+
},
|
|
7464
|
+
"merge_commit_title": {
|
|
7465
|
+
"type": "string",
|
|
7466
|
+
"enum": [
|
|
7467
|
+
"PR_TITLE",
|
|
7468
|
+
"MERGE_MESSAGE"
|
|
7469
|
+
],
|
|
7470
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
7471
|
+
},
|
|
7472
|
+
"merge_commit_message": {
|
|
7473
|
+
"type": "string",
|
|
7474
|
+
"enum": [
|
|
7475
|
+
"PR_BODY",
|
|
7476
|
+
"PR_TITLE",
|
|
7477
|
+
"BLANK"
|
|
7478
|
+
],
|
|
7479
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
7480
|
+
},
|
|
7365
7481
|
"has_downloads": {
|
|
7366
7482
|
"description": "Whether downloads are enabled.",
|
|
7367
7483
|
"default": true,
|
|
@@ -8280,14 +8396,6 @@
|
|
|
8280
8396
|
"write"
|
|
8281
8397
|
]
|
|
8282
8398
|
},
|
|
8283
|
-
"organization_custom_roles": {
|
|
8284
|
-
"type": "string",
|
|
8285
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8286
|
-
"enum": [
|
|
8287
|
-
"read",
|
|
8288
|
-
"write"
|
|
8289
|
-
]
|
|
8290
|
-
},
|
|
8291
8399
|
"deployments": {
|
|
8292
8400
|
"type": "string",
|
|
8293
8401
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22549,7 +22657,8 @@
|
|
|
22549
22657
|
"type": "User",
|
|
22550
22658
|
"site_admin": false
|
|
22551
22659
|
},
|
|
22552
|
-
"author_association": "COLLABORATOR"
|
|
22660
|
+
"author_association": "COLLABORATOR",
|
|
22661
|
+
"state_reason": "completed"
|
|
22553
22662
|
}
|
|
22554
22663
|
]
|
|
22555
22664
|
},
|
|
@@ -22709,7 +22818,8 @@
|
|
|
22709
22818
|
"type": "User",
|
|
22710
22819
|
"site_admin": false
|
|
22711
22820
|
},
|
|
22712
|
-
"author_association": "COLLABORATOR"
|
|
22821
|
+
"author_association": "COLLABORATOR",
|
|
22822
|
+
"state_reason": "completed"
|
|
22713
22823
|
}
|
|
22714
22824
|
},
|
|
22715
22825
|
"issue-event-items": {
|
|
@@ -22877,7 +22987,8 @@
|
|
|
22877
22987
|
"closed_at": null,
|
|
22878
22988
|
"created_at": "2011-04-22T13:33:48Z",
|
|
22879
22989
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
22880
|
-
"author_association": "COLLABORATOR"
|
|
22990
|
+
"author_association": "COLLABORATOR",
|
|
22991
|
+
"state_reason": "completed"
|
|
22881
22992
|
}
|
|
22882
22993
|
}
|
|
22883
22994
|
]
|
|
@@ -23086,7 +23197,8 @@
|
|
|
23086
23197
|
"closed_at": null,
|
|
23087
23198
|
"created_at": "2011-04-22T13:33:48Z",
|
|
23088
23199
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
23089
|
-
"author_association": "COLLABORATOR"
|
|
23200
|
+
"author_association": "COLLABORATOR",
|
|
23201
|
+
"state_reason": "completed"
|
|
23090
23202
|
}
|
|
23091
23203
|
}
|
|
23092
23204
|
},
|
|
@@ -24493,7 +24605,8 @@
|
|
|
24493
24605
|
"body": "...",
|
|
24494
24606
|
"score": 1,
|
|
24495
24607
|
"locked": true,
|
|
24496
|
-
"author_association": "COLLABORATOR"
|
|
24608
|
+
"author_association": "COLLABORATOR",
|
|
24609
|
+
"state_reason": "completed"
|
|
24497
24610
|
}
|
|
24498
24611
|
]
|
|
24499
24612
|
}
|