@octokit/openapi 5.12.0 → 5.13.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.12.0",
4
+ "version": "5.13.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -290,7 +290,7 @@
290
290
  "url": "https://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app"
291
291
  },
292
292
  "requestBody": {
293
- "required": false,
293
+ "required": true,
294
294
  "content": {
295
295
  "application/json": {
296
296
  "schema": {
@@ -3481,6 +3481,11 @@
3481
3481
  "schema": {
3482
3482
  "type": "array",
3483
3483
  "items": { "$ref": "#/components/schemas/event" }
3484
+ },
3485
+ "examples": {
3486
+ "default": {
3487
+ "$ref": "#/components/examples/public-events-items"
3488
+ }
3484
3489
  }
3485
3490
  }
3486
3491
  }
@@ -5242,6 +5247,11 @@
5242
5247
  "schema": {
5243
5248
  "type": "array",
5244
5249
  "items": { "$ref": "#/components/schemas/event" }
5250
+ },
5251
+ "examples": {
5252
+ "default": {
5253
+ "$ref": "#/components/examples/public-repo-events-items"
5254
+ }
5245
5255
  }
5246
5256
  }
5247
5257
  }
@@ -5325,7 +5335,7 @@
5325
5335
  "type": "object",
5326
5336
  "properties": {
5327
5337
  "last_read_at": {
5328
- "description": "Describes the last point that notifications were checked.",
5338
+ "description": "Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.",
5329
5339
  "type": "string",
5330
5340
  "format": "date-time"
5331
5341
  },
@@ -5334,6 +5344,14 @@
5334
5344
  "type": "boolean"
5335
5345
  }
5336
5346
  }
5347
+ },
5348
+ "examples": {
5349
+ "default": {
5350
+ "value": {
5351
+ "last_read_at": "2022-06-10T00:00:00Z",
5352
+ "read": true
5353
+ }
5354
+ }
5337
5355
  }
5338
5356
  }
5339
5357
  }
@@ -5346,6 +5364,11 @@
5346
5364
  "schema": {
5347
5365
  "type": "object",
5348
5366
  "properties": { "message": { "type": "string" } }
5367
+ },
5368
+ "examples": {
5369
+ "default": {
5370
+ "$ref": "#/components/examples/notifications-mark-read"
5371
+ }
5349
5372
  }
5350
5373
  }
5351
5374
  }
@@ -5485,7 +5508,8 @@
5485
5508
  }
5486
5509
  },
5487
5510
  "type": "object"
5488
- }
5511
+ },
5512
+ "examples": { "default": { "value": { "ignored": false } } }
5489
5513
  }
5490
5514
  }
5491
5515
  },
@@ -23507,6 +23531,78 @@
23507
23531
  "x-octokit": {}
23508
23532
  }
23509
23533
  },
