Skip to content

Commit f3dca50

Browse files
authored
Merge pull request #1632 from github/openapi-update-e1e97367acabcef81b3cfc30184974c50a9bc14a7417abde7b12064901b783aa
Update OpenAPI 3.1 Descriptions
2 parents 9128550 + c89abef commit f3dca50

32 files changed

Lines changed: 348 additions & 320 deletions

descriptions-next/api.github.com/api.github.com.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6111,7 +6111,7 @@
61116111
},
61126112
"put": {
61136113
"summary": "Mark notifications as read",
6114-
"description": "Marks all notifications as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
6114+
"description": "Marks all notifications as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
61156115
"tags": [
61166116
"activity"
61176117
],
@@ -6197,7 +6197,7 @@
61976197
"/notifications/threads/{thread_id}": {
61986198
"get": {
61996199
"summary": "Get a thread",
6200-
"description": "",
6200+
"description": "Gets information about a notification thread.",
62016201
"tags": [
62026202
"activity"
62036203
],
@@ -6246,7 +6246,7 @@
62466246
},
62476247
"patch": {
62486248
"summary": "Mark a thread as read",
6249-
"description": "",
6249+
"description": "Marks a thread as \"read.\" Marking a thread as \"read\" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.",
62506250
"tags": [
62516251
"activity"
62526252
],
@@ -39718,7 +39718,7 @@
3971839718
"/repos/{owner}/{repo}/notifications": {
3971939719
"get": {
3972039720
"summary": "List repository notifications for the authenticated user",
39721-
"description": "List all notifications for the current user.",
39721+
"description": "Lists all notifications for the current user in the specified repository.",
3972239722
"tags": [
3972339723
"activity"
3972439724
],
@@ -39787,7 +39787,7 @@
3978739787
},
3978839788
"put": {
3978939789
"summary": "Mark repository notifications as read",
39790-
"description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
39790+
"description": "Marks all notifications in a repository as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
3979139791
"tags": [
3979239792
"activity"
3979339793
],
@@ -112789,7 +112789,7 @@
112789112789
},
112790112790
"thread-id": {
112791112791
"name": "thread_id",
112792-
"description": "The unique identifier of the pull request thread.",
112792+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
112793112793
"in": "path",
112794112794
"required": true,
112795112795
"schema": {

descriptions-next/api.github.com/api.github.com.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4211,12 +4211,11 @@ paths:
42114211
subcategory: notifications
42124212
put:
42134213
summary: Mark notifications as read
4214-
description: Marks all notifications as "read" removes it from the [default
4215-
view on GitHub](https://github.com/notifications). If the number of notifications
4216-
is too large to complete in one request, you will receive a `202 Accepted`
4217-
status and GitHub will run an asynchronous process to mark notifications as
4218-
"read." To check whether any "unread" notifications remain, you can use the
4219-
[List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)
4214+
description: Marks all notifications as "read" for the current user. If the
4215+
number of notifications is too large to complete in one request, you will
4216+
receive a `202 Accepted` status and GitHub will run an asynchronous process
4217+
to mark notifications as "read." To check whether any "unread" notifications
4218+
remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)
42204219
endpoint and pass the query parameter `all=false`.
42214220
tags:
42224221
- activity
@@ -4277,7 +4276,7 @@ paths:
42774276
"/notifications/threads/{thread_id}":
42784277
get:
42794278
summary: Get a thread
4280-
description: ''
4279+
description: Gets information about a notification thread.
42814280
tags:
42824281
- activity
42834282
operationId: activity/get-thread
@@ -4309,7 +4308,8 @@ paths:
43094308
subcategory: notifications
43104309
patch:
43114310
summary: Mark a thread as read
4312-
description: ''
4311+
description: 'Marks a thread as "read." Marking a thread as "read" is equivalent
4312+
to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.'
43134313
tags:
43144314
- activity
43154315
operationId: activity/mark-thread-as-read
@@ -28675,7 +28675,7 @@ paths:
2867528675
"/repos/{owner}/{repo}/notifications":
2867628676
get:
2867728677
summary: List repository notifications for the authenticated user
28678-
description: List all notifications for the current user.
28678+
description: Lists all notifications for the current user in the specified repository.
2867928679
tags:
2868028680
- activity
2868128681
operationId: activity/list-repo-notifications-for-authenticated-user
@@ -28713,11 +28713,10 @@ paths:
2871328713
subcategory: notifications
2871428714
put:
2871528715
summary: Mark repository notifications as read
28716-
description: Marks all notifications in a repository as "read" removes them
28717-
from the [default view on GitHub](https://github.com/notifications). If the
28718-
number of notifications is too large to complete in one request, you will
28719-
receive a `202 Accepted` status and GitHub will run an asynchronous process
28720-
to mark notifications as "read." To check whether any "unread" notifications
28716+
description: Marks all notifications in a repository as "read" for the current
28717+
user. If the number of notifications is too large to complete in one request,
28718+
you will receive a `202 Accepted` status and GitHub will run an asynchronous
28719+
process to mark notifications as "read." To check whether any "unread" notifications
2872128720
remain, you can use the [List repository notifications for the authenticated
2872228721
user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user)
2872328722
endpoint and pass the query parameter `all=false`.
@@ -85361,7 +85360,9 @@ components:
8536185360
format: date-time
8536285361
thread-id:
8536385362
name: thread_id
85364-
description: The unique identifier of the pull request thread.
85363+
description: The unique identifier of the notification thread. This corresponds
85364+
to the value returned in the `id` field when you retrieve notifications (for
85365+
example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).
8536585366
in: path
8536685367
required: true
8536785368
schema:

descriptions-next/api.github.com/dereferenced/api.github.com.deref.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54111,7 +54111,7 @@
5411154111
},
5411254112
"put": {
5411354113
"summary": "Mark notifications as read",
54114-
"description": "Marks all notifications as \"read\" removes it from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
54114+
"description": "Marks all notifications as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
5411554115
"tags": [
5411654116
"activity"
5411754117
],
@@ -54245,7 +54245,7 @@
5424554245
"/notifications/threads/{thread_id}": {
5424654246
"get": {
5424754247
"summary": "Get a thread",
54248-
"description": "",
54248+
"description": "Gets information about a notification thread.",
5424954249
"tags": [
5425054250
"activity"
5425154251
],
@@ -54257,7 +54257,7 @@
5425754257
"parameters": [
5425854258
{
5425954259
"name": "thread_id",
54260-
"description": "The unique identifier of the pull request thread.",
54260+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
5426154261
"in": "path",
5426254262
"required": true,
5426354263
"schema": {
@@ -55237,7 +55237,7 @@
5523755237
},
5523855238
"patch": {
5523955239
"summary": "Mark a thread as read",
55240-
"description": "",
55240+
"description": "Marks a thread as \"read.\" Marking a thread as \"read\" is equivalent to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.",
5524155241
"tags": [
5524255242
"activity"
5524355243
],
@@ -55249,7 +55249,7 @@
5524955249
"parameters": [
5525055250
{
5525155251
"name": "thread_id",
55252-
"description": "The unique identifier of the pull request thread.",
55252+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
5525355253
"in": "path",
5525455254
"required": true,
5525555255
"schema": {
@@ -55314,7 +55314,7 @@
5531455314
"parameters": [
5531555315
{
5531655316
"name": "thread_id",
55317-
"description": "The unique identifier of the pull request thread.",
55317+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
5531855318
"in": "path",
5531955319
"required": true,
5532055320
"schema": {
@@ -55479,7 +55479,7 @@
5547955479
"parameters": [
5548055480
{
5548155481
"name": "thread_id",
55482-
"description": "The unique identifier of the pull request thread.",
55482+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
5548355483
"in": "path",
5548455484
"required": true,
5548555485
"schema": {
@@ -55668,7 +55668,7 @@
5566855668
"parameters": [
5566955669
{
5567055670
"name": "thread_id",
55671-
"description": "The unique identifier of the pull request thread.",
55671+
"description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).",
5567255672
"in": "path",
5567355673
"required": true,
5567455674
"schema": {
@@ -349756,7 +349756,7 @@
349756349756
"/repos/{owner}/{repo}/notifications": {
349757349757
"get": {
349758349758
"summary": "List repository notifications for the authenticated user",
349759-
"description": "List all notifications for the current user.",
349759+
"description": "Lists all notifications for the current user in the specified repository.",
349760349760
"tags": [
349761349761
"activity"
349762349762
],
@@ -350773,7 +350773,7 @@
350773350773
},
350774350774
"put": {
350775350775
"summary": "Mark repository notifications as read",
350776-
"description": "Marks all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications). If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
350776+
"description": "Marks all notifications in a repository as \"read\" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub will run an asynchronous process to mark notifications as \"read.\" To check whether any \"unread\" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`.",
350777350777
"tags": [
350778350778
"activity"
350779350779
],

descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13969,12 +13969,11 @@ paths:
1396913969
subcategory: notifications
1397013970
put:
1397113971
summary: Mark notifications as read
13972-
description: Marks all notifications as "read" removes it from the [default
13973-
view on GitHub](https://github.com/notifications). If the number of notifications
13974-
is too large to complete in one request, you will receive a `202 Accepted`
13975-
status and GitHub will run an asynchronous process to mark notifications as
13976-
"read." To check whether any "unread" notifications remain, you can use the
13977-
[List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)
13972+
description: Marks all notifications as "read" for the current user. If the
13973+
number of notifications is too large to complete in one request, you will
13974+
receive a `202 Accepted` status and GitHub will run an asynchronous process
13975+
to mark notifications as "read." To check whether any "unread" notifications
13976+
remain, you can use the [List notifications for the authenticated user](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)
1397813977
endpoint and pass the query parameter `all=false`.
1397913978
tags:
1398013979
- activity
@@ -14034,7 +14033,7 @@ paths:
1403414033
"/notifications/threads/{thread_id}":
1403514034
get:
1403614035
summary: Get a thread
14037-
description: ''
14036+
description: Gets information about a notification thread.
1403814037
tags:
1403914038
- activity
1404014039
operationId: activity/get-thread
@@ -14044,7 +14043,9 @@ paths:
1404414043
parameters:
1404514044
- &91
1404614045
name: thread_id
14047-
description: The unique identifier of the pull request thread.
14046+
description: The unique identifier of the notification thread. This corresponds
14047+
to the value returned in the `id` field when you retrieve notifications
14048+
(for example with the [`GET /notifications` operation](https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user)).
1404814049
in: path
1404914050
required: true
1405014051
schema:
@@ -14147,7 +14148,8 @@ paths:
1414714148
subcategory: notifications
1414814149
patch:
1414914150
summary: Mark a thread as read
14150-
description: ''
14151+
description: 'Marks a thread as "read." Marking a thread as "read" is equivalent
14152+
to clicking a notification in your notification inbox on GitHub: https://github.com/notifications.'
1415114153
tags:
1415214154
- activity
1415314155
operationId: activity/mark-thread-as-read
@@ -60490,7 +60492,7 @@ paths:
6049060492
"/repos/{owner}/{repo}/notifications":
6049160493
get:
6049260494
summary: List repository notifications for the authenticated user
60493-
description: List all notifications for the current user.
60495+
description: Lists all notifications for the current user in the specified repository.
6049460496
tags:
6049560497
- activity
6049660498
operationId: activity/list-repo-notifications-for-authenticated-user
@@ -60525,11 +60527,10 @@ paths:
6052560527
subcategory: notifications
6052660528
put:
6052760529
summary: Mark repository notifications as read
60528-
description: Marks all notifications in a repository as "read" removes them
60529-
from the [default view on GitHub](https://github.com/notifications). If the
60530-
number of notifications is too large to complete in one request, you will
60531-
receive a `202 Accepted` status and GitHub will run an asynchronous process
60532-
to mark notifications as "read." To check whether any "unread" notifications
60530+
description: Marks all notifications in a repository as "read" for the current
60531+
user. If the number of notifications is too large to complete in one request,
60532+
you will receive a `202 Accepted` status and GitHub will run an asynchronous
60533+
process to mark notifications as "read." To check whether any "unread" notifications
6053360534
remain, you can use the [List repository notifications for the authenticated
6053460535
user](https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user)
6053560536
endpoint and pass the query parameter `all=false`.

0 commit comments

Comments
 (0)