bombbomb 2.0.831 → 2.0.20679
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +31 -147
- data/Rakefile +3 -8
- data/bombbomb.gemspec +17 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/JerichoConfiguration.md +1 -7
- data/docs/JerichoPerformance.md +0 -4
- data/docs/PromptsApi.md +6 -712
- data/docs/TeamsApi.md +62 -1144
- data/docs/UtilitiesApi.md +4 -4
- data/docs/VideoEmailPrompt.md +10 -24
- data/docs/WebhooksApi.md +4 -45
- data/git_push.sh +13 -1
- data/lib/bombbomb.rb +14 -30
- data/lib/bombbomb/api/prompts_api.rb +42 -833
- data/lib/bombbomb/api/teams_api.rb +157 -1331
- data/lib/bombbomb/api/utilities_api.rb +44 -23
- data/lib/bombbomb/api/webhooks_api.rb +43 -68
- data/lib/bombbomb/api_client.rb +45 -55
- data/lib/bombbomb/api_error.rb +18 -9
- data/lib/bombbomb/configuration.rb +13 -8
- data/lib/bombbomb/models/bb_web_hook.rb +17 -6
- data/lib/bombbomb/models/inline_response_200.rb +18 -7
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +22 -75
- data/lib/bombbomb/models/jericho_performance.rb +21 -50
- data/lib/bombbomb/models/o_auth_client.rb +17 -6
- data/lib/bombbomb/models/string.rb +17 -6
- data/lib/bombbomb/models/video_email_prompt.rb +90 -214
- data/lib/bombbomb/version.rb +14 -3
- data/spec/models/{team_public_representation_spec.rb → inline_response_200_items_spec.rb} +14 -8
- metadata +56 -168
- data/Gemfile +0 -7
- data/docs/AccountsApi.md +0 -384
- data/docs/AutomationsApi.md +0 -167
- data/docs/ClientGroupAssetMetaData.md +0 -11
- data/docs/ContactsApi.md +0 -436
- data/docs/Curriculum.md +0 -15
- data/docs/CurriculumApi.md +0 -109
- data/docs/CurriculumUserProgress.md +0 -12
- data/docs/CurriculumWithProgress.md +0 -15
- data/docs/EmailsApi.md +0 -633
- data/docs/FilesApi.md +0 -272
- data/docs/FormsApi.md +0 -60
- data/docs/HostedDoc.md +0 -13
- data/docs/IntegrationsApi.md +0 -285
- data/docs/ListsApi.md +0 -265
- data/docs/OrdersApi.md +0 -60
- data/docs/PromptBot.md +0 -22
- data/docs/PromptBotBot.md +0 -18
- data/docs/PromptMonthlyPerformance.md +0 -11
- data/docs/PromptOverview.md +0 -11
- data/docs/PromptSocialPrompt.md +0 -20
- data/docs/SignUploadRequest.md +0 -9
- data/docs/SignUploadResponse.md +0 -9
- data/docs/SocialsApi.md +0 -653
- data/docs/TeamPublicRepresentation.md +0 -10
- data/docs/UsersApi.md +0 -100
- data/docs/VideoEncodingStatusResponse.md +0 -10
- data/docs/VideoPublicRepresentation.md +0 -18
- data/docs/VideoRecorderMethodResponse.md +0 -15
- data/docs/VideosApi.md +0 -287
- data/lib/bombbomb/api/accounts_api.rb +0 -432
- data/lib/bombbomb/api/automations_api.rb +0 -191
- data/lib/bombbomb/api/contacts_api.rb +0 -470
- data/lib/bombbomb/api/curriculum_api.rb +0 -124
- data/lib/bombbomb/api/emails_api.rb +0 -673
- data/lib/bombbomb/api/files_api.rb +0 -302
- data/lib/bombbomb/api/forms_api.rb +0 -77
- data/lib/bombbomb/api/integrations_api.rb +0 -308
- data/lib/bombbomb/api/lists_api.rb +0 -295
- data/lib/bombbomb/api/orders_api.rb +0 -78
- data/lib/bombbomb/api/socials_api.rb +0 -714
- data/lib/bombbomb/api/users_api.rb +0 -119
- data/lib/bombbomb/api/videos_api.rb +0 -326
- data/lib/bombbomb/models/client_group_asset_meta_data.rb +0 -215
- data/lib/bombbomb/models/curriculum.rb +0 -261
- data/lib/bombbomb/models/curriculum_user_progress.rb +0 -229
- data/lib/bombbomb/models/curriculum_with_progress.rb +0 -261
- data/lib/bombbomb/models/hosted_doc.rb +0 -239
- data/lib/bombbomb/models/prompt_bot.rb +0 -329
- data/lib/bombbomb/models/prompt_bot_bot.rb +0 -300
- data/lib/bombbomb/models/prompt_monthly_performance.rb +0 -219
- data/lib/bombbomb/models/prompt_overview.rb +0 -219
- data/lib/bombbomb/models/prompt_social_prompt.rb +0 -311
- data/lib/bombbomb/models/sign_upload_request.rb +0 -199
- data/lib/bombbomb/models/sign_upload_response.rb +0 -199
- data/lib/bombbomb/models/team_public_representation.rb +0 -209
- data/lib/bombbomb/models/video_encoding_status_response.rb +0 -209
- data/lib/bombbomb/models/video_public_representation.rb +0 -291
- data/lib/bombbomb/models/video_recorder_method_response.rb +0 -259
- data/spec/api/accounts_api_spec.rb +0 -96
- data/spec/api/automations_api_spec.rb +0 -71
- data/spec/api/contacts_api_spec.rb +0 -58
- data/spec/api/curriculum_api_spec.rb +0 -69
- data/spec/api/emails_api_spec.rb +0 -104
- data/spec/api/files_api_spec.rb +0 -58
- data/spec/api/forms_api_spec.rb +0 -58
- data/spec/api/integrations_api_spec.rb +0 -58
- data/spec/api/lists_api_spec.rb +0 -83
- data/spec/api/orders_api_spec.rb +0 -58
- data/spec/api/socials_api_spec.rb +0 -135
- data/spec/api/users_api_spec.rb +0 -57
- data/spec/api/videos_api_spec.rb +0 -86
- data/spec/models/client_group_asset_meta_data_spec.rb +0 -60
- data/spec/models/curriculum_spec.rb +0 -95
- data/spec/models/curriculum_user_progress_spec.rb +0 -77
- data/spec/models/curriculum_with_progress_spec.rb +0 -95
- data/spec/models/hosted_doc_spec.rb +0 -83
- data/spec/models/prompt_bot_spec.rb +0 -137
- data/spec/models/prompt_monthly_performance_spec.rb +0 -60
- data/spec/models/prompt_overview_spec.rb +0 -60
- data/spec/models/prompt_social_prompt_spec.rb +0 -125
- data/spec/models/sign_upload_request_spec.rb +0 -59
- data/spec/models/sign_upload_response_spec.rb +0 -59
- data/spec/models/video_encoding_status_response_spec.rb +0 -65
- data/spec/models/video_public_representation_spec.rb +0 -113
- data/spec/models/video_recorder_method_response_spec.rb +0 -95
data/Gemfile
DELETED
data/docs/AccountsApi.md
DELETED
@@ -1,384 +0,0 @@
|
|
1
|
-
# BombBomb::AccountsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**account_details**](AccountsApi.md#account_details) | **GET** /accounts | Get account details.
|
8
|
-
[**create_account**](AccountsApi.md#create_account) | **POST** /accounts | Create Account
|
9
|
-
[**get_client_statistics**](AccountsApi.md#get_client_statistics) | **GET** /accounts/stats | Get Client Statistics
|
10
|
-
[**get_user_country**](AccountsApi.md#get_user_country) | **GET** /accounts/{clientId}/country | Gets user country
|
11
|
-
[**reset_api_key**](AccountsApi.md#reset_api_key) | **PUT** /accounts/apikey | Reset API key
|
12
|
-
[**subscription_purchase_allowed**](AccountsApi.md#subscription_purchase_allowed) | **GET** /accounts/purchaseable | Check if subscription purchase allowed.
|
13
|
-
[**update_profile_data**](AccountsApi.md#update_profile_data) | **POST** /account/profile/ | Add profile information.
|
14
|
-
|
15
|
-
|
16
|
-
# **account_details**
|
17
|
-
> account_details
|
18
|
-
|
19
|
-
Get account details.
|
20
|
-
|
21
|
-
Get the details of the user's account.
|
22
|
-
|
23
|
-
### Example
|
24
|
-
```ruby
|
25
|
-
# load the gem
|
26
|
-
require 'bombbomb'
|
27
|
-
# setup authorization
|
28
|
-
BombBomb.configure do |config|
|
29
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
30
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
31
|
-
end
|
32
|
-
|
33
|
-
api_instance = BombBomb::AccountsApi.new
|
34
|
-
|
35
|
-
begin
|
36
|
-
#Get account details.
|
37
|
-
api_instance.account_details
|
38
|
-
rescue BombBomb::ApiError => e
|
39
|
-
puts "Exception when calling AccountsApi->account_details: #{e}"
|
40
|
-
end
|
41
|
-
```
|
42
|
-
|
43
|
-
### Parameters
|
44
|
-
This endpoint does not need any parameter.
|
45
|
-
|
46
|
-
### Return type
|
47
|
-
|
48
|
-
nil (empty response body)
|
49
|
-
|
50
|
-
### Authorization
|
51
|
-
|
52
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
53
|
-
|
54
|
-
### HTTP request headers
|
55
|
-
|
56
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
57
|
-
- **Accept**: application/json
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
# **create_account**
|
62
|
-
> String create_account(team_id, first_name, last_name, email_address, company_name, phone, opts)
|
63
|
-
|
64
|
-
Create Account
|
65
|
-
|
66
|
-
Creates a new BombBomb account. This method is currently only available to paid seat admins.
|
67
|
-
|
68
|
-
### Example
|
69
|
-
```ruby
|
70
|
-
# load the gem
|
71
|
-
require 'bombbomb'
|
72
|
-
# setup authorization
|
73
|
-
BombBomb.configure do |config|
|
74
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
75
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
76
|
-
end
|
77
|
-
|
78
|
-
api_instance = BombBomb::AccountsApi.new
|
79
|
-
|
80
|
-
team_id = "team_id_example" # String | The team id
|
81
|
-
|
82
|
-
first_name = "first_name_example" # String | First name of the user.
|
83
|
-
|
84
|
-
last_name = "last_name_example" # String | Last name of the user.
|
85
|
-
|
86
|
-
email_address = "email_address_example" # String | Email address of the user.
|
87
|
-
|
88
|
-
company_name = "company_name_example" # String | Company of the user.
|
89
|
-
|
90
|
-
phone = "phone_example" # String | Phone number of the user.
|
91
|
-
|
92
|
-
opts = {
|
93
|
-
country: "country_example", # String | Country of the user.
|
94
|
-
industry: "industry_example", # String | Industry of the user.
|
95
|
-
address: "address_example", # String | Street Address of the user.
|
96
|
-
city: "city_example", # String | City of the user.
|
97
|
-
postal_code: "postal_code_example", # String | Postal/Zip code of the user.
|
98
|
-
prevent_welcome_email: true # BOOLEAN | prevent an email with login credentials from being sent to the new account. must be set to 'true'
|
99
|
-
}
|
100
|
-
|
101
|
-
begin
|
102
|
-
#Create Account
|
103
|
-
result = api_instance.create_account(team_id, first_name, last_name, email_address, company_name, phone, opts)
|
104
|
-
p result
|
105
|
-
rescue BombBomb::ApiError => e
|
106
|
-
puts "Exception when calling AccountsApi->create_account: #{e}"
|
107
|
-
end
|
108
|
-
```
|
109
|
-
|
110
|
-
### Parameters
|
111
|
-
|
112
|
-
Name | Type | Description | Notes
|
113
|
-
------------- | ------------- | ------------- | -------------
|
114
|
-
**team_id** | **String**| The team id |
|
115
|
-
**first_name** | **String**| First name of the user. |
|
116
|
-
**last_name** | **String**| Last name of the user. |
|
117
|
-
**email_address** | **String**| Email address of the user. |
|
118
|
-
**company_name** | **String**| Company of the user. |
|
119
|
-
**phone** | **String**| Phone number of the user. |
|
120
|
-
**country** | **String**| Country of the user. | [optional]
|
121
|
-
**industry** | **String**| Industry of the user. | [optional]
|
122
|
-
**address** | **String**| Street Address of the user. | [optional]
|
123
|
-
**city** | **String**| City of the user. | [optional]
|
124
|
-
**postal_code** | **String**| Postal/Zip code of the user. | [optional]
|
125
|
-
**prevent_welcome_email** | **BOOLEAN**| prevent an email with login credentials from being sent to the new account. must be set to 'true' | [optional]
|
126
|
-
|
127
|
-
### Return type
|
128
|
-
|
129
|
-
**String**
|
130
|
-
|
131
|
-
### Authorization
|
132
|
-
|
133
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
134
|
-
|
135
|
-
### HTTP request headers
|
136
|
-
|
137
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
138
|
-
- **Accept**: application/json
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
# **get_client_statistics**
|
143
|
-
> get_client_statistics(opts)
|
144
|
-
|
145
|
-
Get Client Statistics
|
146
|
-
|
147
|
-
Gets general statics for a Client
|
148
|
-
|
149
|
-
### Example
|
150
|
-
```ruby
|
151
|
-
# load the gem
|
152
|
-
require 'bombbomb'
|
153
|
-
# setup authorization
|
154
|
-
BombBomb.configure do |config|
|
155
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
156
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
157
|
-
end
|
158
|
-
|
159
|
-
api_instance = BombBomb::AccountsApi.new
|
160
|
-
|
161
|
-
opts = {
|
162
|
-
client_id: "client_id_example", # String | Client ID of the account to retrieve. Defaults to yourself.
|
163
|
-
refresh: true, # BOOLEAN | Boolean for whether data returned should be from cache or not.
|
164
|
-
statistic_values: "statistic_values_example" # String | Array of data that should be returned, used exclusively for cacheless data
|
165
|
-
}
|
166
|
-
|
167
|
-
begin
|
168
|
-
#Get Client Statistics
|
169
|
-
api_instance.get_client_statistics(opts)
|
170
|
-
rescue BombBomb::ApiError => e
|
171
|
-
puts "Exception when calling AccountsApi->get_client_statistics: #{e}"
|
172
|
-
end
|
173
|
-
```
|
174
|
-
|
175
|
-
### Parameters
|
176
|
-
|
177
|
-
Name | Type | Description | Notes
|
178
|
-
------------- | ------------- | ------------- | -------------
|
179
|
-
**client_id** | **String**| Client ID of the account to retrieve. Defaults to yourself. | [optional]
|
180
|
-
**refresh** | **BOOLEAN**| Boolean for whether data returned should be from cache or not. | [optional]
|
181
|
-
**statistic_values** | **String**| Array of data that should be returned, used exclusively for cacheless data | [optional]
|
182
|
-
|
183
|
-
### Return type
|
184
|
-
|
185
|
-
nil (empty response body)
|
186
|
-
|
187
|
-
### Authorization
|
188
|
-
|
189
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
190
|
-
|
191
|
-
### HTTP request headers
|
192
|
-
|
193
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
194
|
-
- **Accept**: application/json
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
# **get_user_country**
|
199
|
-
> get_user_country
|
200
|
-
|
201
|
-
Gets user country
|
202
|
-
|
203
|
-
Gets the users country
|
204
|
-
|
205
|
-
### Example
|
206
|
-
```ruby
|
207
|
-
# load the gem
|
208
|
-
require 'bombbomb'
|
209
|
-
# setup authorization
|
210
|
-
BombBomb.configure do |config|
|
211
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
212
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
213
|
-
end
|
214
|
-
|
215
|
-
api_instance = BombBomb::AccountsApi.new
|
216
|
-
|
217
|
-
begin
|
218
|
-
#Gets user country
|
219
|
-
api_instance.get_user_country
|
220
|
-
rescue BombBomb::ApiError => e
|
221
|
-
puts "Exception when calling AccountsApi->get_user_country: #{e}"
|
222
|
-
end
|
223
|
-
```
|
224
|
-
|
225
|
-
### Parameters
|
226
|
-
This endpoint does not need any parameter.
|
227
|
-
|
228
|
-
### Return type
|
229
|
-
|
230
|
-
nil (empty response body)
|
231
|
-
|
232
|
-
### Authorization
|
233
|
-
|
234
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
235
|
-
|
236
|
-
### HTTP request headers
|
237
|
-
|
238
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
239
|
-
- **Accept**: application/json
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
# **reset_api_key**
|
244
|
-
> reset_api_key
|
245
|
-
|
246
|
-
Reset API key
|
247
|
-
|
248
|
-
Resets the current user's API key and returns the new key
|
249
|
-
|
250
|
-
### Example
|
251
|
-
```ruby
|
252
|
-
# load the gem
|
253
|
-
require 'bombbomb'
|
254
|
-
# setup authorization
|
255
|
-
BombBomb.configure do |config|
|
256
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
257
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
258
|
-
end
|
259
|
-
|
260
|
-
api_instance = BombBomb::AccountsApi.new
|
261
|
-
|
262
|
-
begin
|
263
|
-
#Reset API key
|
264
|
-
api_instance.reset_api_key
|
265
|
-
rescue BombBomb::ApiError => e
|
266
|
-
puts "Exception when calling AccountsApi->reset_api_key: #{e}"
|
267
|
-
end
|
268
|
-
```
|
269
|
-
|
270
|
-
### Parameters
|
271
|
-
This endpoint does not need any parameter.
|
272
|
-
|
273
|
-
### Return type
|
274
|
-
|
275
|
-
nil (empty response body)
|
276
|
-
|
277
|
-
### Authorization
|
278
|
-
|
279
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
280
|
-
|
281
|
-
### HTTP request headers
|
282
|
-
|
283
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
284
|
-
- **Accept**: application/json
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
# **subscription_purchase_allowed**
|
289
|
-
> subscription_purchase_allowed
|
290
|
-
|
291
|
-
Check if subscription purchase allowed.
|
292
|
-
|
293
|
-
Check whether the user can purchase a subscription.
|
294
|
-
|
295
|
-
### Example
|
296
|
-
```ruby
|
297
|
-
# load the gem
|
298
|
-
require 'bombbomb'
|
299
|
-
# setup authorization
|
300
|
-
BombBomb.configure do |config|
|
301
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
302
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
303
|
-
end
|
304
|
-
|
305
|
-
api_instance = BombBomb::AccountsApi.new
|
306
|
-
|
307
|
-
begin
|
308
|
-
#Check if subscription purchase allowed.
|
309
|
-
api_instance.subscription_purchase_allowed
|
310
|
-
rescue BombBomb::ApiError => e
|
311
|
-
puts "Exception when calling AccountsApi->subscription_purchase_allowed: #{e}"
|
312
|
-
end
|
313
|
-
```
|
314
|
-
|
315
|
-
### Parameters
|
316
|
-
This endpoint does not need any parameter.
|
317
|
-
|
318
|
-
### Return type
|
319
|
-
|
320
|
-
nil (empty response body)
|
321
|
-
|
322
|
-
### Authorization
|
323
|
-
|
324
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
325
|
-
|
326
|
-
### HTTP request headers
|
327
|
-
|
328
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
329
|
-
- **Accept**: application/json
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
# **update_profile_data**
|
334
|
-
> update_profile_data(opts)
|
335
|
-
|
336
|
-
Add profile information.
|
337
|
-
|
338
|
-
Add profile information to this users account
|
339
|
-
|
340
|
-
### Example
|
341
|
-
```ruby
|
342
|
-
# load the gem
|
343
|
-
require 'bombbomb'
|
344
|
-
# setup authorization
|
345
|
-
BombBomb.configure do |config|
|
346
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
347
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
348
|
-
end
|
349
|
-
|
350
|
-
api_instance = BombBomb::AccountsApi.new
|
351
|
-
|
352
|
-
opts = {
|
353
|
-
profile_data: "profile_data_example" # String | Profile field information for the account
|
354
|
-
}
|
355
|
-
|
356
|
-
begin
|
357
|
-
#Add profile information.
|
358
|
-
api_instance.update_profile_data(opts)
|
359
|
-
rescue BombBomb::ApiError => e
|
360
|
-
puts "Exception when calling AccountsApi->update_profile_data: #{e}"
|
361
|
-
end
|
362
|
-
```
|
363
|
-
|
364
|
-
### Parameters
|
365
|
-
|
366
|
-
Name | Type | Description | Notes
|
367
|
-
------------- | ------------- | ------------- | -------------
|
368
|
-
**profile_data** | **String**| Profile field information for the account | [optional]
|
369
|
-
|
370
|
-
### Return type
|
371
|
-
|
372
|
-
nil (empty response body)
|
373
|
-
|
374
|
-
### Authorization
|
375
|
-
|
376
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
377
|
-
|
378
|
-
### HTTP request headers
|
379
|
-
|
380
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
381
|
-
- **Accept**: application/json
|
382
|
-
|
383
|
-
|
384
|
-
|
data/docs/AutomationsApi.md
DELETED
@@ -1,167 +0,0 @@
|
|
1
|
-
# BombBomb::AutomationsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.bombbomb.com/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get_drip_drop_stats**](AutomationsApi.md#get_drip_drop_stats) | **GET** /automation/{dripId}/dripdrop/{dripDropId}/stats | Get Automation Email Stats
|
8
|
-
[**get_drip_stats**](AutomationsApi.md#get_drip_stats) | **GET** /automation/{id}/stats | Get Automation Stats
|
9
|
-
[**get_scheduling_status**](AutomationsApi.md#get_scheduling_status) | **GET** /automation/{id}/scheduling/status | Get the number of pending scheduling calculations
|
10
|
-
|
11
|
-
|
12
|
-
# **get_drip_drop_stats**
|
13
|
-
> get_drip_drop_stats(drip_id, drip_drop_id)
|
14
|
-
|
15
|
-
Get Automation Email Stats
|
16
|
-
|
17
|
-
Get Automation Email Stats
|
18
|
-
|
19
|
-
### Example
|
20
|
-
```ruby
|
21
|
-
# load the gem
|
22
|
-
require 'bombbomb'
|
23
|
-
# setup authorization
|
24
|
-
BombBomb.configure do |config|
|
25
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
26
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
27
|
-
end
|
28
|
-
|
29
|
-
api_instance = BombBomb::AutomationsApi.new
|
30
|
-
|
31
|
-
drip_id = "drip_id_example" # String | The id of the drip
|
32
|
-
|
33
|
-
drip_drop_id = "drip_drop_id_example" # String | The id of the drip drop
|
34
|
-
|
35
|
-
|
36
|
-
begin
|
37
|
-
#Get Automation Email Stats
|
38
|
-
api_instance.get_drip_drop_stats(drip_id, drip_drop_id)
|
39
|
-
rescue BombBomb::ApiError => e
|
40
|
-
puts "Exception when calling AutomationsApi->get_drip_drop_stats: #{e}"
|
41
|
-
end
|
42
|
-
```
|
43
|
-
|
44
|
-
### Parameters
|
45
|
-
|
46
|
-
Name | Type | Description | Notes
|
47
|
-
------------- | ------------- | ------------- | -------------
|
48
|
-
**drip_id** | **String**| The id of the drip |
|
49
|
-
**drip_drop_id** | **String**| The id of the drip drop |
|
50
|
-
|
51
|
-
### Return type
|
52
|
-
|
53
|
-
nil (empty response body)
|
54
|
-
|
55
|
-
### Authorization
|
56
|
-
|
57
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
58
|
-
|
59
|
-
### HTTP request headers
|
60
|
-
|
61
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
62
|
-
- **Accept**: application/json
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
# **get_drip_stats**
|
67
|
-
> get_drip_stats(id)
|
68
|
-
|
69
|
-
Get Automation Stats
|
70
|
-
|
71
|
-
Get Automation Stats
|
72
|
-
|
73
|
-
### Example
|
74
|
-
```ruby
|
75
|
-
# load the gem
|
76
|
-
require 'bombbomb'
|
77
|
-
# setup authorization
|
78
|
-
BombBomb.configure do |config|
|
79
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
80
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
81
|
-
end
|
82
|
-
|
83
|
-
api_instance = BombBomb::AutomationsApi.new
|
84
|
-
|
85
|
-
id = "id_example" # String | The id of the automation
|
86
|
-
|
87
|
-
|
88
|
-
begin
|
89
|
-
#Get Automation Stats
|
90
|
-
api_instance.get_drip_stats(id)
|
91
|
-
rescue BombBomb::ApiError => e
|
92
|
-
puts "Exception when calling AutomationsApi->get_drip_stats: #{e}"
|
93
|
-
end
|
94
|
-
```
|
95
|
-
|
96
|
-
### Parameters
|
97
|
-
|
98
|
-
Name | Type | Description | Notes
|
99
|
-
------------- | ------------- | ------------- | -------------
|
100
|
-
**id** | **String**| The id of the automation |
|
101
|
-
|
102
|
-
### Return type
|
103
|
-
|
104
|
-
nil (empty response body)
|
105
|
-
|
106
|
-
### Authorization
|
107
|
-
|
108
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
109
|
-
|
110
|
-
### HTTP request headers
|
111
|
-
|
112
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
113
|
-
- **Accept**: application/json
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
# **get_scheduling_status**
|
118
|
-
> get_scheduling_status(id)
|
119
|
-
|
120
|
-
Get the number of pending scheduling calculations
|
121
|
-
|
122
|
-
Get the number of pending scheduling calculations
|
123
|
-
|
124
|
-
### Example
|
125
|
-
```ruby
|
126
|
-
# load the gem
|
127
|
-
require 'bombbomb'
|
128
|
-
# setup authorization
|
129
|
-
BombBomb.configure do |config|
|
130
|
-
# Configure OAuth2 access token for authorization: BBOAuth2
|
131
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
132
|
-
end
|
133
|
-
|
134
|
-
api_instance = BombBomb::AutomationsApi.new
|
135
|
-
|
136
|
-
id = "id_example" # String | The id of the automation
|
137
|
-
|
138
|
-
|
139
|
-
begin
|
140
|
-
#Get the number of pending scheduling calculations
|
141
|
-
api_instance.get_scheduling_status(id)
|
142
|
-
rescue BombBomb::ApiError => e
|
143
|
-
puts "Exception when calling AutomationsApi->get_scheduling_status: #{e}"
|
144
|
-
end
|
145
|
-
```
|
146
|
-
|
147
|
-
### Parameters
|
148
|
-
|
149
|
-
Name | Type | Description | Notes
|
150
|
-
------------- | ------------- | ------------- | -------------
|
151
|
-
**id** | **String**| The id of the automation |
|
152
|
-
|
153
|
-
### Return type
|
154
|
-
|
155
|
-
nil (empty response body)
|
156
|
-
|
157
|
-
### Authorization
|
158
|
-
|
159
|
-
[BBOAuth2](../README.md#BBOAuth2)
|
160
|
-
|
161
|
-
### HTTP request headers
|
162
|
-
|
163
|
-
- **Content-Type**: application/x-www-form-urlencoded
|
164
|
-
- **Accept**: application/json
|
165
|
-
|
166
|
-
|
167
|
-
|