23534
+ "/repos/{owner}/{repo}/dependency-graph/snapshots": {
23535
+ "post": {
23536
+ "summary": "Create a snapshot of dependencies for a repository",
23537
+ "description": "Create a new snapshot of a repository's dependencies. You must authenticate using an access token with the `repo` scope to use this endpoint for a repository that the requesting user has access to.",
23538
+ "tags": ["dependency-graph"],
23539
+ "operationId": "dependency-graph/create-repository-snapshot",
23540
+ "externalDocs": {
23541
+ "description": "API method documentation",
23542
+ "url": "https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository"
23543
+ },
23544
+ "parameters": [
23545
+ { "$ref": "#/components/parameters/owner" },
23546
+ { "$ref": "#/components/parameters/repo" }
23547
+ ],
23548
+ "requestBody": {
23549
+ "required": true,
23550
+ "content": {
23551
+ "application/json": {
23552
+ "schema": { "$ref": "#/components/schemas/snapshot" },
23553
+ "examples": {
23554
+ "example-of-a-dependency-submission": {
23555
+ "$ref": "#/components/examples/dependency-graph-create-snapshot-request"
23556
+ }
23557
+ }
23558
+ }
23559
+ }
23560
+ },
23561
+ "responses": {
23562
+ "201": {
23563
+ "description": "Response",
23564
+ "content": {
23565
+ "application/json": {
23566
+ "schema": {
23567
+ "type": "object",
23568
+ "required": ["id", "created_at", "result", "message"],
23569
+ "properties": {
23570
+ "id": {
23571
+ "type": "integer",
23572
+ "description": "ID of the created snapshot."
23573
+ },
23574
+ "created_at": {
23575
+ "type": "string",
23576
+ "description": "The time at which the snapshot was created."
23577
+ },
23578
+ "result": {
23579
+ "type": "string",
23580
+ "description": "Either \"SUCCESS\", \"ACCEPTED\", or \"INVALID\". \"SUCCESS\" indicates that the snapshot was successfully created and the repository's dependencies were updated. \"ACCEPTED\" indicates that the snapshot was successfully created, but the repository's dependencies were not updated. \"INVALID\" indicates that the snapshot was malformed."
23581
+ },
23582
+ "message": {
23583
+ "type": "string",
23584
+ "description": "A message providing further details about the result, such as why the dependencies were not updated."
23585
+ }
23586
+ }
23587
+ },
23588
+ "examples": {
23589
+ "example-of-a-dependency-submission": {
23590
+ "$ref": "#/components/examples/dependency-graph-create-snapshot-success"
23591
+ }
23592
+ }
23593
+ }
23594
+ }
23595
+ }
23596
+ },
23597
+ "x-github": {
23598
+ "githubCloudOnly": true,
23599
+ "enabledForGitHubApps": true,
23600
+ "category": "dependency-graph",
23601
+ "subcategory": "dependency-submission"
23602
+ },
23603
+ "x-octokit": {}
23604
+ }
23605
+ },
23510
23606
  "/repos/{owner}/{repo}/deployments": {
23511
23607
  "get": {
23512
23608
  "summary": "List deployments",
@@ -34210,7 +34306,7 @@
34210
34306
  "/repos/{owner}/{repo}/vulnerability-alerts": {
34211
34307
  "get": {
34212
34308
  "summary": "Check if vulnerability alerts are enabled for a repository",
34213
- "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".",
34309
+ "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://docs.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".",
34214
34310
  "tags": ["repos"],
34215
34311
  "operationId": "repos/check-vulnerability-alerts",
34216
34312
  "externalDocs": {
@@ -37628,6 +37724,12 @@
37628
37724
  "default": "member"
37629
37725
  }
37630
37726
  }
37727
+ },
37728
+ "examples": {
37729
+ "default": {
37730
+ "summary": "Assign the member role for a user in a team",
37731
+ "value": { "role": "member" }
37732
+ }
37631
37733
  }
37632
37734
  }
37633
37735
  }
@@ -42474,6 +42576,11 @@
42474
42576
  "schema": {
42475
42577
  "type": "array",
42476
42578
  "items": { "$ref": "#/components/schemas/event" }
42579
+ },
42580
+ "examples": {
42581
+ "default": {
42582
+ "$ref": "#/components/examples/user-events-items"
42583
+ }
42477
42584
  }
42478
42585
  }
42479
42586
  }
@@ -42512,6 +42619,11 @@
42512
42619
  "schema": {
42513
42620
  "type": "array",
42514
42621
  "items": { "$ref": "#/components/schemas/event" }
42622
+ },
42623
+ "examples": {
42624
+ "default": {
42625
+ "$ref": "#/components/examples/user-org-events-items"
42626
+ }
42515
42627
  }
42516
42628
  }
42517
42629
  }
@@ -42549,6 +42661,11 @@
42549
42661
  "schema": {
42550
42662
  "type": "array",
42551
42663
  "items": { "$ref": "#/components/schemas/event" }
42664
+ },
42665
+ "examples": {
42666
+ "default": {
42667
+ "$ref": "#/components/examples/user-public-events-items"
42668
+ }
42552
42669
  }
42553
42670
  }
42554
42671
  }
@@ -43325,6 +43442,11 @@
43325
43442
  "schema": {
43326
43443
  "type": "array",
43327
43444
  "items": { "$ref": "#/components/schemas/event" }
43445
+ },
43446
+ "examples": {
43447
+ "default": {
43448
+ "$ref": "#/components/examples/user-received-events-items"
43449
+ }
43328
43450
  }
43329
43451
  }
43330
43452
  }
@@ -43362,6 +43484,11 @@
43362
43484
  "schema": {
43363
43485
  "type": "array",
43364
43486
  "items": { "$ref": "#/components/schemas/event" }
43487
+ },
43488
+ "examples": {
43489
+ "default": {
43490
+ "$ref": "#/components/examples/user-received-public-events-items"
43491
+ }
43365
43492
  }
