zyphr 0.1.0 → 0.1.2
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 +59 -0
- data/docs/BatchPublishWaaSEvents201Response.md +18 -0
- data/docs/CreateWaaSApplication201Response.md +18 -0
- data/docs/CreateWaaSApplicationRequest.md +22 -0
- data/docs/CreateWaaSEndpoint201Response.md +18 -0
- data/docs/CreateWaaSEndpointRequest.md +22 -0
- data/docs/CreateWaaSEndpointResponse.md +30 -0
- data/docs/CreateWaaSEventType201Response.md +18 -0
- data/docs/CreateWaaSEventTypeRequest.md +26 -0
- data/docs/GenerateWaaSPortalToken201Response.md +18 -0
- data/docs/GetWaaSEndpoint200Response.md +18 -0
- data/docs/GetWaaSUsage200Response.md +18 -0
- data/docs/ListWaaSApplications200Response.md +18 -0
- data/docs/ListWaaSEndpointDeliveries200Response.md +18 -0
- data/docs/ListWaaSEndpoints200Response.md +18 -0
- data/docs/ListWaaSEventTypes200Response.md +18 -0
- data/docs/PublishWaaSEvent201Response.md +18 -0
- data/docs/UpdateWaaSApplicationRequest.md +22 -0
- data/docs/UpdateWaaSEndpointRequest.md +22 -0
- data/docs/UpdateWaaSEventTypeRequest.md +24 -0
- data/docs/WaaSApplication.md +32 -0
- data/docs/WaaSApplicationsApi.md +446 -0
- data/docs/WaaSBatchPublishRequest.md +18 -0
- data/docs/WaaSBatchPublishResponse.md +22 -0
- data/docs/WaaSDeliveriesApi.md +319 -0
- data/docs/WaaSDelivery.md +38 -0
- data/docs/WaaSEndpoint.md +32 -0
- data/docs/WaaSEndpointsApi.md +673 -0
- data/docs/WaaSEventType.md +36 -0
- data/docs/WaaSEventTypesApi.md +454 -0
- data/docs/WaaSEventsApi.md +155 -0
- data/docs/WaaSPortalApi.md +81 -0
- data/docs/WaaSPortalTokenRequest.md +24 -0
- data/docs/WaaSPortalTokenRequestTheme.md +20 -0
- data/docs/WaaSPortalTokenResponse.md +20 -0
- data/docs/WaaSPublishEventRequest.md +24 -0
- data/docs/WaaSPublishEventResponse.md +26 -0
- data/docs/WaaSUsageResponse.md +28 -0
- data/lib/zyphr/api/waa_s_applications_api.rb +425 -0
- data/lib/zyphr/api/waa_s_deliveries_api.rb +316 -0
- data/lib/zyphr/api/waa_s_endpoints_api.rb +653 -0
- data/lib/zyphr/api/waa_s_event_types_api.rb +452 -0
- data/lib/zyphr/api/waa_s_events_api.rb +170 -0
- data/lib/zyphr/api/waa_s_portal_api.rb +96 -0
- data/lib/zyphr/models/batch_publish_waa_s_events201_response.rb +220 -0
- data/lib/zyphr/models/create_waa_s_application201_response.rb +220 -0
- data/lib/zyphr/models/create_waa_s_application_request.rb +275 -0
- data/lib/zyphr/models/create_waa_s_endpoint201_response.rb +220 -0
- data/lib/zyphr/models/create_waa_s_endpoint_request.rb +294 -0
- data/lib/zyphr/models/create_waa_s_endpoint_response.rb +277 -0
- data/lib/zyphr/models/create_waa_s_event_type201_response.rb +220 -0
- data/lib/zyphr/models/create_waa_s_event_type_request.rb +292 -0
- data/lib/zyphr/models/generate_waa_s_portal_token201_response.rb +220 -0
- data/lib/zyphr/models/get_waa_s_endpoint200_response.rb +220 -0
- data/lib/zyphr/models/get_waa_s_usage200_response.rb +220 -0
- data/lib/zyphr/models/list_waa_s_applications200_response.rb +222 -0
- data/lib/zyphr/models/list_waa_s_endpoint_deliveries200_response.rb +222 -0
- data/lib/zyphr/models/list_waa_s_endpoints200_response.rb +222 -0
- data/lib/zyphr/models/list_waa_s_event_types200_response.rb +222 -0
- data/lib/zyphr/models/publish_waa_s_event201_response.rb +220 -0
- data/lib/zyphr/models/update_waa_s_application_request.rb +272 -0
- data/lib/zyphr/models/update_waa_s_endpoint_request.rb +274 -0
- data/lib/zyphr/models/update_waa_s_event_type_request.rb +247 -0
- data/lib/zyphr/models/waa_s_application.rb +317 -0
- data/lib/zyphr/models/waa_s_batch_publish_request.rb +248 -0
- data/lib/zyphr/models/waa_s_batch_publish_response.rb +240 -0
- data/lib/zyphr/models/waa_s_delivery.rb +344 -0
- data/lib/zyphr/models/waa_s_endpoint.rb +319 -0
- data/lib/zyphr/models/waa_s_event_type.rb +335 -0
- data/lib/zyphr/models/waa_s_portal_token_request.rb +267 -0
- data/lib/zyphr/models/waa_s_portal_token_request_theme.rb +263 -0
- data/lib/zyphr/models/waa_s_portal_token_response.rb +229 -0
- data/lib/zyphr/models/waa_s_publish_event_request.rb +302 -0
- data/lib/zyphr/models/waa_s_publish_event_response.rb +256 -0
- data/lib/zyphr/models/waa_s_usage_response.rb +265 -0
- data/lib/zyphr.rb +37 -0
- data/spec/api/waa_s_applications_api_spec.rb +110 -0
- data/spec/api/waa_s_deliveries_api_spec.rb +94 -0
- data/spec/api/waa_s_endpoints_api_spec.rb +154 -0
- data/spec/api/waa_s_event_types_api_spec.rb +115 -0
- data/spec/api/waa_s_events_api_spec.rb +61 -0
- data/spec/api/waa_s_portal_api_spec.rb +48 -0
- data/spec/models/batch_publish_waa_s_events201_response_spec.rb +36 -0
- data/spec/models/create_waa_s_application201_response_spec.rb +36 -0
- data/spec/models/create_waa_s_application_request_spec.rb +48 -0
- data/spec/models/create_waa_s_endpoint201_response_spec.rb +36 -0
- data/spec/models/create_waa_s_endpoint_request_spec.rb +48 -0
- data/spec/models/create_waa_s_endpoint_response_spec.rb +72 -0
- data/spec/models/create_waa_s_event_type201_response_spec.rb +36 -0
- data/spec/models/create_waa_s_event_type_request_spec.rb +60 -0
- data/spec/models/generate_waa_s_portal_token201_response_spec.rb +36 -0
- data/spec/models/get_waa_s_endpoint200_response_spec.rb +36 -0
- data/spec/models/get_waa_s_usage200_response_spec.rb +36 -0
- data/spec/models/list_waa_s_applications200_response_spec.rb +36 -0
- data/spec/models/list_waa_s_endpoint_deliveries200_response_spec.rb +36 -0
- data/spec/models/list_waa_s_endpoints200_response_spec.rb +36 -0
- data/spec/models/list_waa_s_event_types200_response_spec.rb +36 -0
- data/spec/models/publish_waa_s_event201_response_spec.rb +36 -0
- data/spec/models/update_waa_s_application_request_spec.rb +52 -0
- data/spec/models/update_waa_s_endpoint_request_spec.rb +52 -0
- data/spec/models/update_waa_s_event_type_request_spec.rb +54 -0
- data/spec/models/waa_s_application_spec.rb +82 -0
- data/spec/models/waa_s_batch_publish_request_spec.rb +36 -0
- data/spec/models/waa_s_batch_publish_response_spec.rb +48 -0
- data/spec/models/waa_s_delivery_spec.rb +100 -0
- data/spec/models/waa_s_endpoint_spec.rb +82 -0
- data/spec/models/waa_s_event_type_spec.rb +94 -0
- data/spec/models/waa_s_portal_token_request_spec.rb +54 -0
- data/spec/models/waa_s_portal_token_request_theme_spec.rb +46 -0
- data/spec/models/waa_s_portal_token_response_spec.rb +42 -0
- data/spec/models/waa_s_publish_event_request_spec.rb +54 -0
- data/spec/models/waa_s_publish_event_response_spec.rb +60 -0
- data/spec/models/waa_s_usage_response_spec.rb +66 -0
- data/zyphr.gemspec +1 -1
- metadata +150 -2
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
# Zyphr::WaaSDeliveriesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.zyphr.dev/v1*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_waa_s_delivery**](WaaSDeliveriesApi.md#get_waa_s_delivery) | **GET** /v1/waas/applications/{appId}/deliveries/{deliveryId} | Get delivery detail |
|
|
8
|
+
| [**list_waa_s_deliveries**](WaaSDeliveriesApi.md#list_waa_s_deliveries) | **GET** /v1/waas/applications/{appId}/deliveries | List deliveries |
|
|
9
|
+
| [**list_waa_s_endpoint_deliveries**](WaaSDeliveriesApi.md#list_waa_s_endpoint_deliveries) | **GET** /v1/waas/applications/{appId}/endpoints/{endpointId}/deliveries | List endpoint deliveries |
|
|
10
|
+
| [**retry_waa_s_delivery**](WaaSDeliveriesApi.md#retry_waa_s_delivery) | **POST** /v1/waas/applications/{appId}/deliveries/{deliveryId}/retry | Retry a delivery |
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## get_waa_s_delivery
|
|
14
|
+
|
|
15
|
+
> get_waa_s_delivery(app_id, delivery_id)
|
|
16
|
+
|
|
17
|
+
Get delivery detail
|
|
18
|
+
|
|
19
|
+
Get full delivery details including request/response data.
|
|
20
|
+
|
|
21
|
+
### Examples
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'time'
|
|
25
|
+
require 'zyphr'
|
|
26
|
+
# setup authorization
|
|
27
|
+
Zyphr.configure do |config|
|
|
28
|
+
# Configure API key authorization: ApiKeyAuth
|
|
29
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
30
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
31
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
api_instance = Zyphr::WaaSDeliveriesApi.new
|
|
35
|
+
app_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
36
|
+
delivery_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
37
|
+
|
|
38
|
+
begin
|
|
39
|
+
# Get delivery detail
|
|
40
|
+
api_instance.get_waa_s_delivery(app_id, delivery_id)
|
|
41
|
+
rescue Zyphr::ApiError => e
|
|
42
|
+
puts "Error when calling WaaSDeliveriesApi->get_waa_s_delivery: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the get_waa_s_delivery_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(nil, Integer, Hash)> get_waa_s_delivery_with_http_info(app_id, delivery_id)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Get delivery detail
|
|
55
|
+
data, status_code, headers = api_instance.get_waa_s_delivery_with_http_info(app_id, delivery_id)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => nil
|
|
59
|
+
rescue Zyphr::ApiError => e
|
|
60
|
+
puts "Error when calling WaaSDeliveriesApi->get_waa_s_delivery_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **app_id** | **String** | | |
|
|
69
|
+
| **delivery_id** | **String** | | |
|
|
70
|
+
|
|
71
|
+
### Return type
|
|
72
|
+
|
|
73
|
+
nil (empty response body)
|
|
74
|
+
|
|
75
|
+
### Authorization
|
|
76
|
+
|
|
77
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
78
|
+
|
|
79
|
+
### HTTP request headers
|
|
80
|
+
|
|
81
|
+
- **Content-Type**: Not defined
|
|
82
|
+
- **Accept**: Not defined
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## list_waa_s_deliveries
|
|
86
|
+
|
|
87
|
+
> <ListWaaSEndpointDeliveries200Response> list_waa_s_deliveries(app_id, opts)
|
|
88
|
+
|
|
89
|
+
List deliveries
|
|
90
|
+
|
|
91
|
+
List delivery records for a WaaS application. Filter by tenant, event type, or status.
|
|
92
|
+
|
|
93
|
+
### Examples
|
|
94
|
+
|
|
95
|
+
```ruby
|
|
96
|
+
require 'time'
|
|
97
|
+
require 'zyphr'
|
|
98
|
+
# setup authorization
|
|
99
|
+
Zyphr.configure do |config|
|
|
100
|
+
# Configure API key authorization: ApiKeyAuth
|
|
101
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
102
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
103
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
api_instance = Zyphr::WaaSDeliveriesApi.new
|
|
107
|
+
app_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
108
|
+
opts = {
|
|
109
|
+
limit: 56, # Integer |
|
|
110
|
+
offset: 56, # Integer |
|
|
111
|
+
tenant_id: 'tenant_id_example', # String |
|
|
112
|
+
event_type: 'event_type_example', # String |
|
|
113
|
+
status: 'pending' # String |
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
begin
|
|
117
|
+
# List deliveries
|
|
118
|
+
result = api_instance.list_waa_s_deliveries(app_id, opts)
|
|
119
|
+
p result
|
|
120
|
+
rescue Zyphr::ApiError => e
|
|
121
|
+
puts "Error when calling WaaSDeliveriesApi->list_waa_s_deliveries: #{e}"
|
|
122
|
+
end
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
#### Using the list_waa_s_deliveries_with_http_info variant
|
|
126
|
+
|
|
127
|
+
This returns an Array which contains the response data, status code and headers.
|
|
128
|
+
|
|
129
|
+
> <Array(<ListWaaSEndpointDeliveries200Response>, Integer, Hash)> list_waa_s_deliveries_with_http_info(app_id, opts)
|
|
130
|
+
|
|
131
|
+
```ruby
|
|
132
|
+
begin
|
|
133
|
+
# List deliveries
|
|
134
|
+
data, status_code, headers = api_instance.list_waa_s_deliveries_with_http_info(app_id, opts)
|
|
135
|
+
p status_code # => 2xx
|
|
136
|
+
p headers # => { ... }
|
|
137
|
+
p data # => <ListWaaSEndpointDeliveries200Response>
|
|
138
|
+
rescue Zyphr::ApiError => e
|
|
139
|
+
puts "Error when calling WaaSDeliveriesApi->list_waa_s_deliveries_with_http_info: #{e}"
|
|
140
|
+
end
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
| Name | Type | Description | Notes |
|
|
146
|
+
| ---- | ---- | ----------- | ----- |
|
|
147
|
+
| **app_id** | **String** | | |
|
|
148
|
+
| **limit** | **Integer** | | [optional][default to 50] |
|
|
149
|
+
| **offset** | **Integer** | | [optional][default to 0] |
|
|
150
|
+
| **tenant_id** | **String** | | [optional] |
|
|
151
|
+
| **event_type** | **String** | | [optional] |
|
|
152
|
+
| **status** | **String** | | [optional] |
|
|
153
|
+
|
|
154
|
+
### Return type
|
|
155
|
+
|
|
156
|
+
[**ListWaaSEndpointDeliveries200Response**](ListWaaSEndpointDeliveries200Response.md)
|
|
157
|
+
|
|
158
|
+
### Authorization
|
|
159
|
+
|
|
160
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
161
|
+
|
|
162
|
+
### HTTP request headers
|
|
163
|
+
|
|
164
|
+
- **Content-Type**: Not defined
|
|
165
|
+
- **Accept**: application/json
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## list_waa_s_endpoint_deliveries
|
|
169
|
+
|
|
170
|
+
> <ListWaaSEndpointDeliveries200Response> list_waa_s_endpoint_deliveries(app_id, endpoint_id, opts)
|
|
171
|
+
|
|
172
|
+
List endpoint deliveries
|
|
173
|
+
|
|
174
|
+
List deliveries for a specific endpoint.
|
|
175
|
+
|
|
176
|
+
### Examples
|
|
177
|
+
|
|
178
|
+
```ruby
|
|
179
|
+
require 'time'
|
|
180
|
+
require 'zyphr'
|
|
181
|
+
# setup authorization
|
|
182
|
+
Zyphr.configure do |config|
|
|
183
|
+
# Configure API key authorization: ApiKeyAuth
|
|
184
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
185
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
186
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
api_instance = Zyphr::WaaSDeliveriesApi.new
|
|
190
|
+
app_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
191
|
+
endpoint_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
192
|
+
opts = {
|
|
193
|
+
limit: 56, # Integer |
|
|
194
|
+
offset: 56, # Integer |
|
|
195
|
+
status: 'status_example' # String |
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
begin
|
|
199
|
+
# List endpoint deliveries
|
|
200
|
+
result = api_instance.list_waa_s_endpoint_deliveries(app_id, endpoint_id, opts)
|
|
201
|
+
p result
|
|
202
|
+
rescue Zyphr::ApiError => e
|
|
203
|
+
puts "Error when calling WaaSDeliveriesApi->list_waa_s_endpoint_deliveries: #{e}"
|
|
204
|
+
end
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
#### Using the list_waa_s_endpoint_deliveries_with_http_info variant
|
|
208
|
+
|
|
209
|
+
This returns an Array which contains the response data, status code and headers.
|
|
210
|
+
|
|
211
|
+
> <Array(<ListWaaSEndpointDeliveries200Response>, Integer, Hash)> list_waa_s_endpoint_deliveries_with_http_info(app_id, endpoint_id, opts)
|
|
212
|
+
|
|
213
|
+
```ruby
|
|
214
|
+
begin
|
|
215
|
+
# List endpoint deliveries
|
|
216
|
+
data, status_code, headers = api_instance.list_waa_s_endpoint_deliveries_with_http_info(app_id, endpoint_id, opts)
|
|
217
|
+
p status_code # => 2xx
|
|
218
|
+
p headers # => { ... }
|
|
219
|
+
p data # => <ListWaaSEndpointDeliveries200Response>
|
|
220
|
+
rescue Zyphr::ApiError => e
|
|
221
|
+
puts "Error when calling WaaSDeliveriesApi->list_waa_s_endpoint_deliveries_with_http_info: #{e}"
|
|
222
|
+
end
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Parameters
|
|
226
|
+
|
|
227
|
+
| Name | Type | Description | Notes |
|
|
228
|
+
| ---- | ---- | ----------- | ----- |
|
|
229
|
+
| **app_id** | **String** | | |
|
|
230
|
+
| **endpoint_id** | **String** | | |
|
|
231
|
+
| **limit** | **Integer** | | [optional][default to 50] |
|
|
232
|
+
| **offset** | **Integer** | | [optional][default to 0] |
|
|
233
|
+
| **status** | **String** | | [optional] |
|
|
234
|
+
|
|
235
|
+
### Return type
|
|
236
|
+
|
|
237
|
+
[**ListWaaSEndpointDeliveries200Response**](ListWaaSEndpointDeliveries200Response.md)
|
|
238
|
+
|
|
239
|
+
### Authorization
|
|
240
|
+
|
|
241
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
242
|
+
|
|
243
|
+
### HTTP request headers
|
|
244
|
+
|
|
245
|
+
- **Content-Type**: Not defined
|
|
246
|
+
- **Accept**: application/json
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
## retry_waa_s_delivery
|
|
250
|
+
|
|
251
|
+
> retry_waa_s_delivery(app_id, delivery_id)
|
|
252
|
+
|
|
253
|
+
Retry a delivery
|
|
254
|
+
|
|
255
|
+
Retry a failed or exhausted delivery. Resets the delivery status and re-queues it.
|
|
256
|
+
|
|
257
|
+
### Examples
|
|
258
|
+
|
|
259
|
+
```ruby
|
|
260
|
+
require 'time'
|
|
261
|
+
require 'zyphr'
|
|
262
|
+
# setup authorization
|
|
263
|
+
Zyphr.configure do |config|
|
|
264
|
+
# Configure API key authorization: ApiKeyAuth
|
|
265
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
266
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
267
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
api_instance = Zyphr::WaaSDeliveriesApi.new
|
|
271
|
+
app_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
272
|
+
delivery_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
273
|
+
|
|
274
|
+
begin
|
|
275
|
+
# Retry a delivery
|
|
276
|
+
api_instance.retry_waa_s_delivery(app_id, delivery_id)
|
|
277
|
+
rescue Zyphr::ApiError => e
|
|
278
|
+
puts "Error when calling WaaSDeliveriesApi->retry_waa_s_delivery: #{e}"
|
|
279
|
+
end
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
#### Using the retry_waa_s_delivery_with_http_info variant
|
|
283
|
+
|
|
284
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
285
|
+
|
|
286
|
+
> <Array(nil, Integer, Hash)> retry_waa_s_delivery_with_http_info(app_id, delivery_id)
|
|
287
|
+
|
|
288
|
+
```ruby
|
|
289
|
+
begin
|
|
290
|
+
# Retry a delivery
|
|
291
|
+
data, status_code, headers = api_instance.retry_waa_s_delivery_with_http_info(app_id, delivery_id)
|
|
292
|
+
p status_code # => 2xx
|
|
293
|
+
p headers # => { ... }
|
|
294
|
+
p data # => nil
|
|
295
|
+
rescue Zyphr::ApiError => e
|
|
296
|
+
puts "Error when calling WaaSDeliveriesApi->retry_waa_s_delivery_with_http_info: #{e}"
|
|
297
|
+
end
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Parameters
|
|
301
|
+
|
|
302
|
+
| Name | Type | Description | Notes |
|
|
303
|
+
| ---- | ---- | ----------- | ----- |
|
|
304
|
+
| **app_id** | **String** | | |
|
|
305
|
+
| **delivery_id** | **String** | | |
|
|
306
|
+
|
|
307
|
+
### Return type
|
|
308
|
+
|
|
309
|
+
nil (empty response body)
|
|
310
|
+
|
|
311
|
+
### Authorization
|
|
312
|
+
|
|
313
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
314
|
+
|
|
315
|
+
### HTTP request headers
|
|
316
|
+
|
|
317
|
+
- **Content-Type**: Not defined
|
|
318
|
+
- **Accept**: Not defined
|
|
319
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Zyphr::WaaSDelivery
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **application_id** | **String** | | [optional] |
|
|
9
|
+
| **endpoint_id** | **String** | | [optional] |
|
|
10
|
+
| **event_id** | **String** | | [optional] |
|
|
11
|
+
| **event_type** | **String** | | [optional] |
|
|
12
|
+
| **tenant_id** | **String** | | [optional] |
|
|
13
|
+
| **status** | **String** | | [optional] |
|
|
14
|
+
| **attempts** | **Integer** | | [optional] |
|
|
15
|
+
| **last_attempt_at** | **Time** | | [optional] |
|
|
16
|
+
| **next_retry_at** | **Time** | | [optional] |
|
|
17
|
+
| **created_at** | **Time** | | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'zyphr'
|
|
23
|
+
|
|
24
|
+
instance = Zyphr::WaaSDelivery.new(
|
|
25
|
+
id: null,
|
|
26
|
+
application_id: null,
|
|
27
|
+
endpoint_id: null,
|
|
28
|
+
event_id: null,
|
|
29
|
+
event_type: null,
|
|
30
|
+
tenant_id: null,
|
|
31
|
+
status: null,
|
|
32
|
+
attempts: null,
|
|
33
|
+
last_attempt_at: null,
|
|
34
|
+
next_retry_at: null,
|
|
35
|
+
created_at: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Zyphr::WaaSEndpoint
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **application_id** | **String** | | [optional] |
|
|
9
|
+
| **tenant_id** | **String** | | [optional] |
|
|
10
|
+
| **url** | **String** | | [optional] |
|
|
11
|
+
| **events** | **Array<String>** | | [optional] |
|
|
12
|
+
| **status** | **String** | | [optional] |
|
|
13
|
+
| **created_at** | **Time** | | [optional] |
|
|
14
|
+
| **updated_at** | **Time** | | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'zyphr'
|
|
20
|
+
|
|
21
|
+
instance = Zyphr::WaaSEndpoint.new(
|
|
22
|
+
id: null,
|
|
23
|
+
application_id: null,
|
|
24
|
+
tenant_id: tenant_abc,
|
|
25
|
+
url: https://customer.example.com/webhooks,
|
|
26
|
+
events: ["order.created","order.updated"],
|
|
27
|
+
status: null,
|
|
28
|
+
created_at: null,
|
|
29
|
+
updated_at: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|