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
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,8 @@ public struct Client: APIProtocol {
40
40
}
41
41
/// List public events
42
42
///
43
-
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
43
+
/// > [!NOTE]
44
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
44
45
///
45
46
/// - Remark: HTTP `GET /events`.
46
47
/// - Remark: Generated from `#/paths//events/get(activity/list-public-events)`.
@@ -237,7 +238,8 @@ public struct Client: APIProtocol {
237
238
}
238
239
/// List public events for a network of repositories
239
240
///
240
-
///
241
+
/// > [!NOTE]
242
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
@@ -2848,7 +2858,11 @@ public struct Client: APIProtocol {
2848
2858
}
2849
2859
/// List events received by the authenticated user
2850
2860
///
2851
-
/// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
2861
+
/// These are events that you've received by watching repositories and following users. If you are authenticated as the
2862
+
/// given user, you will see private events. Otherwise, you'll only see public events.
2863
+
///
2864
+
/// > [!NOTE]
2865
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
Copy file name to clipboardExpand all lines: Sources/activity/Types.swift
+63-18Lines changed: 63 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@ import struct Foundation.Date
13
13
public protocol APIProtocol: Sendable {
14
14
/// List public events
15
15
///
16
-
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
16
+
/// > [!NOTE]
17
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
17
18
///
18
19
/// - Remark: HTTP `GET /events`.
19
20
/// - Remark: Generated from `#/paths//events/get(activity/list-public-events)`.
@@ -40,7 +41,8 @@ public protocol APIProtocol: Sendable {
/// List events received by the authenticated user
239
249
///
240
-
/// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
250
+
/// These are events that you've received by watching repositories and following users. If you are authenticated as the
251
+
/// given user, you will see private events. Otherwise, you'll only see public events.
252
+
///
253
+
/// > [!NOTE]
254
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
@@ -273,7 +288,8 @@ public protocol APIProtocol: Sendable {
273
288
extension APIProtocol {
274
289
/// List public events
275
290
///
276
-
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
291
+
/// > [!NOTE]
292
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
277
293
///
278
294
/// - Remark: HTTP `GET /events`.
279
295
/// - Remark: Generated from `#/paths//events/get(activity/list-public-events)`.
@@ -310,7 +326,8 @@ extension APIProtocol {
310
326
}
311
327
/// List public events for a network of repositories
312
328
///
313
-
///
329
+
/// > [!NOTE]
330
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
@@ -727,7 +752,11 @@ extension APIProtocol {
727
752
}
728
753
/// List events received by the authenticated user
729
754
///
730
-
/// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
755
+
/// These are events that you've received by watching repositories and following users. If you are authenticated as the
756
+
/// given user, you will see private events. Otherwise, you'll only see public events.
757
+
///
758
+
/// > [!NOTE]
759
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//users/{username}/received_events/public/get(activity/list-received-public-events-for-user)`.
@@ -4704,7 +4734,8 @@ public enum Components {
4704
4734
public enum Operations {
4705
4735
/// List public events
4706
4736
///
4707
-
/// We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
4737
+
/// > [!NOTE]
4738
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
4708
4739
///
4709
4740
/// - Remark: HTTP `GET /events`.
4710
4741
/// - Remark: Generated from `#/paths//events/get(activity/list-public-events)`.
@@ -5039,7 +5070,8 @@ public enum Operations {
5039
5070
}
5040
5071
/// List public events for a network of repositories
5041
5072
///
5042
-
///
5073
+
/// > [!NOTE]
5074
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
/// - Remark: Generated from `#/paths//users/{username}/events/public/get(activity/list-public-events-for-user)`.
@@ -10180,7 +10220,11 @@ public enum Operations {
10180
10220
}
10181
10221
/// List events received by the authenticated user
10182
10222
///
10183
-
/// These are events that you've received by watching repositories and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
10223
+
/// These are events that you've received by watching repositories and following users. If you are authenticated as the
10224
+
/// given user, you will see private events. Otherwise, you'll only see public events.
10225
+
///
10226
+
/// > [!NOTE]
10227
+
/// > This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
0 commit comments