43366
43493
  }
43367
43494
  }
@@ -55910,6 +56037,166 @@
55910
56037
  ]
55911
56038
  }
55912
56039
  },
56040
+ "metadata": {
56041
+ "title": "metadata",
56042
+ "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.",
56043
+ "type": "object",
56044
+ "maxProperties": 8,
56045
+ "additionalProperties": {
56046
+ "nullable": true,
56047
+ "anyOf": [
56048
+ { "type": "string" },
56049
+ { "type": "number" },
56050
+ { "type": "boolean" }
56051
+ ]
56052
+ }
56053
+ },
56054
+ "dependency": {
56055
+ "title": "Dependency",
56056
+ "description": "A single package dependency.",
56057
+ "type": "object",
56058
+ "properties": {
56059
+ "package_url": {
56060
+ "type": "string",
56061
+ "description": "Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details.",
56062
+ "example": "pkg:/npm/%40actions/http-client@1.0.11",
56063
+ "pattern": "^pkg"
56064
+ },
56065
+ "metadata": { "$ref": "#/components/schemas/metadata" },
56066
+ "relationship": {
56067
+ "type": "string",
56068
+ "description": "A notation of whether a dependency is requested directly by this manifest or is a dependency of another dependency.",
56069
+ "example": "direct",
56070
+ "enum": ["direct", "indirect"]
56071
+ },
56072
+ "scope": {
56073
+ "type": "string",
56074
+ "description": "A notation of whether the dependency is required for the primary build artifact (runtime) or is only used for development. Future versions of this specification may allow for more granular scopes.",
56075
+ "example": "runtime",
56076
+ "enum": ["runtime", "development"]
56077
+ },
56078
+ "dependencies": {
56079
+ "type": "array",
56080
+ "description": "Array of package-url (PURLs) of direct child dependencies.",
56081
+ "example": "@actions/http-client",
56082
+ "items": { "type": "string" }
56083
+ }
56084
+ },
56085
+ "additionalProperties": false
56086
+ },
56087
+ "manifest": {
56088
+ "title": "manifest",
56089
+ "description": "A collection of related dependencies declared in a file or representing a logical group of dependencies.",
56090
+ "type": "object",
56091
+ "properties": {
56092
+ "name": {
56093
+ "type": "string",
56094
+ "description": "The name of the manifest.",
56095
+ "example": "package-lock.json"
56096
+ },
56097
+ "file": {
56098
+ "type": "object",
56099
+ "properties": {
56100
+ "source_location": {
56101
+ "type": "string",
56102
+ "description": "The path of the manifest file relative to the root of the Git repository.",
56103
+ "example": "/src/build/package-lock.json"
56104
+ }
56105
+ },
56106
+ "additionalProperties": false
56107
+ },
56108
+ "metadata": { "$ref": "#/components/schemas/metadata" },
56109
+ "resolved": {
56110
+ "additionalProperties": {
56111
+ "$ref": "#/components/schemas/dependency"
56112
+ }
56113
+ }
56114
+ },
56115
+ "required": ["name"],
56116
+ "additionalProperties": false
56117
+ },
56118
+ "snapshot": {
56119
+ "title": "snapshot",
56120
+ "description": "Create a new snapshot of a repository's dependencies.",
56121
+ "type": "object",
56122
+ "properties": {
56123
+ "version": {
56124
+ "description": "The version of the repository snapshot submission.",
56125
+ "type": "integer"
56126
+ },
56127
+ "job": {
56128
+ "type": "object",
56129
+ "properties": {
56130
+ "id": {
56131
+ "type": "string",
56132
+ "description": "The external ID of the job.",
56133
+ "example": "5622a2b0-63f6-4732-8c34-a1ab27e102a11"
56134
+ },
56135
+ "correlator": {
56136
+ "type": "string",
56137
+ "description": "Correlator provides a key that is used to group snapshots submitted over time. Only the \"latest\" submitted snapshot for a given combination of `job.correlator` and `detector.name` will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given \"wave\" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.",
56138
+ "example": "yourworkflowname_yourjobname"
56139
+ },
56140
+ "html_url": {
56141
+ "type": "string",
56142
+ "description": "The url for the job.",
56143
+ "example": "http://example.com/build"
56144
+ }
56145
+ },
56146
+ "required": ["id", "correlator"],
56147
+ "additionalProperties": false
56148
+ },
56149
+ "sha": {
56150
+ "description": "The commit SHA associated with this dependency snapshot.",
56151
+ "type": "string",
56152
+ "example": "ddc951f4b1293222421f2c8df679786153acf689",
56153
+ "minLength": 40
56154
+ },
56155
+ "ref": {
56156
+ "description": "The repository branch that triggered this snapshot.",
56157
+ "type": "string",
56158
+ "pattern": "^refs/",
56159
+ "example": "refs/heads/main"
56160
+ },
56161
+ "detector": {
56162
+ "type": "object",
56163
+ "description": "A description of the detector used.",
56164
+ "properties": {
56165
+ "name": {
56166
+ "type": "string",
56167
+ "description": "The name of the detector used.",
56168
+ "example": "docker buildtime detector"
56169
+ },
56170
+ "version": {
56171
+ "type": "string",
56172
+ "description": "The version of the detector used.",
56173
+ "example": "1.0.0"
56174
+ },
56175
+ "url": {
56176
+ "type": "string",
56177
+ "description": "The url of the detector used.",
56178
+ "example": "http://example.com/docker-buildtimer-detector"
56179
+ }
56180
+ },
56181
+ "required": ["name", "version", "url"],
56182
+ "additionalProperties": false
56183
+ },
56184
+ "metadata": { "$ref": "#/components/schemas/metadata" },
56185
+ "manifests": {
56186
+ "type": "object",
56187
+ "description": "A collection of package manifests",
56188
+ "additionalProperties": { "$ref": "#/components/schemas/manifest" }
56189
+ },
56190
+ "scanned": {
56191
+ "type": "string",
56192
+ "format": "date-time",
56193
+ "description": "The time at which the snapshot was scanned.",
56194
+ "example": "2020-06-13T14:52:50-05:00"
56195
+ }
56196
+ },
56197
+ "required": ["detector", "version", "ref", "sha", "job", "scanned"],
56198
+ "additionalProperties": false
56199
+ },
55913
56200
  "deployment-status": {
55914
56201
  "title": "Deployment Status",
55915
56202
  "description": "The status of a deployment.",
@@ -65219,6 +65506,69 @@
65219
65506
  "estimated_storage_for_month": 40
65220
65507
  }
