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.",
25235
+
"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.",
25236
25236
"content": {
25237
25237
"application/json": {
25238
25238
"schema": {
25239
-
"type": "object",
25240
-
"properties": {
25241
-
"type": {
25242
-
"type": "string",
25243
-
"enum": [
25244
-
"Issue",
25245
-
"PullRequest"
25246
-
],
25247
-
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25239
+
"oneOf": [
25240
+
{
25241
+
"type": "object",
25242
+
"properties": {
25243
+
"type": {
25244
+
"type": "string",
25245
+
"enum": [
25246
+
"Issue",
25247
+
"PullRequest"
25248
+
],
25249
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25250
+
},
25251
+
"id": {
25252
+
"type": "integer",
25253
+
"description": "The unique ID of the issue or pull request to add to the project."
25254
+
}
25255
+
},
25256
+
"required": [
25257
+
"type",
25258
+
"id"
25259
+
]
25248
25260
},
25249
-
"id": {
25250
-
"type": "integer",
25251
-
"description": "The numeric ID of the issue or pull request to add to the project."
25261
+
{
25262
+
"type": "object",
25263
+
"properties": {
25264
+
"type": {
25265
+
"type": "string",
25266
+
"enum": [
25267
+
"Issue",
25268
+
"PullRequest"
25269
+
],
25270
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
25271
+
},
25272
+
"owner": {
25273
+
"type": "string",
25274
+
"description": "The repository owner login."
25275
+
},
25276
+
"repo": {
25277
+
"type": "string",
25278
+
"description": "The repository name."
25279
+
},
25280
+
"number": {
25281
+
"type": "integer",
25282
+
"description": "The issue or pull request number."
25283
+
}
25284
+
},
25285
+
"required": [
25286
+
"type",
25287
+
"owner",
25288
+
"repo",
25289
+
"number"
25290
+
]
25252
25291
}
25253
-
},
25254
-
"required": [
25255
-
"type",
25256
-
"id"
25257
25292
]
25258
25293
},
25259
25294
"examples": {
25260
-
"issue": {
25295
+
"issue-with-id": {
25296
+
"summary": "Add issue by database ID",
25261
25297
"value": {
25262
25298
"type": "Issue",
25263
25299
"id": 3
25264
25300
}
25265
25301
},
25266
-
"pull_request": {
25302
+
"pull_request-with-id": {
25303
+
"summary": "Add pull request by database ID",
25267
25304
"value": {
25268
25305
"type": "PullRequest",
25269
25306
"id": 3
25270
25307
}
25308
+
},
25309
+
"issue-with-nwo": {
25310
+
"summary": "Add issue by repository and number",
25311
+
"value": {
25312
+
"type": "Issue",
25313
+
"owner": "octocat",
25314
+
"repo": "hello-world",
25315
+
"number": 42
25316
+
}
25317
+
},
25318
+
"pull_request-with-nwo": {
25319
+
"summary": "Add pull request by repository and number",
25320
+
"value": {
25321
+
"type": "PullRequest",
25322
+
"owner": "octocat",
25323
+
"repo": "hello-world",
25324
+
"number": 123
25325
+
}
25271
25326
}
25272
25327
}
25273
25328
}
@@ -75743,42 +75798,97 @@
75743
75798
],
75744
75799
"requestBody": {
75745
75800
"required": true,
75746
-
"description": "Details of the item to add to the project.",
75801
+
"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.",
75747
75802
"content": {
75748
75803
"application/json": {
75749
75804
"schema": {
75750
-
"type": "object",
75751
-
"properties": {
75752
-
"type": {
75753
-
"type": "string",
75754
-
"enum": [
75755
-
"Issue",
75756
-
"PullRequest"
75757
-
],
75758
-
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
75805
+
"oneOf": [
75806
+
{
75807
+
"type": "object",
75808
+
"properties": {
75809
+
"type": {
75810
+
"type": "string",
75811
+
"enum": [
75812
+
"Issue",
75813
+
"PullRequest"
75814
+
],
75815
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
75816
+
},
75817
+
"id": {
75818
+
"type": "integer",
75819
+
"description": "The unique ID of the issue or pull request to add to the project."
75820
+
}
75821
+
},
75822
+
"required": [
75823
+
"type",
75824
+
"id"
75825
+
]
75759
75826
},
75760
-
"id": {
75761
-
"type": "integer",
75762
-
"description": "The numeric ID of the issue or pull request to add to the project."
75827
+
{
75828
+
"type": "object",
75829
+
"properties": {
75830
+
"type": {
75831
+
"type": "string",
75832
+
"enum": [
75833
+
"Issue",
75834
+
"PullRequest"
75835
+
],
75836
+
"description": "The type of item to add to the project. Must be either Issue or PullRequest."
75837
+
},
75838
+
"owner": {
75839
+
"type": "string",
75840
+
"description": "The repository owner login."
75841
+
},
75842
+
"repo": {
75843
+
"type": "string",
75844
+
"description": "The repository name."
75845
+
},
75846
+
"number": {
75847
+
"type": "integer",
75848
+
"description": "The issue or pull request number."
75849
+
}
75850
+
},
75851
+
"required": [
75852
+
"type",
75853
+
"owner",
75854
+
"repo",
75855
+
"number"
75856
+
]
75763
75857
}
75764
-
},
75765
-
"required": [
75766
-
"type",
75767
-
"id"
75768
75858
]
75769
75859
},
75770
75860
"examples": {
75771
-
"issue": {
75861
+
"issue-with-id": {
75862
+
"summary": "Add issue by database ID",
75772
75863
"value": {
75773
75864
"type": "Issue",
75774
75865
"id": 3
75775
75866
}
75776
75867
},
75777
-
"pull_request": {
75868
+
"pull_request-with-id": {
75869
+
"summary": "Add pull request by database ID",
75778
75870
"value": {
75779
75871
"type": "PullRequest",
75780
75872
"id": 3
75781
75873
}
75874
+
},
75875
+
"issue-with-nwo": {
75876
+
"summary": "Add issue by repository and number",
75877
+
"value": {
75878
+
"type": "Issue",
75879
+
"owner": "octocat",
75880
+
"repo": "hello-world",
75881
+
"number": 42
75882
+
}
75883
+
},
75884
+
"pull_request-with-nwo": {
75885
+
"summary": "Add pull request by repository and number",
0 commit comments