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
"description": "Details of the item to add to the project.",
25377
+
"description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.",
25378
25378
"content": {
25379
25379
"application/json": {
25380
25380
"schema": {
25381
-
"type": "object",
25382
-
"properties": {
25383
-
"type": {
25384
-
"type": "string",
25385
-
"enum": [
25386
-
"Issue",
25387
-
"PullRequest"
25388
-
],
25389
-
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25381
+
"oneOf": [
25382
+
{
25383
+
"type": "object",
25384
+
"properties": {
25385
+
"type": {
25386
+
"type": "string",
25387
+
"enum": [
25388
+
"Issue",
25389
+
"PullRequest"
25390
+
],
25391
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25392
+
},
25393
+
"id": {
25394
+
"type": "integer",
25395
+
"description": "The unique ID of the issue or pull request to add to the project."
25396
+
}
25397
+
},
25398
+
"required": [
25399
+
"type",
25400
+
"id"
25401
+
]
25390
25402
},
25391
-
"id": {
25392
-
"type": "integer",
25393
-
"description": "The numeric ID of the issue or pull request to add to the project."
25403
+
{
25404
+
"type": "object",
25405
+
"properties": {
25406
+
"type": {
25407
+
"type": "string",
25408
+
"enum": [
25409
+
"Issue",
25410
+
"PullRequest"
25411
+
],
25412
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25413
+
},
25414
+
"owner": {
25415
+
"type": "string",
25416
+
"description": "The repository owner login."
25417
+
},
25418
+
"repo": {
25419
+
"type": "string",
25420
+
"description": "The repository name."
25421
+
},
25422
+
"number": {
25423
+
"type": "integer",
25424
+
"description": "The issue or pull request number."
25425
+
}
25426
+
},
25427
+
"required": [
25428
+
"type",
25429
+
"owner",
25430
+
"repo",
25431
+
"number"
25432
+
]
25394
25433
}
25395
-
},
25396
-
"required": [
25397
-
"type",
25398
-
"id"
25399
25434
]
25400
25435
},
25401
25436
"examples": {
25402
-
"issue": {
25437
+
"issue-with-id": {
25438
+
"summary": "Add issue by database ID",
25403
25439
"value": {
25404
25440
"type": "Issue",
25405
25441
"id": 3
25406
25442
}
25407
25443
},
25408
-
"pull_request": {
25444
+
"pull_request-with-id": {
25445
+
"summary": "Add pull request by database ID",
25409
25446
"value": {
25410
25447
"type": "PullRequest",
25411
25448
"id": 3
25412
25449
}
25450
+
},
25451
+
"issue-with-nwo": {
25452
+
"summary": "Add issue by repository and number",
25453
+
"value": {
25454
+
"type": "Issue",
25455
+
"owner": "octocat",
25456
+
"repo": "hello-world",
25457
+
"number": 42
25458
+
}
25459
+
},
25460
+
"pull_request-with-nwo": {
25461
+
"summary": "Add pull request by repository and number",
25462
+
"value": {
25463
+
"type": "PullRequest",
25464
+
"owner": "octocat",
25465
+
"repo": "hello-world",
25466
+
"number": 123
25467
+
}
25413
25468
}
25414
25469
}
25415
25470
}
@@ -76126,42 +76181,97 @@
76126
76181
],
76127
76182
"requestBody": {
76128
76183
"required": true,
76129
-
"description": "Details of the item to add to the project.",
76184
+
"description": "Details of the item to add to the project. You can specify either the database ID or the repository owner, name, and issue/PR number.",
76130
76185
"content": {
76131
76186
"application/json": {
76132
76187
"schema": {
76133
-
"type": "object",
76134
-
"properties": {
76135
-
"type": {
76136
-
"type": "string",
76137
-
"enum": [
76138
-
"Issue",
76139
-
"PullRequest"
76140
-
],
76141
-
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
76188
+
"oneOf": [
76189
+
{
76190
+
"type": "object",
76191
+
"properties": {
76192
+
"type": {
76193
+
"type": "string",
76194
+
"enum": [
76195
+
"Issue",
76196
+
"PullRequest"
76197
+
],
76198
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
76199
+
},
76200
+
"id": {
76201
+
"type": "integer",
76202
+
"description": "The unique ID of the issue or pull request to add to the project."
76203
+
}
76204
+
},
76205
+
"required": [
76206
+
"type",
76207
+
"id"
76208
+
]
76142
76209
},
76143
-
"id": {
76144
-
"type": "integer",
76145
-
"description": "The numeric ID of the issue or pull request to add to the project."
76210
+
{
76211
+
"type": "object",
76212
+
"properties": {
76213
+
"type": {
76214
+
"type": "string",
76215
+
"enum": [
76216
+
"Issue",
76217
+
"PullRequest"
76218
+
],
76219
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
76220
+
},
76221
+
"owner": {
76222
+
"type": "string",
76223
+
"description": "The repository owner login."
76224
+
},
76225
+
"repo": {
76226
+
"type": "string",
76227
+
"description": "The repository name."
76228
+
},
76229
+
"number": {
76230
+
"type": "integer",
76231
+
"description": "The issue or pull request number."
76232
+
}
76233
+
},
76234
+
"required": [
76235
+
"type",
76236
+
"owner",
76237
+
"repo",
76238
+
"number"
76239
+
]
76146
76240
}
76147
-
},
76148
-
"required": [
76149
-
"type",
76150
-
"id"
76151
76241
]
76152
76242
},
76153
76243
"examples": {
76154
-
"issue": {
76244
+
"issue-with-id": {
76245
+
"summary": "Add issue by database ID",
76155
76246
"value": {
76156
76247
"type": "Issue",
76157
76248
"id": 3
76158
76249
}
76159
76250
},
76160
-
"pull_request": {
76251
+
"pull_request-with-id": {
76252
+
"summary": "Add pull request by database ID",
76161
76253
"value": {
76162
76254
"type": "PullRequest",
76163
76255
"id": 3
76164
76256
}
76257
+
},
76258
+
"issue-with-nwo": {
76259
+
"summary": "Add issue by repository and number",
76260
+
"value": {
76261
+
"type": "Issue",
76262
+
"owner": "octocat",
76263
+
"repo": "hello-world",
76264
+
"number": 42
76265
+
}
76266
+
},
76267
+
"pull_request-with-nwo": {
76268
+
"summary": "Add pull request by repository and number",
0 commit comments