65221
65508
  },
65509
+ "public-events-items": {
65510
+ "value": [
65511
+ {
65512
+ "id": "22249084947",
65513
+ "type": "WatchEvent",
65514
+ "actor": {
65515
+ "id": 583231,
65516
+ "login": "octocat",
65517
+ "display_login": "octocat",
65518
+ "gravatar_id": "",
65519
+ "url": "https://api.github.com/users/octocat",
65520
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
65521
+ },
65522
+ "repo": {
65523
+ "id": 1296269,
65524
+ "name": "octocat/Hello-World",
65525
+ "url": "https://api.github.com/repos/octocat/Hello-World"
65526
+ },
65527
+ "payload": { "action": "started" },
65528
+ "public": true,
65529
+ "created_at": "2022-06-09T12:47:28Z"
65530
+ },
65531
+ {
65532
+ "id": "22249084964",
65533
+ "type": "PushEvent",
65534
+ "actor": {
65535
+ "id": 583231,
65536
+ "login": "octocat",
65537
+ "display_login": "octocat",
65538
+ "gravatar_id": "",
65539
+ "url": "https://api.github.com/users/octocat",
65540
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
65541
+ },
65542
+ "repo": {
65543
+ "id": 1296269,
65544
+ "name": "octocat/Hello-World",
65545
+ "url": "https://api.github.com/repos/octocat/Hello-World"
65546
+ },
65547
+ "payload": {
65548
+ "push_id": 10115855396,
65549
+ "size": 1,
65550
+ "distinct_size": 1,
65551
+ "ref": "refs/heads/master",
65552
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
65553
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
65554
+ "commits": [
65555
+ {
65556
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
65557
+ "author": {
65558
+ "email": "octocat@github.com",
65559
+ "name": "Monalisa Octocat"
65560
+ },
65561
+ "message": "commit",
65562
+ "distinct": true,
65563
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
65564
+ }
65565
+ ]
65566
+ },
65567
+ "public": true,
65568
+ "created_at": "2022-06-07T07:50:26Z"
65569
+ }
65570
+ ]
65571
+ },
65222
65572
  "feed": {
65223
65573
  "value": {
65224
65574
  "timeline_url": "https://github.com/timeline",
@@ -66147,6 +66497,69 @@
66147
66497
  "dependabot": ["54.158.161.132"]
66148
66498
  }
66149
66499
  },
