late-sdk 0.0.53 → 0.0.54
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.
- checksums.yaml +4 -4
- data/docs/CommentsApi.md +1 -1
- data/docs/TwitterEngagementApi.md +3 -3
- data/lib/late-sdk/api/comments_api.rb +2 -2
- data/lib/late-sdk/api/twitter_engagement_api.rb +6 -6
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +4 -5
- data/spec/api/comments_api_spec.rb +1 -1
- data/spec/api/twitter_engagement_api_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e10e2eec4c6ae543145b48c2162adcc2cf94a9dfd6dad0e4a3a283ff04ed655f
|
|
4
|
+
data.tar.gz: efd73aeb8e495e0bcc9b5f50a4e15d0db3f202c2f73e1aadd9bec7db79ff19f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c91b02eaa94e5d5600729947d5cdd07e7afa5890dcf6d7bdd9026d9300cb22eadc171947cd530bea11f10a6b7c57d4858beccafea2e51c2f6f087e7c10ce1ffe
|
|
7
|
+
data.tar.gz: 886059c5db2f0e44f6c1f8ba946b3e8e3eca4cae4d19962477d7bd03b099c8bfff4de01ec199beab8aaa5256404f0e0f77e55795bba2493f0ed6ae8e17f37a2f
|
data/docs/CommentsApi.md
CHANGED
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
Hide comment
|
|
177
177
|
|
|
178
|
-
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
178
|
+
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
179
179
|
|
|
180
180
|
### Examples
|
|
181
181
|
|
|
@@ -18,7 +18,7 @@ All URIs are relative to *https://getlate.dev/api*
|
|
|
18
18
|
|
|
19
19
|
Bookmark a tweet
|
|
20
20
|
|
|
21
|
-
Bookmark a tweet by ID. Requires
|
|
21
|
+
Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
22
22
|
|
|
23
23
|
### Examples
|
|
24
24
|
|
|
@@ -87,7 +87,7 @@ end
|
|
|
87
87
|
|
|
88
88
|
Follow a user
|
|
89
89
|
|
|
90
|
-
Follow a user on X/Twitter. Requires
|
|
90
|
+
Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
91
91
|
|
|
92
92
|
### Examples
|
|
93
93
|
|
|
@@ -227,7 +227,7 @@ end
|
|
|
227
227
|
|
|
228
228
|
Retweet a post
|
|
229
229
|
|
|
230
|
-
Retweet (repost) a tweet by ID.
|
|
230
|
+
Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
231
231
|
|
|
232
232
|
### Examples
|
|
233
233
|
|
|
@@ -187,7 +187,7 @@ module Late
|
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
# Hide comment
|
|
190
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
190
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
191
191
|
# @param post_id [String]
|
|
192
192
|
# @param comment_id [String]
|
|
193
193
|
# @param hide_inbox_comment_request [HideInboxCommentRequest]
|
|
@@ -199,7 +199,7 @@ module Late
|
|
|
199
199
|
end
|
|
200
200
|
|
|
201
201
|
# Hide comment
|
|
202
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
202
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
203
203
|
# @param post_id [String]
|
|
204
204
|
# @param comment_id [String]
|
|
205
205
|
# @param hide_inbox_comment_request [HideInboxCommentRequest]
|
|
@@ -20,7 +20,7 @@ module Late
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Bookmark a tweet
|
|
23
|
-
# Bookmark a tweet by ID. Requires
|
|
23
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
24
24
|
# @param bookmark_post_request [BookmarkPostRequest]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [BookmarkPost200Response]
|
|
@@ -30,7 +30,7 @@ module Late
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Bookmark a tweet
|
|
33
|
-
# Bookmark a tweet by ID. Requires
|
|
33
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
34
34
|
# @param bookmark_post_request [BookmarkPostRequest]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(BookmarkPost200Response, Integer, Hash)>] BookmarkPost200Response data, response status code and response headers
|
|
@@ -88,7 +88,7 @@ module Late
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
# Follow a user
|
|
91
|
-
# Follow a user on X/Twitter. Requires
|
|
91
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
92
92
|
# @param follow_user_request [FollowUserRequest]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [FollowUser200Response]
|
|
@@ -98,7 +98,7 @@ module Late
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
# Follow a user
|
|
101
|
-
# Follow a user on X/Twitter. Requires
|
|
101
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
102
102
|
# @param follow_user_request [FollowUserRequest]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(FollowUser200Response, Integer, Hash)>] FollowUser200Response data, response status code and response headers
|
|
@@ -227,7 +227,7 @@ module Late
|
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Retweet a post
|
|
230
|
-
# Retweet (repost) a tweet by ID.
|
|
230
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
231
231
|
# @param retweet_post_request [RetweetPostRequest]
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @return [RetweetPost200Response]
|
|
@@ -237,7 +237,7 @@ module Late
|
|
|
237
237
|
end
|
|
238
238
|
|
|
239
239
|
# Retweet a post
|
|
240
|
-
# Retweet (repost) a tweet by ID.
|
|
240
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
241
241
|
# @param retweet_post_request [RetweetPostRequest]
|
|
242
242
|
# @param [Hash] opts the optional parameters
|
|
243
243
|
# @return [Array<(RetweetPost200Response, Integer, Hash)>] RetweetPost200Response data, response status code and response headers
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -198,7 +198,6 @@ tags:
|
|
|
198
198
|
- name: Twitter Engagement
|
|
199
199
|
description: |
|
|
200
200
|
X/Twitter-specific engagement endpoints for retweeting, bookmarking, and following.
|
|
201
|
-
All endpoints require an X API Basic tier ($200/mo) or higher. Users must reconnect their X account after upgrading to grant the required OAuth scopes.
|
|
202
201
|
Rate limits: 50 requests per 15-min window per user. Retweets share the 300/3hr creation limit with tweet creation.
|
|
203
202
|
- name: Tools
|
|
204
203
|
description: |
|
|
@@ -11157,7 +11156,7 @@ paths:
|
|
|
11157
11156
|
description: |
|
|
11158
11157
|
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter.
|
|
11159
11158
|
Hidden comments are only visible to the commenter and page admin.
|
|
11160
|
-
For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
11159
|
+
For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
11161
11160
|
tags: [Comments]
|
|
11162
11161
|
security: [{ bearerAuth: [] }]
|
|
11163
11162
|
parameters:
|
|
@@ -11419,7 +11418,7 @@ paths:
|
|
|
11419
11418
|
operationId: retweetPost
|
|
11420
11419
|
summary: Retweet a post
|
|
11421
11420
|
description: |
|
|
11422
|
-
Retweet (repost) a tweet by ID.
|
|
11421
|
+
Retweet (repost) a tweet by ID.
|
|
11423
11422
|
Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
11424
11423
|
tags: [Twitter Engagement]
|
|
11425
11424
|
security: [{ bearerAuth: [] }]
|
|
@@ -11486,7 +11485,7 @@ paths:
|
|
|
11486
11485
|
operationId: bookmarkPost
|
|
11487
11486
|
summary: Bookmark a tweet
|
|
11488
11487
|
description: |
|
|
11489
|
-
Bookmark a tweet by ID.
|
|
11488
|
+
Bookmark a tweet by ID.
|
|
11490
11489
|
Requires the bookmark.write OAuth scope.
|
|
11491
11490
|
Rate limit: 50 requests per 15-min window.
|
|
11492
11491
|
tags: [Twitter Engagement]
|
|
@@ -11554,7 +11553,7 @@ paths:
|
|
|
11554
11553
|
operationId: followUser
|
|
11555
11554
|
summary: Follow a user
|
|
11556
11555
|
description: |
|
|
11557
|
-
Follow a user on X/Twitter.
|
|
11556
|
+
Follow a user on X/Twitter.
|
|
11558
11557
|
Requires the follows.write OAuth scope.
|
|
11559
11558
|
For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
11560
11559
|
tags: [Twitter Engagement]
|
|
@@ -65,7 +65,7 @@ describe 'CommentsApi' do
|
|
|
65
65
|
|
|
66
66
|
# unit tests for hide_inbox_comment
|
|
67
67
|
# Hide comment
|
|
68
|
-
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
68
|
+
# Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
|
|
69
69
|
# @param post_id
|
|
70
70
|
# @param comment_id
|
|
71
71
|
# @param hide_inbox_comment_request
|
|
@@ -34,7 +34,7 @@ describe 'TwitterEngagementApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for bookmark_post
|
|
36
36
|
# Bookmark a tweet
|
|
37
|
-
# Bookmark a tweet by ID. Requires
|
|
37
|
+
# Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
38
38
|
# @param bookmark_post_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [BookmarkPost200Response]
|
|
@@ -46,7 +46,7 @@ describe 'TwitterEngagementApi' do
|
|
|
46
46
|
|
|
47
47
|
# unit tests for follow_user
|
|
48
48
|
# Follow a user
|
|
49
|
-
# Follow a user on X/Twitter. Requires
|
|
49
|
+
# Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
50
50
|
# @param follow_user_request
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [FollowUser200Response]
|
|
@@ -71,7 +71,7 @@ describe 'TwitterEngagementApi' do
|
|
|
71
71
|
|
|
72
72
|
# unit tests for retweet_post
|
|
73
73
|
# Retweet a post
|
|
74
|
-
# Retweet (repost) a tweet by ID.
|
|
74
|
+
# Retweet (repost) a tweet by ID. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
75
75
|
# @param retweet_post_request
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
77
|
# @return [RetweetPost200Response]
|