bombbomb 2.0.21454 → 2.0.22196
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 +35 -14
- data/bombbomb.gemspec +1 -1
- data/docs/AutomationsApi.md +115 -0
- data/docs/EmailsApi.md +246 -0
- data/docs/JerichoConfiguration.md +5 -1
- data/docs/PromptBotBot.md +18 -0
- data/docs/PromptsApi.md +384 -3
- data/docs/SignUploadRequest.md +9 -0
- data/docs/SignUploadResponse.md +9 -0
- data/docs/VideoEmailPrompt.md +9 -2
- data/docs/VideoPublicRepresentation.md +18 -0
- data/docs/VideoRecorderMethodResponse.md +15 -0
- data/docs/VideosApi.md +175 -0
- data/lib/bombbomb.rb +9 -1
- data/lib/bombbomb/api/automations_api.rb +150 -0
- data/lib/bombbomb/api/curriculum_api.rb +1 -1
- data/lib/bombbomb/api/emails_api.rb +293 -0
- data/lib/bombbomb/api/prompts_api.rb +439 -5
- data/lib/bombbomb/api/teams_api.rb +1 -1
- data/lib/bombbomb/api/utilities_api.rb +1 -1
- data/lib/bombbomb/api/videos_api.rb +221 -0
- data/lib/bombbomb/api/webhooks_api.rb +1 -1
- data/lib/bombbomb/api_client.rb +1 -1
- data/lib/bombbomb/api_error.rb +1 -1
- data/lib/bombbomb/configuration.rb +1 -1
- data/lib/bombbomb/models/bb_web_hook.rb +1 -1
- data/lib/bombbomb/models/curriculum.rb +1 -1
- data/lib/bombbomb/models/curriculum_user_progress.rb +1 -1
- data/lib/bombbomb/models/curriculum_with_progress.rb +1 -1
- data/lib/bombbomb/models/inline_response_200.rb +1 -1
- data/lib/bombbomb/models/inline_response_200_items.rb +1 -1
- data/lib/bombbomb/models/jericho_configuration.rb +43 -3
- data/lib/bombbomb/models/jericho_performance.rb +1 -1
- data/lib/bombbomb/models/o_auth_client.rb +1 -1
- data/lib/bombbomb/models/prompt_bot_bot.rb +300 -0
- data/lib/bombbomb/models/sign_upload_request.rb +210 -0
- data/lib/bombbomb/models/sign_upload_response.rb +210 -0
- data/lib/bombbomb/models/string.rb +1 -1
- data/lib/bombbomb/models/team_public_representation.rb +1 -1
- data/lib/bombbomb/models/video_email_prompt.rb +79 -9
- data/lib/bombbomb/models/video_public_representation.rb +302 -0
- data/lib/bombbomb/models/video_recorder_method_response.rb +270 -0
- data/lib/bombbomb/version.rb +2 -2
- data/spec/api/automations_api_spec.rb +71 -0
- data/spec/api/emails_api_spec.rb +104 -0
- data/spec/api/videos_api_spec.rb +86 -0
- data/spec/models/prompt_bot_bot_spec.rb +113 -0
- data/spec/models/sign_upload_request_spec.rb +59 -0
- data/spec/models/sign_upload_response_spec.rb +59 -0
- data/spec/models/video_public_representation_spec.rb +113 -0
- data/spec/models/video_recorder_method_response_spec.rb +95 -0
- metadata +34 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e40ffcd84e2e93547f4957ff42ada08f1ffc5857
|
|
4
|
+
data.tar.gz: 576ee545e31104ae20fef7f7afb260b731947eda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77dd7daf1a07d7f9e656116323f1f611e6c35f1f3d2153be9bbb8fde98a1242b93f5394d535c29396446fd19310c3dad296da7db006b77c5d127af877ee9de6b
|
|
7
|
+
data.tar.gz: abf5a6a7b6a8aca27b66a411e1c47fa2a03328a31f3a3f7187011d4dfd8367fcffc1c3163f8e0f2fbe5dac8ad770279f8faaaa78569002cac8edbd625033eae6
|
data/README.md
CHANGED
|
@@ -6,9 +6,9 @@ We make it easy to build relationships using simple videos.
|
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
|
-
- API version: 2.0.
|
|
10
|
-
- Package version: 2.0.
|
|
11
|
-
- Build date:
|
|
9
|
+
- API version: 2.0.22196
|
|
10
|
+
- Package version: 2.0.22196
|
|
11
|
+
- Build date: 2017-01-23T18:33:23.058Z
|
|
12
12
|
- Build package: class io.swagger.codegen.languages.RubyClientCodegen
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
@@ -24,15 +24,15 @@ gem build bombbomb.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./bombbomb-2.0.
|
|
27
|
+
gem install ./bombbomb-2.0.22196.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./bombbomb-2.0.
|
|
29
|
+
(for development, run `gem install --dev ./bombbomb-2.0.22196.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'bombbomb', '~> 2.0.
|
|
35
|
+
gem 'bombbomb', '~> 2.0.22196'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -61,18 +61,18 @@ BombBomb.configure do |config|
|
|
|
61
61
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
api_instance = BombBomb::
|
|
64
|
+
api_instance = BombBomb::AutomationsApi.new
|
|
65
|
+
|
|
66
|
+
drip_id = "drip_id_example" # String | The id of the drip
|
|
67
|
+
|
|
68
|
+
drip_drop_id = "drip_drop_id_example" # String | The id of the drip drop
|
|
65
69
|
|
|
66
|
-
opts = {
|
|
67
|
-
include_progress: true # BOOLEAN | Whether to return progress with the curriculum.
|
|
68
|
-
}
|
|
69
70
|
|
|
70
71
|
begin
|
|
71
|
-
#Get
|
|
72
|
-
|
|
73
|
-
p result
|
|
72
|
+
#Get Automation Email Stats
|
|
73
|
+
api_instance.get_drip_drop_stats(drip_id, drip_drop_id)
|
|
74
74
|
rescue BombBomb::ApiError => e
|
|
75
|
-
puts "Exception when calling
|
|
75
|
+
puts "Exception when calling AutomationsApi->get_drip_drop_stats: #{e}"
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
```
|
|
@@ -83,11 +83,24 @@ All URIs are relative to *https://api.bombbomb.com/v2*
|
|
|
83
83
|
|
|
84
84
|
Class | Method | HTTP request | Description
|
|
85
85
|
------------ | ------------- | ------------- | -------------
|
|
86
|
+
*BombBomb::AutomationsApi* | [**get_drip_drop_stats**](docs/AutomationsApi.md#get_drip_drop_stats) | **GET** /automation/{dripId}/dripdrop/{dripDropId}/stats | Get Automation Email Stats
|
|
87
|
+
*BombBomb::AutomationsApi* | [**get_drip_stats**](docs/AutomationsApi.md#get_drip_stats) | **GET** /automation/{id}/stats | Get Automation Stats
|
|
86
88
|
*BombBomb::CurriculumApi* | [**get_curricula**](docs/CurriculumApi.md#get_curricula) | **GET** /curricula/ | Get Curricula
|
|
87
89
|
*BombBomb::CurriculumApi* | [**get_user_curriculum_with_progress**](docs/CurriculumApi.md#get_user_curriculum_with_progress) | **GET** /curriculum/getForUserWithProgress | Get Detailed For User
|
|
90
|
+
*BombBomb::EmailsApi* | [**create_printing_press_email**](docs/EmailsApi.md#create_printing_press_email) | **POST** /emails/print | Create an Email with Printing Press
|
|
91
|
+
*BombBomb::EmailsApi* | [**get_email_tracking**](docs/EmailsApi.md#get_email_tracking) | **GET** /emails/{emailId}/tracking | Get Email Tracking
|
|
92
|
+
*BombBomb::EmailsApi* | [**get_email_tracking_interactions**](docs/EmailsApi.md#get_email_tracking_interactions) | **GET** /emails/{emailId}/tracking/interactions | Get Email Tracking Interactions
|
|
93
|
+
*BombBomb::EmailsApi* | [**get_hourly_email_tracking**](docs/EmailsApi.md#get_hourly_email_tracking) | **GET** /emails/{emailId}/tracking/hourly | Get Hourly Email Tracking
|
|
94
|
+
*BombBomb::PromptsApi* | [**create_prompt_bot**](docs/PromptsApi.md#create_prompt_bot) | **POST** /prompts/bots | Create a running Prompt Bot for a list
|
|
88
95
|
*BombBomb::PromptsApi* | [**create_video_email_prompt**](docs/PromptsApi.md#create_video_email_prompt) | **POST** /prompt | Prompts user to send a video
|
|
96
|
+
*BombBomb::PromptsApi* | [**get_pending_video_email_prompts**](docs/PromptsApi.md#get_pending_video_email_prompts) | **GET** /prompt/pending | List pending prompts
|
|
97
|
+
*BombBomb::PromptsApi* | [**get_prompt_bots**](docs/PromptsApi.md#get_prompt_bots) | **GET** /prompts/bots | List Prompt Bots
|
|
98
|
+
*BombBomb::PromptsApi* | [**get_prompt_campaigns**](docs/PromptsApi.md#get_prompt_campaigns) | **GET** /prompts/campaigns | List Prompt Campaigns
|
|
89
99
|
*BombBomb::PromptsApi* | [**get_video_email_prompt**](docs/PromptsApi.md#get_video_email_prompt) | **GET** /prompt/{id} | Gets a prompt
|
|
100
|
+
*BombBomb::PromptsApi* | [**get_video_email_prompts**](docs/PromptsApi.md#get_video_email_prompts) | **GET** /prompt/ | List prompts
|
|
90
101
|
*BombBomb::PromptsApi* | [**respond_to_video_email_prompt**](docs/PromptsApi.md#respond_to_video_email_prompt) | **POST** /prompt/{id}/response | Respond to a prompt
|
|
102
|
+
*BombBomb::PromptsApi* | [**update_prompt_bot**](docs/PromptsApi.md#update_prompt_bot) | **PUT** /prompts/bots/{id} | Update Prompt Bot
|
|
103
|
+
*BombBomb::PromptsApi* | [**update_prompt_campaign**](docs/PromptsApi.md#update_prompt_campaign) | **PUT** /prompts/campaigns/{id} | Update Prompt Campaign
|
|
91
104
|
*BombBomb::TeamsApi* | [**add_team_member**](docs/TeamsApi.md#add_team_member) | **POST** /team/{teamId}/member | Add Member to Team
|
|
92
105
|
*BombBomb::TeamsApi* | [**cancel_jericho_send**](docs/TeamsApi.md#cancel_jericho_send) | **DELETE** /team/{teamId}/jericho/{jerichoId} | Cancel a Jericho Send
|
|
93
106
|
*BombBomb::TeamsApi* | [**create_subteam**](docs/TeamsApi.md#create_subteam) | **POST** /team/{teamId}/subteam | Add a Subteam
|
|
@@ -103,6 +116,9 @@ Class | Method | HTTP request | Description
|
|
|
103
116
|
*BombBomb::UtilitiesApi* | [**delete_o_auth_client**](docs/UtilitiesApi.md#delete_o_auth_client) | **DELETE** /oauthclient/{id} | Delete an OAuth Client
|
|
104
117
|
*BombBomb::UtilitiesApi* | [**get_o_auth_clients**](docs/UtilitiesApi.md#get_o_auth_clients) | **GET** /oauthclient | Lists OAuth Clients
|
|
105
118
|
*BombBomb::UtilitiesApi* | [**get_spec**](docs/UtilitiesApi.md#get_spec) | **GET** /spec | Describes this api
|
|
119
|
+
*BombBomb::VideosApi* | [**get_video_recorder**](docs/VideosApi.md#get_video_recorder) | **GET** /videos/live/getRecorder | Get Live Video Recorder HTML
|
|
120
|
+
*BombBomb::VideosApi* | [**mark_live_recording_complete**](docs/VideosApi.md#mark_live_recording_complete) | **POST** /videos/live/markComplete | Completes a live recording
|
|
121
|
+
*BombBomb::VideosApi* | [**sign_upload**](docs/VideosApi.md#sign_upload) | **POST** /video/signedUpload | Generate Signed Url
|
|
106
122
|
*BombBomb::WebhooksApi* | [**add_web_hook**](docs/WebhooksApi.md#add_web_hook) | **POST** /webhook | Add Webhook
|
|
107
123
|
*BombBomb::WebhooksApi* | [**delete_web_hook**](docs/WebhooksApi.md#delete_web_hook) | **DELETE** /webhook/{hookId} | Deletes Webhook
|
|
108
124
|
*BombBomb::WebhooksApi* | [**get_web_hooks**](docs/WebhooksApi.md#get_web_hooks) | **GET** /webhook/ | Lists Webhooks
|
|
@@ -121,9 +137,14 @@ Class | Method | HTTP request | Description
|
|
|
121
137
|
- [BombBomb::JerichoConfiguration](docs/JerichoConfiguration.md)
|
|
122
138
|
- [BombBomb::JerichoPerformance](docs/JerichoPerformance.md)
|
|
123
139
|
- [BombBomb::OAuthClient](docs/OAuthClient.md)
|
|
140
|
+
- [BombBomb::PromptBotBot](docs/PromptBotBot.md)
|
|
141
|
+
- [BombBomb::SignUploadRequest](docs/SignUploadRequest.md)
|
|
142
|
+
- [BombBomb::SignUploadResponse](docs/SignUploadResponse.md)
|
|
124
143
|
- [BombBomb::String](docs/String.md)
|
|
125
144
|
- [BombBomb::TeamPublicRepresentation](docs/TeamPublicRepresentation.md)
|
|
126
145
|
- [BombBomb::VideoEmailPrompt](docs/VideoEmailPrompt.md)
|
|
146
|
+
- [BombBomb::VideoPublicRepresentation](docs/VideoPublicRepresentation.md)
|
|
147
|
+
- [BombBomb::VideoRecorderMethodResponse](docs/VideoRecorderMethodResponse.md)
|
|
127
148
|
|
|
128
149
|
|
|
129
150
|
## Documentation for Authorization
|
data/bombbomb.gemspec
CHANGED
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
|
|
10
|
+
|
|
11
|
+
# **get_drip_drop_stats**
|
|
12
|
+
> get_drip_drop_stats(drip_id, drip_drop_id)
|
|
13
|
+
|
|
14
|
+
Get Automation Email Stats
|
|
15
|
+
|
|
16
|
+
Get Automation Email Stats
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
```ruby
|
|
20
|
+
# load the gem
|
|
21
|
+
require 'bombbomb'
|
|
22
|
+
# setup authorization
|
|
23
|
+
BombBomb.configure do |config|
|
|
24
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
25
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
api_instance = BombBomb::AutomationsApi.new
|
|
29
|
+
|
|
30
|
+
drip_id = "drip_id_example" # String | The id of the drip
|
|
31
|
+
|
|
32
|
+
drip_drop_id = "drip_drop_id_example" # String | The id of the drip drop
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
#Get Automation Email Stats
|
|
37
|
+
api_instance.get_drip_drop_stats(drip_id, drip_drop_id)
|
|
38
|
+
rescue BombBomb::ApiError => e
|
|
39
|
+
puts "Exception when calling AutomationsApi->get_drip_drop_stats: #{e}"
|
|
40
|
+
end
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
Name | Type | Description | Notes
|
|
46
|
+
------------- | ------------- | ------------- | -------------
|
|
47
|
+
**drip_id** | **String**| The id of the drip |
|
|
48
|
+
**drip_drop_id** | **String**| The id of the drip drop |
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
nil (empty response body)
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# **get_drip_stats**
|
|
66
|
+
> get_drip_stats(id)
|
|
67
|
+
|
|
68
|
+
Get Automation Stats
|
|
69
|
+
|
|
70
|
+
Get Automation Stats
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
```ruby
|
|
74
|
+
# load the gem
|
|
75
|
+
require 'bombbomb'
|
|
76
|
+
# setup authorization
|
|
77
|
+
BombBomb.configure do |config|
|
|
78
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
79
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
api_instance = BombBomb::AutomationsApi.new
|
|
83
|
+
|
|
84
|
+
id = "id_example" # String | The id of the automation
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
begin
|
|
88
|
+
#Get Automation Stats
|
|
89
|
+
api_instance.get_drip_stats(id)
|
|
90
|
+
rescue BombBomb::ApiError => e
|
|
91
|
+
puts "Exception when calling AutomationsApi->get_drip_stats: #{e}"
|
|
92
|
+
end
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
Name | Type | Description | Notes
|
|
98
|
+
------------- | ------------- | ------------- | -------------
|
|
99
|
+
**id** | **String**| The id of the automation |
|
|
100
|
+
|
|
101
|
+
### Return type
|
|
102
|
+
|
|
103
|
+
nil (empty response body)
|
|
104
|
+
|
|
105
|
+
### Authorization
|
|
106
|
+
|
|
107
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
108
|
+
|
|
109
|
+
### HTTP request headers
|
|
110
|
+
|
|
111
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
112
|
+
- **Accept**: application/json
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
data/docs/EmailsApi.md
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# BombBomb::EmailsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.bombbomb.com/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create_printing_press_email**](EmailsApi.md#create_printing_press_email) | **POST** /emails/print | Create an Email with Printing Press
|
|
8
|
+
[**get_email_tracking**](EmailsApi.md#get_email_tracking) | **GET** /emails/{emailId}/tracking | Get Email Tracking
|
|
9
|
+
[**get_email_tracking_interactions**](EmailsApi.md#get_email_tracking_interactions) | **GET** /emails/{emailId}/tracking/interactions | Get Email Tracking Interactions
|
|
10
|
+
[**get_hourly_email_tracking**](EmailsApi.md#get_hourly_email_tracking) | **GET** /emails/{emailId}/tracking/hourly | Get Hourly Email Tracking
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# **create_printing_press_email**
|
|
14
|
+
> create_printing_press_email(template_id, content, replace, opts)
|
|
15
|
+
|
|
16
|
+
Create an Email with Printing Press
|
|
17
|
+
|
|
18
|
+
Prints an email using the template id and content to the users account.If a video id, is include it will replace any video placeholders with that video.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
```ruby
|
|
22
|
+
# load the gem
|
|
23
|
+
require 'bombbomb'
|
|
24
|
+
# setup authorization
|
|
25
|
+
BombBomb.configure do |config|
|
|
26
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
27
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
api_instance = BombBomb::EmailsApi.new
|
|
31
|
+
|
|
32
|
+
template_id = "template_id_example" # String | The template id to be printed.
|
|
33
|
+
|
|
34
|
+
content = "content_example" # String | The content of the email.
|
|
35
|
+
|
|
36
|
+
replace = true # BOOLEAN | Set whether to replace video placeholders with video id.
|
|
37
|
+
|
|
38
|
+
opts = {
|
|
39
|
+
video_id: "video_id_example", # String | A video to replace video place holders with.
|
|
40
|
+
subject_line: "subject_line_example" # String | The subject line to be printed.
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
begin
|
|
44
|
+
#Create an Email with Printing Press
|
|
45
|
+
api_instance.create_printing_press_email(template_id, content, replace, opts)
|
|
46
|
+
rescue BombBomb::ApiError => e
|
|
47
|
+
puts "Exception when calling EmailsApi->create_printing_press_email: #{e}"
|
|
48
|
+
end
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Parameters
|
|
52
|
+
|
|
53
|
+
Name | Type | Description | Notes
|
|
54
|
+
------------- | ------------- | ------------- | -------------
|
|
55
|
+
**template_id** | **String**| The template id to be printed. |
|
|
56
|
+
**content** | **String**| The content of the email. |
|
|
57
|
+
**replace** | **BOOLEAN**| Set whether to replace video placeholders with video id. |
|
|
58
|
+
**video_id** | **String**| A video to replace video place holders with. | [optional]
|
|
59
|
+
**subject_line** | **String**| The subject line to be printed. | [optional]
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
nil (empty response body)
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# **get_email_tracking**
|
|
77
|
+
> get_email_tracking(email_id, opts)
|
|
78
|
+
|
|
79
|
+
Get Email Tracking
|
|
80
|
+
|
|
81
|
+
Get Tracking data for all sends of an Email
|
|
82
|
+
|
|
83
|
+
### Example
|
|
84
|
+
```ruby
|
|
85
|
+
# load the gem
|
|
86
|
+
require 'bombbomb'
|
|
87
|
+
# setup authorization
|
|
88
|
+
BombBomb.configure do |config|
|
|
89
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
90
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
api_instance = BombBomb::EmailsApi.new
|
|
94
|
+
|
|
95
|
+
email_id = "email_id_example" # String | ID of the email
|
|
96
|
+
|
|
97
|
+
opts = {
|
|
98
|
+
job_id: "job_id_example" # String | ID of the Job (or null for all jobs)
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
begin
|
|
102
|
+
#Get Email Tracking
|
|
103
|
+
api_instance.get_email_tracking(email_id, opts)
|
|
104
|
+
rescue BombBomb::ApiError => e
|
|
105
|
+
puts "Exception when calling EmailsApi->get_email_tracking: #{e}"
|
|
106
|
+
end
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Parameters
|
|
110
|
+
|
|
111
|
+
Name | Type | Description | Notes
|
|
112
|
+
------------- | ------------- | ------------- | -------------
|
|
113
|
+
**email_id** | **String**| ID of the email |
|
|
114
|
+
**job_id** | **String**| ID of the Job (or null for all jobs) | [optional]
|
|
115
|
+
|
|
116
|
+
### Return type
|
|
117
|
+
|
|
118
|
+
nil (empty response body)
|
|
119
|
+
|
|
120
|
+
### Authorization
|
|
121
|
+
|
|
122
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
123
|
+
|
|
124
|
+
### HTTP request headers
|
|
125
|
+
|
|
126
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
127
|
+
- **Accept**: application/json
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
# **get_email_tracking_interactions**
|
|
132
|
+
> get_email_tracking_interactions(email_id, opts)
|
|
133
|
+
|
|
134
|
+
Get Email Tracking Interactions
|
|
135
|
+
|
|
136
|
+
Get Contact detail interactions for an Email
|
|
137
|
+
|
|
138
|
+
### Example
|
|
139
|
+
```ruby
|
|
140
|
+
# load the gem
|
|
141
|
+
require 'bombbomb'
|
|
142
|
+
# setup authorization
|
|
143
|
+
BombBomb.configure do |config|
|
|
144
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
145
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
api_instance = BombBomb::EmailsApi.new
|
|
149
|
+
|
|
150
|
+
email_id = "email_id_example" # String | ID of the email
|
|
151
|
+
|
|
152
|
+
opts = {
|
|
153
|
+
job_id: "job_id_example", # String | ID of the Job (or null for all jobs)
|
|
154
|
+
interaction_type: "interaction_type_example", # String | Interaction type to order and filter by
|
|
155
|
+
search_term: "search_term_example" # String | Search term to filer by
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
begin
|
|
159
|
+
#Get Email Tracking Interactions
|
|
160
|
+
api_instance.get_email_tracking_interactions(email_id, opts)
|
|
161
|
+
rescue BombBomb::ApiError => e
|
|
162
|
+
puts "Exception when calling EmailsApi->get_email_tracking_interactions: #{e}"
|
|
163
|
+
end
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Parameters
|
|
167
|
+
|
|
168
|
+
Name | Type | Description | Notes
|
|
169
|
+
------------- | ------------- | ------------- | -------------
|
|
170
|
+
**email_id** | **String**| ID of the email |
|
|
171
|
+
**job_id** | **String**| ID of the Job (or null for all jobs) | [optional]
|
|
172
|
+
**interaction_type** | **String**| Interaction type to order and filter by | [optional]
|
|
173
|
+
**search_term** | **String**| Search term to filer by | [optional]
|
|
174
|
+
|
|
175
|
+
### Return type
|
|
176
|
+
|
|
177
|
+
nil (empty response body)
|
|
178
|
+
|
|
179
|
+
### Authorization
|
|
180
|
+
|
|
181
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
182
|
+
|
|
183
|
+
### HTTP request headers
|
|
184
|
+
|
|
185
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
186
|
+
- **Accept**: application/json
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
# **get_hourly_email_tracking**
|
|
191
|
+
> get_hourly_email_tracking(email_id, opts)
|
|
192
|
+
|
|
193
|
+
Get Hourly Email Tracking
|
|
194
|
+
|
|
195
|
+
Get Tracking data for an Email, broken down by the hour and filterable by an Interaction type
|
|
196
|
+
|
|
197
|
+
### Example
|
|
198
|
+
```ruby
|
|
199
|
+
# load the gem
|
|
200
|
+
require 'bombbomb'
|
|
201
|
+
# setup authorization
|
|
202
|
+
BombBomb.configure do |config|
|
|
203
|
+
# Configure OAuth2 access token for authorization: BBOAuth2
|
|
204
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
api_instance = BombBomb::EmailsApi.new
|
|
208
|
+
|
|
209
|
+
email_id = "email_id_example" # String | ID of the email
|
|
210
|
+
|
|
211
|
+
opts = {
|
|
212
|
+
job_id: "job_id_example", # String | ID of the Job (or null for all jobs)
|
|
213
|
+
interaction_type: "interaction_type_example" # String | Interaction type to filter by
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
begin
|
|
217
|
+
#Get Hourly Email Tracking
|
|
218
|
+
api_instance.get_hourly_email_tracking(email_id, opts)
|
|
219
|
+
rescue BombBomb::ApiError => e
|
|
220
|
+
puts "Exception when calling EmailsApi->get_hourly_email_tracking: #{e}"
|
|
221
|
+
end
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Parameters
|
|
225
|
+
|
|
226
|
+
Name | Type | Description | Notes
|
|
227
|
+
------------- | ------------- | ------------- | -------------
|
|
228
|
+
**email_id** | **String**| ID of the email |
|
|
229
|
+
**job_id** | **String**| ID of the Job (or null for all jobs) | [optional]
|
|
230
|
+
**interaction_type** | **String**| Interaction type to filter by | [optional]
|
|
231
|
+
|
|
232
|
+
### Return type
|
|
233
|
+
|
|
234
|
+
nil (empty response body)
|
|
235
|
+
|
|
236
|
+
### Authorization
|
|
237
|
+
|
|
238
|
+
[BBOAuth2](../README.md#BBOAuth2)
|
|
239
|
+
|
|
240
|
+
### HTTP request headers
|
|
241
|
+
|
|
242
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
|
243
|
+
- **Accept**: application/json
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|