66500
+ "public-repo-events-items": {
66501
+ "value": [
66502
+ {
66503
+ "id": "22249084964",
66504
+ "type": "PushEvent",
66505
+ "actor": {
66506
+ "id": 583231,
66507
+ "login": "octocat",
66508
+ "display_login": "octocat",
66509
+ "gravatar_id": "",
66510
+ "url": "https://api.github.com/users/octocat",
66511
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
66512
+ },
66513
+ "repo": {
66514
+ "id": 1296269,
66515
+ "name": "octocat/Hello-World",
66516
+ "url": "https://api.github.com/repos/octocat/Hello-World"
66517
+ },
66518
+ "payload": {
66519
+ "push_id": 10115855396,
66520
+ "size": 1,
66521
+ "distinct_size": 1,
66522
+ "ref": "refs/heads/master",
66523
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
66524
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
66525
+ "commits": [
66526
+ {
66527
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
66528
+ "author": {
66529
+ "email": "octocat@github.com",
66530
+ "name": "Monalisa Octocat"
66531
+ },
66532
+ "message": "commit",
66533
+ "distinct": true,
66534
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
66535
+ }
66536
+ ]
66537
+ },
66538
+ "public": true,
66539
+ "created_at": "2022-06-09T12:47:28Z"
66540
+ },
66541
+ {
66542
+ "id": "22237752260",
66543
+ "type": "WatchEvent",
66544
+ "actor": {
66545
+ "id": 583231,
66546
+ "login": "octocat",
66547
+ "display_login": "octocat",
66548
+ "gravatar_id": "",
66549
+ "url": "https://api.github.com/users/rrubenich",
66550
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
66551
+ },
66552
+ "repo": {
66553
+ "id": 1296269,
66554
+ "name": "octocat/Hello-World",
66555
+ "url": "https://api.github.com/repos/octocat/Hello-World"
66556
+ },
66557
+ "payload": { "action": "started" },
66558
+ "public": true,
66559
+ "created_at": "2022-06-08T23:29:25Z"
66560
+ }
66561
+ ]
66562
+ },
66150
66563
  "thread-items": {
66151
66564
  "value": [
66152
66565
  {
@@ -66235,6 +66648,11 @@
66235
66648
  }
66236
66649
  ]
66237
66650
  },
66651
+ "notifications-mark-read": {
66652
+ "value": {
66653
+ "message": "Unread notifications couldn't be marked in a single request. Notifications are being marked as read in the background."
66654
+ }
66655
+ },
66238
66656
  "thread": {
66239
66657
  "value": {
66240
66658
  "id": "1",
@@ -76026,6 +76444,48 @@
76026
76444
  }
76027
76445
  ]
76028
76446
  },
76447
+ "dependency-graph-create-snapshot-request": {
76448
+ "value": {
76449
+ "version": 0,
76450
+ "sha": "ce587453ced02b1526dfb4cb910479d431683101",
76451
+ "ref": "refs/heads/main",
76452
+ "job": {
76453
+ "correlator": "yourworkflowname_youractionname",
76454
+ "id": "yourrunid"
76455
+ },
76456
+ "detector": {
76457
+ "name": "octo-detector",
76458
+ "version": "0.0.1",
76459
+ "url": "https://github.com/octo-org/octo-repo"
76460
+ },
76461
+ "scanned": "2022-06-14T20:25:00Z",
76462
+ "manifests": {
76463
+ "package-lock.json": {
76464
+ "name": "package-lock.json",
76465
+ "file": { "source_location": "src/package-lock.json" },
76466
+ "resolved": {
76467
+ "@actions/core": {
76468
+ "package_url": "pkg:/npm/%40actions/core@1.1.9",
76469
+ "dependencies": ["@actions/http-client"]
76470
+ },
76471
+ "@actions/http-client": {
76472
+ "package_url": "pkg:/npm/%40actions/http-client@1.0.7",
76473
+ "dependencies": ["tunnel"]
76474
+ },
76475
+ "tunnel": { "package_url": "pkg:/npm/tunnel@0.0.6" }
76476
+ }
76477
+ }
76478
+ }
76479
+ }
76480
+ },
76481
+ "dependency-graph-create-snapshot-success": {
76482
+ "value": {
76483
+ "id": 12345,
76484
+ "created_at": "2018-05-04T01:14:52Z",
76485
+ "message": "Dependency results for the repo have been successfully updated.",
76486
+ "result": "SUCCESS"
76487
+ }
76488
+ },
76029
76489
  "deployment-simple-example": {
76030
76490
  "summary": "Simple example",
76031
76491
  "value": {
@@ -84564,6 +85024,208 @@
84564
85024
  }
84565
85025
  }
