late-sdk 0.0.91 → 0.0.92
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/README.md +6 -1
- data/docs/ConnectApi.md +146 -4
- data/docs/GetYoutubePlaylists200Response.md +20 -0
- data/docs/GetYoutubePlaylists200ResponsePlaylistsInner.md +28 -0
- data/docs/MessagesApi.md +16 -16
- data/docs/{UpdateRedditSubreddits200Response.md → UpdateYoutubeDefaultPlaylist200Response.md} +2 -2
- data/docs/UpdateYoutubeDefaultPlaylistRequest.md +20 -0
- data/docs/WebhooksApi.md +4 -4
- data/docs/YouTubePlatformData.md +3 -1
- data/lib/late-sdk/api/connect_api.rb +140 -3
- data/lib/late-sdk/api/messages_api.rb +12 -12
- data/lib/late-sdk/api/webhooks_api.rb +3 -3
- data/lib/late-sdk/models/get_youtube_playlists200_response.rb +158 -0
- data/lib/late-sdk/models/get_youtube_playlists200_response_playlists_inner.rb +226 -0
- data/lib/late-sdk/models/{update_reddit_subreddits200_response.rb → update_youtube_default_playlist200_response.rb} +3 -3
- data/lib/late-sdk/models/update_youtube_default_playlist_request.rb +173 -0
- data/lib/late-sdk/models/you_tube_platform_data.rb +14 -4
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +4 -1
- data/openapi.yaml +92 -0
- data/spec/api/connect_api_spec.rb +26 -1
- data/spec/api/messages_api_spec.rb +4 -4
- data/spec/api/webhooks_api_spec.rb +1 -1
- data/spec/models/get_youtube_playlists200_response_playlists_inner_spec.rb +70 -0
- data/spec/models/get_youtube_playlists200_response_spec.rb +42 -0
- data/spec/models/{update_reddit_subreddits200_response_spec.rb → update_youtube_default_playlist200_response_spec.rb} +6 -6
- data/spec/models/update_youtube_default_playlist_request_spec.rb +42 -0
- data/spec/models/you_tube_platform_data_spec.rb +6 -0
- data/zernio-sdk-0.0.92.gem +0 -0
- metadata +18 -6
- data/zernio-sdk-0.0.91.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99911c95c4758a0d8b07c697e627c2dd48921a735c1b7a55813d6e71614180f7
|
|
4
|
+
data.tar.gz: 42e3daa9e1fde234fca4508730a21edd77bb1c970647709b144f539146e5c470
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93bbe08403efd491b5bfc347482f66d2ded6f1e63da9562387d615db977acfbc1529c1509934befcbb7847fc52bafdda49b1eb03628360867164dd4a4b004bf3
|
|
7
|
+
data.tar.gz: dcbd6d1e318655c4691d378b897b115901cc55382d2291060b8e3afd79981894826089e6491f8788593ef2bb8f7c338f9894b911ac6dcfaa0b10599e6d7cc258
|
data/README.md
CHANGED
|
@@ -137,6 +137,7 @@ Class | Method | HTTP request | Description
|
|
|
137
137
|
*Late::ConnectApi* | [**get_reddit_flairs**](docs/ConnectApi.md#get_reddit_flairs) | **GET** /v1/accounts/{accountId}/reddit-flairs | List subreddit flairs
|
|
138
138
|
*Late::ConnectApi* | [**get_reddit_subreddits**](docs/ConnectApi.md#get_reddit_subreddits) | **GET** /v1/accounts/{accountId}/reddit-subreddits | List Reddit subreddits
|
|
139
139
|
*Late::ConnectApi* | [**get_telegram_connect_status**](docs/ConnectApi.md#get_telegram_connect_status) | **GET** /v1/connect/telegram | Generate Telegram code
|
|
140
|
+
*Late::ConnectApi* | [**get_youtube_playlists**](docs/ConnectApi.md#get_youtube_playlists) | **GET** /v1/accounts/{accountId}/youtube-playlists | List YouTube playlists
|
|
140
141
|
*Late::ConnectApi* | [**handle_o_auth_callback**](docs/ConnectApi.md#handle_o_auth_callback) | **POST** /v1/connect/{platform} | Complete OAuth callback
|
|
141
142
|
*Late::ConnectApi* | [**initiate_telegram_connect**](docs/ConnectApi.md#initiate_telegram_connect) | **POST** /v1/connect/telegram | Connect Telegram directly
|
|
142
143
|
*Late::ConnectApi* | [**list_facebook_pages**](docs/ConnectApi.md#list_facebook_pages) | **GET** /v1/connect/facebook/select-page | List Facebook pages
|
|
@@ -154,6 +155,7 @@ Class | Method | HTTP request | Description
|
|
|
154
155
|
*Late::ConnectApi* | [**update_linked_in_organization**](docs/ConnectApi.md#update_linked_in_organization) | **PUT** /v1/accounts/{accountId}/linkedin-organization | Switch LinkedIn account type
|
|
155
156
|
*Late::ConnectApi* | [**update_pinterest_boards**](docs/ConnectApi.md#update_pinterest_boards) | **PUT** /v1/accounts/{accountId}/pinterest-boards | Set default Pinterest board
|
|
156
157
|
*Late::ConnectApi* | [**update_reddit_subreddits**](docs/ConnectApi.md#update_reddit_subreddits) | **PUT** /v1/accounts/{accountId}/reddit-subreddits | Set default subreddit
|
|
158
|
+
*Late::ConnectApi* | [**update_youtube_default_playlist**](docs/ConnectApi.md#update_youtube_default_playlist) | **PUT** /v1/accounts/{accountId}/youtube-playlists | Set default YouTube playlist
|
|
157
159
|
*Late::ContactsApi* | [**bulk_create_contacts**](docs/ContactsApi.md#bulk_create_contacts) | **POST** /v1/contacts/bulk | Bulk create contacts
|
|
158
160
|
*Late::ContactsApi* | [**create_contact**](docs/ContactsApi.md#create_contact) | **POST** /v1/contacts | Create a contact
|
|
159
161
|
*Late::ContactsApi* | [**delete_contact**](docs/ContactsApi.md#delete_contact) | **DELETE** /v1/contacts/{contactId} | Delete a contact
|
|
@@ -628,6 +630,8 @@ Class | Method | HTTP request | Description
|
|
|
628
630
|
- [Late::GetYouTubeDailyViews500Response](docs/GetYouTubeDailyViews500Response.md)
|
|
629
631
|
- [Late::GetYouTubeTranscript200Response](docs/GetYouTubeTranscript200Response.md)
|
|
630
632
|
- [Late::GetYouTubeTranscript200ResponseSegmentsInner](docs/GetYouTubeTranscript200ResponseSegmentsInner.md)
|
|
633
|
+
- [Late::GetYoutubePlaylists200Response](docs/GetYoutubePlaylists200Response.md)
|
|
634
|
+
- [Late::GetYoutubePlaylists200ResponsePlaylistsInner](docs/GetYoutubePlaylists200ResponsePlaylistsInner.md)
|
|
631
635
|
- [Late::GoogleBusinessPlatformData](docs/GoogleBusinessPlatformData.md)
|
|
632
636
|
- [Late::GoogleBusinessPlatformDataCallToAction](docs/GoogleBusinessPlatformDataCallToAction.md)
|
|
633
637
|
- [Late::HandleOAuthCallbackRequest](docs/HandleOAuthCallbackRequest.md)
|
|
@@ -911,7 +915,6 @@ Class | Method | HTTP request | Description
|
|
|
911
915
|
- [Late::UpdateProfileRequest](docs/UpdateProfileRequest.md)
|
|
912
916
|
- [Late::UpdateQueueSlot200Response](docs/UpdateQueueSlot200Response.md)
|
|
913
917
|
- [Late::UpdateQueueSlotRequest](docs/UpdateQueueSlotRequest.md)
|
|
914
|
-
- [Late::UpdateRedditSubreddits200Response](docs/UpdateRedditSubreddits200Response.md)
|
|
915
918
|
- [Late::UpdateRedditSubredditsRequest](docs/UpdateRedditSubredditsRequest.md)
|
|
916
919
|
- [Late::UpdateSequence200Response](docs/UpdateSequence200Response.md)
|
|
917
920
|
- [Late::UpdateSequence200ResponseSequence](docs/UpdateSequence200ResponseSequence.md)
|
|
@@ -928,6 +931,8 @@ Class | Method | HTTP request | Description
|
|
|
928
931
|
- [Late::UpdateWhatsAppTemplate200Response](docs/UpdateWhatsAppTemplate200Response.md)
|
|
929
932
|
- [Late::UpdateWhatsAppTemplate200ResponseTemplate](docs/UpdateWhatsAppTemplate200ResponseTemplate.md)
|
|
930
933
|
- [Late::UpdateWhatsAppTemplateRequest](docs/UpdateWhatsAppTemplateRequest.md)
|
|
934
|
+
- [Late::UpdateYoutubeDefaultPlaylist200Response](docs/UpdateYoutubeDefaultPlaylist200Response.md)
|
|
935
|
+
- [Late::UpdateYoutubeDefaultPlaylistRequest](docs/UpdateYoutubeDefaultPlaylistRequest.md)
|
|
931
936
|
- [Late::UploadMediaDirect200Response](docs/UploadMediaDirect200Response.md)
|
|
932
937
|
- [Late::UploadTokenResponse](docs/UploadTokenResponse.md)
|
|
933
938
|
- [Late::UploadTokenStatusResponse](docs/UploadTokenStatusResponse.md)
|
data/docs/ConnectApi.md
CHANGED
|
@@ -16,6 +16,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
16
16
|
| [**get_reddit_flairs**](ConnectApi.md#get_reddit_flairs) | **GET** /v1/accounts/{accountId}/reddit-flairs | List subreddit flairs |
|
|
17
17
|
| [**get_reddit_subreddits**](ConnectApi.md#get_reddit_subreddits) | **GET** /v1/accounts/{accountId}/reddit-subreddits | List Reddit subreddits |
|
|
18
18
|
| [**get_telegram_connect_status**](ConnectApi.md#get_telegram_connect_status) | **GET** /v1/connect/telegram | Generate Telegram code |
|
|
19
|
+
| [**get_youtube_playlists**](ConnectApi.md#get_youtube_playlists) | **GET** /v1/accounts/{accountId}/youtube-playlists | List YouTube playlists |
|
|
19
20
|
| [**handle_o_auth_callback**](ConnectApi.md#handle_o_auth_callback) | **POST** /v1/connect/{platform} | Complete OAuth callback |
|
|
20
21
|
| [**initiate_telegram_connect**](ConnectApi.md#initiate_telegram_connect) | **POST** /v1/connect/telegram | Connect Telegram directly |
|
|
21
22
|
| [**list_facebook_pages**](ConnectApi.md#list_facebook_pages) | **GET** /v1/connect/facebook/select-page | List Facebook pages |
|
|
@@ -33,6 +34,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
33
34
|
| [**update_linked_in_organization**](ConnectApi.md#update_linked_in_organization) | **PUT** /v1/accounts/{accountId}/linkedin-organization | Switch LinkedIn account type |
|
|
34
35
|
| [**update_pinterest_boards**](ConnectApi.md#update_pinterest_boards) | **PUT** /v1/accounts/{accountId}/pinterest-boards | Set default Pinterest board |
|
|
35
36
|
| [**update_reddit_subreddits**](ConnectApi.md#update_reddit_subreddits) | **PUT** /v1/accounts/{accountId}/reddit-subreddits | Set default subreddit |
|
|
37
|
+
| [**update_youtube_default_playlist**](ConnectApi.md#update_youtube_default_playlist) | **PUT** /v1/accounts/{accountId}/youtube-playlists | Set default YouTube playlist |
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
## complete_telegram_connect
|
|
@@ -873,6 +875,75 @@ end
|
|
|
873
875
|
- **Accept**: application/json
|
|
874
876
|
|
|
875
877
|
|
|
878
|
+
## get_youtube_playlists
|
|
879
|
+
|
|
880
|
+
> <GetYoutubePlaylists200Response> get_youtube_playlists(account_id)
|
|
881
|
+
|
|
882
|
+
List YouTube playlists
|
|
883
|
+
|
|
884
|
+
Returns the playlists available for a connected YouTube account. Use this to get a playlist ID when creating a YouTube post with the `playlistId` field.
|
|
885
|
+
|
|
886
|
+
### Examples
|
|
887
|
+
|
|
888
|
+
```ruby
|
|
889
|
+
require 'time'
|
|
890
|
+
require 'late-sdk'
|
|
891
|
+
# setup authorization
|
|
892
|
+
Late.configure do |config|
|
|
893
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
894
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
api_instance = Late::ConnectApi.new
|
|
898
|
+
account_id = 'account_id_example' # String |
|
|
899
|
+
|
|
900
|
+
begin
|
|
901
|
+
# List YouTube playlists
|
|
902
|
+
result = api_instance.get_youtube_playlists(account_id)
|
|
903
|
+
p result
|
|
904
|
+
rescue Late::ApiError => e
|
|
905
|
+
puts "Error when calling ConnectApi->get_youtube_playlists: #{e}"
|
|
906
|
+
end
|
|
907
|
+
```
|
|
908
|
+
|
|
909
|
+
#### Using the get_youtube_playlists_with_http_info variant
|
|
910
|
+
|
|
911
|
+
This returns an Array which contains the response data, status code and headers.
|
|
912
|
+
|
|
913
|
+
> <Array(<GetYoutubePlaylists200Response>, Integer, Hash)> get_youtube_playlists_with_http_info(account_id)
|
|
914
|
+
|
|
915
|
+
```ruby
|
|
916
|
+
begin
|
|
917
|
+
# List YouTube playlists
|
|
918
|
+
data, status_code, headers = api_instance.get_youtube_playlists_with_http_info(account_id)
|
|
919
|
+
p status_code # => 2xx
|
|
920
|
+
p headers # => { ... }
|
|
921
|
+
p data # => <GetYoutubePlaylists200Response>
|
|
922
|
+
rescue Late::ApiError => e
|
|
923
|
+
puts "Error when calling ConnectApi->get_youtube_playlists_with_http_info: #{e}"
|
|
924
|
+
end
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
### Parameters
|
|
928
|
+
|
|
929
|
+
| Name | Type | Description | Notes |
|
|
930
|
+
| ---- | ---- | ----------- | ----- |
|
|
931
|
+
| **account_id** | **String** | | |
|
|
932
|
+
|
|
933
|
+
### Return type
|
|
934
|
+
|
|
935
|
+
[**GetYoutubePlaylists200Response**](GetYoutubePlaylists200Response.md)
|
|
936
|
+
|
|
937
|
+
### Authorization
|
|
938
|
+
|
|
939
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
940
|
+
|
|
941
|
+
### HTTP request headers
|
|
942
|
+
|
|
943
|
+
- **Content-Type**: Not defined
|
|
944
|
+
- **Accept**: application/json
|
|
945
|
+
|
|
946
|
+
|
|
876
947
|
## handle_o_auth_callback
|
|
877
948
|
|
|
878
949
|
> handle_o_auth_callback(platform, handle_o_auth_callback_request)
|
|
@@ -2026,7 +2097,7 @@ end
|
|
|
2026
2097
|
|
|
2027
2098
|
## update_reddit_subreddits
|
|
2028
2099
|
|
|
2029
|
-
> <
|
|
2100
|
+
> <UpdateYoutubeDefaultPlaylist200Response> update_reddit_subreddits(account_id, update_reddit_subreddits_request)
|
|
2030
2101
|
|
|
2031
2102
|
Set default subreddit
|
|
2032
2103
|
|
|
@@ -2060,7 +2131,7 @@ end
|
|
|
2060
2131
|
|
|
2061
2132
|
This returns an Array which contains the response data, status code and headers.
|
|
2062
2133
|
|
|
2063
|
-
> <Array(<
|
|
2134
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> update_reddit_subreddits_with_http_info(account_id, update_reddit_subreddits_request)
|
|
2064
2135
|
|
|
2065
2136
|
```ruby
|
|
2066
2137
|
begin
|
|
@@ -2068,7 +2139,7 @@ begin
|
|
|
2068
2139
|
data, status_code, headers = api_instance.update_reddit_subreddits_with_http_info(account_id, update_reddit_subreddits_request)
|
|
2069
2140
|
p status_code # => 2xx
|
|
2070
2141
|
p headers # => { ... }
|
|
2071
|
-
p data # => <
|
|
2142
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
2072
2143
|
rescue Late::ApiError => e
|
|
2073
2144
|
puts "Error when calling ConnectApi->update_reddit_subreddits_with_http_info: #{e}"
|
|
2074
2145
|
end
|
|
@@ -2083,7 +2154,78 @@ end
|
|
|
2083
2154
|
|
|
2084
2155
|
### Return type
|
|
2085
2156
|
|
|
2086
|
-
[**
|
|
2157
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
2158
|
+
|
|
2159
|
+
### Authorization
|
|
2160
|
+
|
|
2161
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
2162
|
+
|
|
2163
|
+
### HTTP request headers
|
|
2164
|
+
|
|
2165
|
+
- **Content-Type**: application/json
|
|
2166
|
+
- **Accept**: application/json
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
## update_youtube_default_playlist
|
|
2170
|
+
|
|
2171
|
+
> <UpdateYoutubeDefaultPlaylist200Response> update_youtube_default_playlist(account_id, update_youtube_default_playlist_request)
|
|
2172
|
+
|
|
2173
|
+
Set default YouTube playlist
|
|
2174
|
+
|
|
2175
|
+
Sets the default playlist used when publishing videos for this account. When a post does not specify a `playlistId`, the default playlist is not automatically used (it is stored for client-side convenience).
|
|
2176
|
+
|
|
2177
|
+
### Examples
|
|
2178
|
+
|
|
2179
|
+
```ruby
|
|
2180
|
+
require 'time'
|
|
2181
|
+
require 'late-sdk'
|
|
2182
|
+
# setup authorization
|
|
2183
|
+
Late.configure do |config|
|
|
2184
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
2185
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
2186
|
+
end
|
|
2187
|
+
|
|
2188
|
+
api_instance = Late::ConnectApi.new
|
|
2189
|
+
account_id = 'account_id_example' # String |
|
|
2190
|
+
update_youtube_default_playlist_request = Late::UpdateYoutubeDefaultPlaylistRequest.new({default_playlist_id: 'default_playlist_id_example'}) # UpdateYoutubeDefaultPlaylistRequest |
|
|
2191
|
+
|
|
2192
|
+
begin
|
|
2193
|
+
# Set default YouTube playlist
|
|
2194
|
+
result = api_instance.update_youtube_default_playlist(account_id, update_youtube_default_playlist_request)
|
|
2195
|
+
p result
|
|
2196
|
+
rescue Late::ApiError => e
|
|
2197
|
+
puts "Error when calling ConnectApi->update_youtube_default_playlist: #{e}"
|
|
2198
|
+
end
|
|
2199
|
+
```
|
|
2200
|
+
|
|
2201
|
+
#### Using the update_youtube_default_playlist_with_http_info variant
|
|
2202
|
+
|
|
2203
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2204
|
+
|
|
2205
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> update_youtube_default_playlist_with_http_info(account_id, update_youtube_default_playlist_request)
|
|
2206
|
+
|
|
2207
|
+
```ruby
|
|
2208
|
+
begin
|
|
2209
|
+
# Set default YouTube playlist
|
|
2210
|
+
data, status_code, headers = api_instance.update_youtube_default_playlist_with_http_info(account_id, update_youtube_default_playlist_request)
|
|
2211
|
+
p status_code # => 2xx
|
|
2212
|
+
p headers # => { ... }
|
|
2213
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
2214
|
+
rescue Late::ApiError => e
|
|
2215
|
+
puts "Error when calling ConnectApi->update_youtube_default_playlist_with_http_info: #{e}"
|
|
2216
|
+
end
|
|
2217
|
+
```
|
|
2218
|
+
|
|
2219
|
+
### Parameters
|
|
2220
|
+
|
|
2221
|
+
| Name | Type | Description | Notes |
|
|
2222
|
+
| ---- | ---- | ----------- | ----- |
|
|
2223
|
+
| **account_id** | **String** | | |
|
|
2224
|
+
| **update_youtube_default_playlist_request** | [**UpdateYoutubeDefaultPlaylistRequest**](UpdateYoutubeDefaultPlaylistRequest.md) | | |
|
|
2225
|
+
|
|
2226
|
+
### Return type
|
|
2227
|
+
|
|
2228
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
2087
2229
|
|
|
2088
2230
|
### Authorization
|
|
2089
2231
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetYoutubePlaylists200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **playlists** | [**Array<GetYoutubePlaylists200ResponsePlaylistsInner>**](GetYoutubePlaylists200ResponsePlaylistsInner.md) | | [optional] |
|
|
8
|
+
| **default_playlist_id** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetYoutubePlaylists200Response.new(
|
|
16
|
+
playlists: null,
|
|
17
|
+
default_playlist_id: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Late::GetYoutubePlaylists200ResponsePlaylistsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **title** | **String** | | [optional] |
|
|
9
|
+
| **description** | **String** | | [optional] |
|
|
10
|
+
| **privacy** | **String** | | [optional] |
|
|
11
|
+
| **item_count** | **Integer** | | [optional] |
|
|
12
|
+
| **thumbnail_url** | **String** | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'late-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Late::GetYoutubePlaylists200ResponsePlaylistsInner.new(
|
|
20
|
+
id: null,
|
|
21
|
+
title: null,
|
|
22
|
+
description: null,
|
|
23
|
+
privacy: null,
|
|
24
|
+
item_count: null,
|
|
25
|
+
thumbnail_url: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
data/docs/MessagesApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
19
19
|
|
|
20
20
|
## add_message_reaction
|
|
21
21
|
|
|
22
|
-
> <
|
|
22
|
+
> <UpdateYoutubeDefaultPlaylist200Response> add_message_reaction(conversation_id, message_id, add_message_reaction_request)
|
|
23
23
|
|
|
24
24
|
Add reaction
|
|
25
25
|
|
|
@@ -54,7 +54,7 @@ end
|
|
|
54
54
|
|
|
55
55
|
This returns an Array which contains the response data, status code and headers.
|
|
56
56
|
|
|
57
|
-
> <Array(<
|
|
57
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request)
|
|
58
58
|
|
|
59
59
|
```ruby
|
|
60
60
|
begin
|
|
@@ -62,7 +62,7 @@ begin
|
|
|
62
62
|
data, status_code, headers = api_instance.add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request)
|
|
63
63
|
p status_code # => 2xx
|
|
64
64
|
p headers # => { ... }
|
|
65
|
-
p data # => <
|
|
65
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
66
66
|
rescue Late::ApiError => e
|
|
67
67
|
puts "Error when calling MessagesApi->add_message_reaction_with_http_info: #{e}"
|
|
68
68
|
end
|
|
@@ -78,7 +78,7 @@ end
|
|
|
78
78
|
|
|
79
79
|
### Return type
|
|
80
80
|
|
|
81
|
-
[**
|
|
81
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
82
82
|
|
|
83
83
|
### Authorization
|
|
84
84
|
|
|
@@ -92,7 +92,7 @@ end
|
|
|
92
92
|
|
|
93
93
|
## delete_inbox_message
|
|
94
94
|
|
|
95
|
-
> <
|
|
95
|
+
> <UpdateYoutubeDefaultPlaylist200Response> delete_inbox_message(conversation_id, message_id, account_id)
|
|
96
96
|
|
|
97
97
|
Delete message
|
|
98
98
|
|
|
@@ -127,7 +127,7 @@ end
|
|
|
127
127
|
|
|
128
128
|
This returns an Array which contains the response data, status code and headers.
|
|
129
129
|
|
|
130
|
-
> <Array(<
|
|
130
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> delete_inbox_message_with_http_info(conversation_id, message_id, account_id)
|
|
131
131
|
|
|
132
132
|
```ruby
|
|
133
133
|
begin
|
|
@@ -135,7 +135,7 @@ begin
|
|
|
135
135
|
data, status_code, headers = api_instance.delete_inbox_message_with_http_info(conversation_id, message_id, account_id)
|
|
136
136
|
p status_code # => 2xx
|
|
137
137
|
p headers # => { ... }
|
|
138
|
-
p data # => <
|
|
138
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
139
139
|
rescue Late::ApiError => e
|
|
140
140
|
puts "Error when calling MessagesApi->delete_inbox_message_with_http_info: #{e}"
|
|
141
141
|
end
|
|
@@ -151,7 +151,7 @@ end
|
|
|
151
151
|
|
|
152
152
|
### Return type
|
|
153
153
|
|
|
154
|
-
[**
|
|
154
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
155
155
|
|
|
156
156
|
### Authorization
|
|
157
157
|
|
|
@@ -463,7 +463,7 @@ end
|
|
|
463
463
|
|
|
464
464
|
## remove_message_reaction
|
|
465
465
|
|
|
466
|
-
> <
|
|
466
|
+
> <UpdateYoutubeDefaultPlaylist200Response> remove_message_reaction(conversation_id, message_id, account_id)
|
|
467
467
|
|
|
468
468
|
Remove reaction
|
|
469
469
|
|
|
@@ -498,7 +498,7 @@ end
|
|
|
498
498
|
|
|
499
499
|
This returns an Array which contains the response data, status code and headers.
|
|
500
500
|
|
|
501
|
-
> <Array(<
|
|
501
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> remove_message_reaction_with_http_info(conversation_id, message_id, account_id)
|
|
502
502
|
|
|
503
503
|
```ruby
|
|
504
504
|
begin
|
|
@@ -506,7 +506,7 @@ begin
|
|
|
506
506
|
data, status_code, headers = api_instance.remove_message_reaction_with_http_info(conversation_id, message_id, account_id)
|
|
507
507
|
p status_code # => 2xx
|
|
508
508
|
p headers # => { ... }
|
|
509
|
-
p data # => <
|
|
509
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
510
510
|
rescue Late::ApiError => e
|
|
511
511
|
puts "Error when calling MessagesApi->remove_message_reaction_with_http_info: #{e}"
|
|
512
512
|
end
|
|
@@ -522,7 +522,7 @@ end
|
|
|
522
522
|
|
|
523
523
|
### Return type
|
|
524
524
|
|
|
525
|
-
[**
|
|
525
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
526
526
|
|
|
527
527
|
### Authorization
|
|
528
528
|
|
|
@@ -607,7 +607,7 @@ end
|
|
|
607
607
|
|
|
608
608
|
## send_typing_indicator
|
|
609
609
|
|
|
610
|
-
> <
|
|
610
|
+
> <UpdateYoutubeDefaultPlaylist200Response> send_typing_indicator(conversation_id, send_typing_indicator_request)
|
|
611
611
|
|
|
612
612
|
Send typing indicator
|
|
613
613
|
|
|
@@ -641,7 +641,7 @@ end
|
|
|
641
641
|
|
|
642
642
|
This returns an Array which contains the response data, status code and headers.
|
|
643
643
|
|
|
644
|
-
> <Array(<
|
|
644
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> send_typing_indicator_with_http_info(conversation_id, send_typing_indicator_request)
|
|
645
645
|
|
|
646
646
|
```ruby
|
|
647
647
|
begin
|
|
@@ -649,7 +649,7 @@ begin
|
|
|
649
649
|
data, status_code, headers = api_instance.send_typing_indicator_with_http_info(conversation_id, send_typing_indicator_request)
|
|
650
650
|
p status_code # => 2xx
|
|
651
651
|
p headers # => { ... }
|
|
652
|
-
p data # => <
|
|
652
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
653
653
|
rescue Late::ApiError => e
|
|
654
654
|
puts "Error when calling MessagesApi->send_typing_indicator_with_http_info: #{e}"
|
|
655
655
|
end
|
|
@@ -664,7 +664,7 @@ end
|
|
|
664
664
|
|
|
665
665
|
### Return type
|
|
666
666
|
|
|
667
|
-
[**
|
|
667
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
668
668
|
|
|
669
669
|
### Authorization
|
|
670
670
|
|
data/docs/{UpdateRedditSubreddits200Response.md → UpdateYoutubeDefaultPlaylist200Response.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Late::
|
|
1
|
+
# Late::UpdateYoutubeDefaultPlaylist200Response
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
```ruby
|
|
12
12
|
require 'late-sdk'
|
|
13
13
|
|
|
14
|
-
instance = Late::
|
|
14
|
+
instance = Late::UpdateYoutubeDefaultPlaylist200Response.new(
|
|
15
15
|
success: null
|
|
16
16
|
)
|
|
17
17
|
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::UpdateYoutubeDefaultPlaylistRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **default_playlist_id** | **String** | | |
|
|
8
|
+
| **default_playlist_name** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::UpdateYoutubeDefaultPlaylistRequest.new(
|
|
16
|
+
default_playlist_id: null,
|
|
17
|
+
default_playlist_name: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/WebhooksApi.md
CHANGED
|
@@ -83,7 +83,7 @@ end
|
|
|
83
83
|
|
|
84
84
|
## delete_webhook_settings
|
|
85
85
|
|
|
86
|
-
> <
|
|
86
|
+
> <UpdateYoutubeDefaultPlaylist200Response> delete_webhook_settings(id)
|
|
87
87
|
|
|
88
88
|
Delete webhook
|
|
89
89
|
|
|
@@ -116,7 +116,7 @@ end
|
|
|
116
116
|
|
|
117
117
|
This returns an Array which contains the response data, status code and headers.
|
|
118
118
|
|
|
119
|
-
> <Array(<
|
|
119
|
+
> <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> delete_webhook_settings_with_http_info(id)
|
|
120
120
|
|
|
121
121
|
```ruby
|
|
122
122
|
begin
|
|
@@ -124,7 +124,7 @@ begin
|
|
|
124
124
|
data, status_code, headers = api_instance.delete_webhook_settings_with_http_info(id)
|
|
125
125
|
p status_code # => 2xx
|
|
126
126
|
p headers # => { ... }
|
|
127
|
-
p data # => <
|
|
127
|
+
p data # => <UpdateYoutubeDefaultPlaylist200Response>
|
|
128
128
|
rescue Late::ApiError => e
|
|
129
129
|
puts "Error when calling WebhooksApi->delete_webhook_settings_with_http_info: #{e}"
|
|
130
130
|
end
|
|
@@ -138,7 +138,7 @@ end
|
|
|
138
138
|
|
|
139
139
|
### Return type
|
|
140
140
|
|
|
141
|
-
[**
|
|
141
|
+
[**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
|
|
142
142
|
|
|
143
143
|
### Authorization
|
|
144
144
|
|
data/docs/YouTubePlatformData.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **first_comment** | **String** | Optional first comment to post immediately after video upload. Up to 10,000 characters (YouTube's comment limit). | [optional] |
|
|
11
11
|
| **contains_synthetic_media** | **Boolean** | AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label. | [optional][default to false] |
|
|
12
12
|
| **category_id** | **String** | YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech). | [optional][default to '22'] |
|
|
13
|
+
| **playlist_id** | **String** | Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call. | [optional] |
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,7 +23,8 @@ instance = Late::YouTubePlatformData.new(
|
|
|
22
23
|
made_for_kids: null,
|
|
23
24
|
first_comment: null,
|
|
24
25
|
contains_synthetic_media: null,
|
|
25
|
-
category_id: null
|
|
26
|
+
category_id: null,
|
|
27
|
+
playlist_id: null
|
|
26
28
|
)
|
|
27
29
|
```
|
|
28
30
|
|