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
Copy file name to clipboardExpand all lines: Sources/activity/Client.swift
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1576,7 +1576,9 @@ public struct Client: APIProtocol {
1576
1576
///
1577
1577
/// Lists the people that have starred the repository.
1578
1578
///
1579
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
1579
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
1580
+
///
1581
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stargazers/get(activity/list-stargazers-for-repo)`.
@@ -1980,7 +1982,9 @@ public struct Client: APIProtocol {
1980
1982
///
1981
1983
/// Lists repositories the authenticated user has starred.
1982
1984
///
1983
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
1985
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
1986
+
///
1987
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
1984
1988
///
1985
1989
/// - Remark: HTTP `GET /user/starred`.
1986
1990
/// - Remark: Generated from `#/paths//user/starred/get(activity/list-repos-starred-by-authenticated-user)`.
@@ -2991,7 +2995,9 @@ public struct Client: APIProtocol {
2991
2995
///
2992
2996
/// Lists repositories a user has starred.
2993
2997
///
2994
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
2998
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
2999
+
///
3000
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
Copy file name to clipboardExpand all lines: Sources/activity/Types.swift
+27-9Lines changed: 27 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,9 @@ public protocol APIProtocol: Sendable {
133
133
///
134
134
/// Lists the people that have starred the repository.
135
135
///
136
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
136
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
137
+
///
138
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stargazers/get(activity/list-stargazers-for-repo)`.
@@ -170,7 +172,9 @@ public protocol APIProtocol: Sendable {
170
172
///
171
173
/// Lists repositories the authenticated user has starred.
172
174
///
173
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
175
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
176
+
///
177
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
174
178
///
175
179
/// - Remark: HTTP `GET /user/starred`.
176
180
/// - Remark: Generated from `#/paths//user/starred/get(activity/list-repos-starred-by-authenticated-user)`.
@@ -238,7 +242,9 @@ public protocol APIProtocol: Sendable {
238
242
///
239
243
/// Lists repositories a user has starred.
240
244
///
241
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
245
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
246
+
///
247
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//users/{username}/starred/get(activity/list-repos-starred-by-user)`.
@@ -496,7 +502,9 @@ extension APIProtocol {
496
502
///
497
503
/// Lists the people that have starred the repository.
498
504
///
499
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
505
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
506
+
///
507
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stargazers/get(activity/list-stargazers-for-repo)`.
@@ -573,7 +581,9 @@ extension APIProtocol {
573
581
///
574
582
/// Lists repositories the authenticated user has starred.
575
583
///
576
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
584
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
585
+
///
586
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
577
587
///
578
588
/// - Remark: HTTP `GET /user/starred`.
579
589
/// - Remark: Generated from `#/paths//user/starred/get(activity/list-repos-starred-by-authenticated-user)`.
@@ -731,7 +741,9 @@ extension APIProtocol {
731
741
///
732
742
/// Lists repositories a user has starred.
733
743
///
734
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
744
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
745
+
///
746
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//users/{username}/starred/get(activity/list-repos-starred-by-user)`.
@@ -8350,7 +8362,9 @@ public enum Operations {
8350
8362
///
8351
8363
/// Lists the people that have starred the repository.
8352
8364
///
8353
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
8365
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
8366
+
///
8367
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/stargazers/get(activity/list-stargazers-for-repo)`.
@@ -9239,7 +9253,9 @@ public enum Operations {
9239
9253
///
9240
9254
/// Lists repositories the authenticated user has starred.
9241
9255
///
9242
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
9256
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
9257
+
///
9258
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
9243
9259
///
9244
9260
/// - Remark: HTTP `GET /user/starred`.
9245
9261
/// - Remark: Generated from `#/paths//user/starred/get(activity/list-repos-starred-by-authenticated-user)`.
@@ -11208,7 +11224,9 @@ public enum Operations {
11208
11224
///
11209
11225
/// Lists repositories a user has starred.
11210
11226
///
11211
-
/// You can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.
11227
+
/// This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."
11228
+
///
11229
+
/// - **`application/vnd.github.star+json`**: Includes a timestamp of when the star was created.
0 commit comments