84566
85026
  },
85027
+ "user-events-items": {
85028
+ "value": [
85029
+ {
85030
+ "id": "22249084947",
85031
+ "type": "WatchEvent",
85032
+ "actor": {
85033
+ "id": 583231,
85034
+ "login": "octocat",
85035
+ "display_login": "octocat",
85036
+ "gravatar_id": "",
85037
+ "url": "https://api.github.com/users/octocat",
85038
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85039
+ },
85040
+ "repo": {
85041
+ "id": 1296269,
85042
+ "name": "octocat/Hello-World",
85043
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85044
+ },
85045
+ "payload": { "action": "started" },
85046
+ "public": true,
85047
+ "created_at": "2022-06-09T12:47:28Z"
85048
+ },
85049
+ {
85050
+ "id": "22249084964",
85051
+ "type": "PushEvent",
85052
+ "actor": {
85053
+ "id": 583231,
85054
+ "login": "octocat",
85055
+ "display_login": "octocat",
85056
+ "gravatar_id": "",
85057
+ "url": "https://api.github.com/users/octocat",
85058
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85059
+ },
85060
+ "repo": {
85061
+ "id": 1296269,
85062
+ "name": "octocat/Hello-World",
85063
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85064
+ },
85065
+ "payload": {
85066
+ "push_id": 10115855396,
85067
+ "size": 1,
85068
+ "distinct_size": 1,
85069
+ "ref": "refs/heads/master",
85070
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85071
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
85072
+ "commits": [
85073
+ {
85074
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85075
+ "author": {
85076
+ "email": "octocat@github.com",
85077
+ "name": "Monalisa Octocat"
85078
+ },
85079
+ "message": "commit",
85080
+ "distinct": true,
85081
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
85082
+ }
85083
+ ]
85084
+ },
85085
+ "public": false,
85086
+ "created_at": "2022-06-07T07:50:26Z"
85087
+ }
85088
+ ]
85089
+ },
85090
+ "user-org-events-items": {
85091
+ "value": [
85092
+ {
85093
+ "id": "22249084964",
85094
+ "type": "PushEvent",
85095
+ "actor": {
85096
+ "id": 583231,
85097
+ "login": "octocat",
85098
+ "display_login": "octocat",
85099
+ "gravatar_id": "",
85100
+ "url": "https://api.github.com/users/octocat",
85101
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85102
+ },
85103
+ "repo": {
85104
+ "id": 1296269,
85105
+ "name": "octocat/Hello-World",
85106
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85107
+ },
85108
+ "payload": {
85109
+ "push_id": 10115855396,
85110
+ "size": 1,
85111
+ "distinct_size": 1,
85112
+ "ref": "refs/heads/master",
85113
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85114
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
85115
+ "commits": [
85116
+ {
85117
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85118
+ "author": {
85119
+ "email": "octocat@github.com",
85120
+ "name": "Monalisa Octocat"
85121
+ },
85122
+ "message": "commit",
85123
+ "distinct": true,
85124
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
85125
+ }
85126
+ ]
85127
+ },
85128
+ "public": false,
85129
+ "created_at": "2022-06-09T12:47:28Z"
85130
+ },
85131
+ {
85132
+ "id": "22196946742",
85133
+ "type": "CreateEvent",
85134
+ "actor": {
85135
+ "id": 583231,
85136
+ "login": "octocat",
85137
+ "display_login": "octocat",
85138
+ "gravatar_id": "",
85139
+ "url": "https://api.github.com/users/octocat",
85140
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85141
+ },
85142
+ "repo": {
85143
+ "id": 1296269,
85144
+ "name": "octocat/Hello-World",
85145
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85146
+ },
85147
+ "payload": {
85148
+ "ref": null,
85149
+ "ref_type": "repository",
85150
+ "master_branch": "master",
85151
+ "description": null,
85152
+ "pusher_type": "user"
85153
+ },
85154
+ "public": false,
85155
+ "created_at": "2022-06-07T07:50:26Z",
85156
+ "org": {
85157
+ "id": 9919,
85158
+ "login": "github",
85159
+ "gravatar_id": "",
85160
+ "url": "https://api.github.com/orgs/github",
85161
+ "avatar_url": "https://avatars.githubusercontent.com/u/9919?"
85162
+ }
85163
+ }
85164
+ ]
85165
+ },
85166
+ "user-public-events-items": {
85167
+ "value": [
85168
+ {
85169
+ "id": "22249084947",
85170
+ "type": "WatchEvent",
85171
+ "actor": {
85172
+ "id": 583231,
85173
+ "login": "octocat",
85174
+ "display_login": "octocat",
85175
+ "gravatar_id": "",
85176
+ "url": "https://api.github.com/users/octocat",
85177
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85178
+ },
85179
+ "repo": {
85180
+ "id": 1296269,
85181
+ "name": "octocat/Hello-World",
85182
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85183
+ },
85184
+ "payload": { "action": "started" },
85185
+ "public": true,
85186
+ "created_at": "2022-06-09T12:47:28Z"
85187
+ },
85188
+ {
85189
+ "id": "22249084964",
85190
+ "type": "PushEvent",
85191
+ "actor": {
85192
+ "id": 583231,
85193
+ "login": "octocat",
85194
+ "display_login": "octocat",
85195
+ "gravatar_id": "",
85196
+ "url": "https://api.github.com/users/octocat",
85197
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85198
+ },
85199
+ "repo": {
85200
+ "id": 1296269,
85201
+ "name": "octocat/Hello-World",
85202
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85203
+ },
85204
+ "payload": {
85205
+ "push_id": 10115855396,
85206
+ "size": 1,
85207
+ "distinct_size": 1,
85208
+ "ref": "refs/heads/master",
85209
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85210
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
85211
+ "commits": [
85212
+ {
85213
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85214
+ "author": {
85215
+ "email": "octocat@github.com",
85216
+ "name": "Monalisa Octocat"
85217
+ },
85218
+ "message": "commit",
85219
+ "distinct": true,
85220
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
85221
+ }
85222
+ ]
85223
+ },
85224
+ "public": true,
85225
+ "created_at": "2022-06-08T23:29:25Z"
85226
+ }
85227
+ ]
85228
+ },
84567
85229
  "hovercard": {
84568
85230
  "value": {
84569
85231
  "contexts": [{ "message": "Owns this repository", "octicon": "repo" }]
@@ -84660,6 +85322,158 @@
84660
85322
  "updated_at": "2014-03-03T18:58:10Z"
84661
85323
  }
84662
85324
  ]
85325
+ },
85326
+ "user-received-events-items": {
85327
+ "value": [
85328
+ {
85329
+ "id": "22249084964",
85330
+ "type": "PushEvent",
85331
+ "actor": {
85332
+ "id": 583231,
85333
+ "login": "octocat",
85334
+ "display_login": "octocat",
85335
+ "gravatar_id": "",
85336
+ "url": "https://api.github.com/users/octocat",
85337
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85338
+ },
85339
+ "repo": {
85340
+ "id": 1296269,
85341
+ "name": "octocat/Hello-World",
85342
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85343
+ },
85344
+ "payload": {
85345
+ "push_id": 10115855396,
85346
+ "size": 1,
85347
+ "distinct_size": 1,
85348
+ "ref": "refs/heads/master",
85349
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85350
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
85351
+ "commits": [
85352
+ {
85353
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85354
+ "author": {
85355
+ "email": "octocat@github.com",
85356
+ "name": "Monalisa Octocat"
85357
+ },
85358
+ "message": "commit",
85359
+ "distinct": true,
85360
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
85361
+ }
85362
+ ]
85363
+ },
85364
+ "public": true,
85365
+ "created_at": "2022-06-09T12:47:28Z"
85366
+ },
85367
+ {
85368
+ "id": "22196946742",
85369
+ "type": "CreateEvent",
85370
+ "actor": {
85371
+ "id": 583231,
85372
+ "login": "octocat",
85373
+ "display_login": "octocat",
85374
+ "gravatar_id": "",
85375
+ "url": "https://api.github.com/users/octocat",
85376
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85377
+ },
85378
+ "repo": {
85379
+ "id": 1296269,
85380
+ "name": "octocat/Hello-World",
85381
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85382
+ },
85383
+ "payload": {
85384
+ "ref": null,
85385
+ "ref_type": "repository",
85386
+ "master_branch": "master",
85387
+ "description": null,
85388
+ "pusher_type": "user"
85389
+ },
85390
+ "public": false,
85391
+ "created_at": "2022-06-07T07:50:26Z",
85392
+ "org": {
85393
+ "id": 9919,
85394
+ "login": "github",
85395
+ "gravatar_id": "",
85396
+ "url": "https://api.github.com/orgs/github",
85397
+ "avatar_url": "https://avatars.githubusercontent.com/u/9919?"
85398
+ }
85399
+ }
85400
+ ]
85401
+ },
85402
+ "user-received-public-events-items": {
85403
+ "value": [
85404
+ {
85405
+ "id": "22249084964",
85406
+ "type": "PushEvent",
85407
+ "actor": {
85408
+ "id": 583231,
85409
+ "login": "octocat",
85410
+ "display_login": "octocat",
85411
+ "gravatar_id": "",
85412
+ "url": "https://api.github.com/users/octocat",
85413
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85414
+ },
85415
+ "repo": {
85416
+ "id": 1296269,
85417
+ "name": "octocat/Hello-World",
85418
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85419
+ },
85420
+ "payload": {
85421
+ "push_id": 10115855396,
85422
+ "size": 1,
85423
+ "distinct_size": 1,
85424
+ "ref": "refs/heads/master",
85425
+ "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85426
+ "before": "883efe034920928c47fe18598c01249d1a9fdabd",
85427
+ "commits": [
85428
+ {
85429
+ "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300",
85430
+ "author": {
85431
+ "email": "octocat@github.com",
85432
+ "name": "Monalisa Octocat"
85433
+ },
85434
+ "message": "commit",
85435
+ "distinct": true,
85436
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300"
85437
+ }
85438
+ ]
85439
+ },
85440
+ "public": true,
85441
+ "created_at": "2022-06-09T12:47:28Z"
85442
+ },
85443
+ {
85444
+ "id": "22196946742",
85445
+ "type": "CreateEvent",
85446
+ "actor": {
85447
+ "id": 583231,
85448
+ "login": "octocat",
85449
+ "display_login": "octocat",
85450
+ "gravatar_id": "",
85451
+ "url": "https://api.github.com/users/octocat",
85452
+ "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4"
85453
+ },
85454
+ "repo": {
85455
+ "id": 1296269,
85456
+ "name": "octocat/Hello-World",
85457
+ "url": "https://api.github.com/repos/octocat/Hello-World"
85458
+ },
85459
+ "payload": {
85460
+ "ref": null,
85461
+ "ref_type": "repository",
85462
+ "master_branch": "master",
85463
+ "description": null,
85464
+ "pusher_type": "user"
85465
+ },
85466
+ "public": false,
85467
+ "created_at": "2022-06-07T07:50:26Z",
85468
+ "org": {
85469
+ "id": 9919,
85470
+ "login": "github",
85471
+ "gravatar_id": "",
85472
+ "url": "https://api.github.com/orgs/github",
85473
+ "avatar_url": "https://avatars.githubusercontent.com/u/9919?"
85474
+ }
85475
+ }
85476
+ ]
84663
85477
  }
84664
85478
  },
84665
85479
  "responses": {
@@ -85218,7 +86032,7 @@
85218
86032
  },
85219
86033
  "thread-id": {
85220
86034
  "name": "thread_id",
85221
- "description": "The unique identifier of the thread.",
86035
+ "description": "The unique identifier of the pull request thread.",
85222
86036
  "in": "path",
85223
86037
  "required": true,
85224
86038
  "schema": { "type": "integer" }