unitpost 0.1.0 → 0.2.1
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 +3 -3
- data/lib/unitpost/client.rb +4 -8
- data/lib/unitpost/generated/operations.rb +410 -410
- data/lib/unitpost/resources.rb +55 -45
- data/lib/unitpost/version.rb +1 -1
- metadata +2 -2
|
@@ -80,160 +80,6 @@ module Unitpost
|
|
|
80
80
|
is_list: false,
|
|
81
81
|
list_item_schema: nil
|
|
82
82
|
},
|
|
83
|
-
{
|
|
84
|
-
operation_id: "campaigns.cancel",
|
|
85
|
-
resource: "campaigns",
|
|
86
|
-
method_name: "cancel",
|
|
87
|
-
http_method: "POST",
|
|
88
|
-
path: "/campaigns/{id}/cancel",
|
|
89
|
-
path_params: ["id"],
|
|
90
|
-
query_params: [],
|
|
91
|
-
has_body: false,
|
|
92
|
-
request_schema: nil,
|
|
93
|
-
response_schema: "Campaign",
|
|
94
|
-
is_list: false,
|
|
95
|
-
list_item_schema: nil
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
operation_id: "campaigns.create",
|
|
99
|
-
resource: "campaigns",
|
|
100
|
-
method_name: "create",
|
|
101
|
-
http_method: "POST",
|
|
102
|
-
path: "/campaigns",
|
|
103
|
-
path_params: [],
|
|
104
|
-
query_params: [],
|
|
105
|
-
has_body: true,
|
|
106
|
-
request_schema: "CampaignCreate",
|
|
107
|
-
response_schema: "Campaign",
|
|
108
|
-
is_list: false,
|
|
109
|
-
list_item_schema: nil
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
operation_id: "campaigns.delete",
|
|
113
|
-
resource: "campaigns",
|
|
114
|
-
method_name: "delete",
|
|
115
|
-
http_method: "DELETE",
|
|
116
|
-
path: "/campaigns/{id}",
|
|
117
|
-
path_params: ["id"],
|
|
118
|
-
query_params: [],
|
|
119
|
-
has_body: false,
|
|
120
|
-
request_schema: nil,
|
|
121
|
-
response_schema: nil,
|
|
122
|
-
is_list: false,
|
|
123
|
-
list_item_schema: nil
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
operation_id: "campaigns.get",
|
|
127
|
-
resource: "campaigns",
|
|
128
|
-
method_name: "get",
|
|
129
|
-
http_method: "GET",
|
|
130
|
-
path: "/campaigns/{id}",
|
|
131
|
-
path_params: ["id"],
|
|
132
|
-
query_params: [],
|
|
133
|
-
has_body: false,
|
|
134
|
-
request_schema: nil,
|
|
135
|
-
response_schema: "Campaign",
|
|
136
|
-
is_list: false,
|
|
137
|
-
list_item_schema: nil
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
operation_id: "campaigns.list",
|
|
141
|
-
resource: "campaigns",
|
|
142
|
-
method_name: "list",
|
|
143
|
-
http_method: "GET",
|
|
144
|
-
path: "/campaigns",
|
|
145
|
-
path_params: [],
|
|
146
|
-
query_params: ["limit", "after", "before"],
|
|
147
|
-
has_body: false,
|
|
148
|
-
request_schema: nil,
|
|
149
|
-
response_schema: nil,
|
|
150
|
-
is_list: true,
|
|
151
|
-
list_item_schema: "Campaign"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
operation_id: "campaigns.pause",
|
|
155
|
-
resource: "campaigns",
|
|
156
|
-
method_name: "pause",
|
|
157
|
-
http_method: "POST",
|
|
158
|
-
path: "/campaigns/{id}/pause",
|
|
159
|
-
path_params: ["id"],
|
|
160
|
-
query_params: [],
|
|
161
|
-
has_body: false,
|
|
162
|
-
request_schema: nil,
|
|
163
|
-
response_schema: "Campaign",
|
|
164
|
-
is_list: false,
|
|
165
|
-
list_item_schema: nil
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
operation_id: "campaigns.reschedule",
|
|
169
|
-
resource: "campaigns",
|
|
170
|
-
method_name: "reschedule",
|
|
171
|
-
http_method: "POST",
|
|
172
|
-
path: "/campaigns/{id}/reschedule",
|
|
173
|
-
path_params: ["id"],
|
|
174
|
-
query_params: [],
|
|
175
|
-
has_body: true,
|
|
176
|
-
request_schema: "CampaignReschedule",
|
|
177
|
-
response_schema: "Campaign",
|
|
178
|
-
is_list: false,
|
|
179
|
-
list_item_schema: nil
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
operation_id: "campaigns.resume",
|
|
183
|
-
resource: "campaigns",
|
|
184
|
-
method_name: "resume",
|
|
185
|
-
http_method: "POST",
|
|
186
|
-
path: "/campaigns/{id}/resume",
|
|
187
|
-
path_params: ["id"],
|
|
188
|
-
query_params: [],
|
|
189
|
-
has_body: false,
|
|
190
|
-
request_schema: nil,
|
|
191
|
-
response_schema: "Campaign",
|
|
192
|
-
is_list: false,
|
|
193
|
-
list_item_schema: nil
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
operation_id: "campaigns.send",
|
|
197
|
-
resource: "campaigns",
|
|
198
|
-
method_name: "send",
|
|
199
|
-
http_method: "POST",
|
|
200
|
-
path: "/campaigns/{id}/send",
|
|
201
|
-
path_params: ["id"],
|
|
202
|
-
query_params: [],
|
|
203
|
-
has_body: false,
|
|
204
|
-
request_schema: nil,
|
|
205
|
-
response_schema: "Campaign",
|
|
206
|
-
is_list: false,
|
|
207
|
-
list_item_schema: nil
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
operation_id: "campaigns.update",
|
|
211
|
-
resource: "campaigns",
|
|
212
|
-
method_name: "update",
|
|
213
|
-
http_method: "PATCH",
|
|
214
|
-
path: "/campaigns/{id}",
|
|
215
|
-
path_params: ["id"],
|
|
216
|
-
query_params: [],
|
|
217
|
-
has_body: true,
|
|
218
|
-
request_schema: "CampaignUpdate",
|
|
219
|
-
response_schema: "Campaign",
|
|
220
|
-
is_list: false,
|
|
221
|
-
list_item_schema: nil
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
operation_id: "campaigns.validate",
|
|
225
|
-
resource: "campaigns",
|
|
226
|
-
method_name: "validate",
|
|
227
|
-
http_method: "GET",
|
|
228
|
-
path: "/campaigns/{id}/validate",
|
|
229
|
-
path_params: ["id"],
|
|
230
|
-
query_params: [],
|
|
231
|
-
has_body: false,
|
|
232
|
-
request_schema: nil,
|
|
233
|
-
response_schema: nil,
|
|
234
|
-
is_list: false,
|
|
235
|
-
list_item_schema: nil
|
|
236
|
-
},
|
|
237
83
|
{
|
|
238
84
|
operation_id: "contactFields.create",
|
|
239
85
|
resource: "contactFields",
|
|
@@ -431,25 +277,53 @@ module Unitpost
|
|
|
431
277
|
list_item_schema: nil
|
|
432
278
|
},
|
|
433
279
|
{
|
|
434
|
-
operation_id: "
|
|
435
|
-
resource: "
|
|
280
|
+
operation_id: "email.batch",
|
|
281
|
+
resource: "email",
|
|
282
|
+
method_name: "batch",
|
|
283
|
+
http_method: "POST",
|
|
284
|
+
path: "/email/batch",
|
|
285
|
+
path_params: [],
|
|
286
|
+
query_params: [],
|
|
287
|
+
has_body: true,
|
|
288
|
+
request_schema: "BatchSend",
|
|
289
|
+
response_schema: "BatchSendResult",
|
|
290
|
+
is_list: false,
|
|
291
|
+
list_item_schema: nil
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
operation_id: "email.campaigns.cancel",
|
|
295
|
+
resource: "email.campaigns",
|
|
296
|
+
method_name: "cancel",
|
|
297
|
+
http_method: "POST",
|
|
298
|
+
path: "/email/campaigns/{id}/cancel",
|
|
299
|
+
path_params: ["id"],
|
|
300
|
+
query_params: [],
|
|
301
|
+
has_body: false,
|
|
302
|
+
request_schema: nil,
|
|
303
|
+
response_schema: "Campaign",
|
|
304
|
+
is_list: false,
|
|
305
|
+
list_item_schema: nil
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
operation_id: "email.campaigns.create",
|
|
309
|
+
resource: "email.campaigns",
|
|
436
310
|
method_name: "create",
|
|
437
311
|
http_method: "POST",
|
|
438
|
-
path: "/
|
|
312
|
+
path: "/email/campaigns",
|
|
439
313
|
path_params: [],
|
|
440
314
|
query_params: [],
|
|
441
315
|
has_body: true,
|
|
442
|
-
request_schema: "
|
|
443
|
-
response_schema: "
|
|
316
|
+
request_schema: "CampaignCreate",
|
|
317
|
+
response_schema: "Campaign",
|
|
444
318
|
is_list: false,
|
|
445
319
|
list_item_schema: nil
|
|
446
320
|
},
|
|
447
321
|
{
|
|
448
|
-
operation_id: "
|
|
449
|
-
resource: "
|
|
322
|
+
operation_id: "email.campaigns.delete",
|
|
323
|
+
resource: "email.campaigns",
|
|
450
324
|
method_name: "delete",
|
|
451
325
|
http_method: "DELETE",
|
|
452
|
-
path: "/
|
|
326
|
+
path: "/email/campaigns/{id}",
|
|
453
327
|
path_params: ["id"],
|
|
454
328
|
query_params: [],
|
|
455
329
|
has_body: false,
|
|
@@ -459,109 +333,123 @@ module Unitpost
|
|
|
459
333
|
list_item_schema: nil
|
|
460
334
|
},
|
|
461
335
|
{
|
|
462
|
-
operation_id: "
|
|
463
|
-
resource: "
|
|
336
|
+
operation_id: "email.campaigns.get",
|
|
337
|
+
resource: "email.campaigns",
|
|
464
338
|
method_name: "get",
|
|
465
339
|
http_method: "GET",
|
|
466
|
-
path: "/
|
|
340
|
+
path: "/email/campaigns/{id}",
|
|
467
341
|
path_params: ["id"],
|
|
468
342
|
query_params: [],
|
|
469
343
|
has_body: false,
|
|
470
344
|
request_schema: nil,
|
|
471
|
-
response_schema: "
|
|
345
|
+
response_schema: "Campaign",
|
|
472
346
|
is_list: false,
|
|
473
347
|
list_item_schema: nil
|
|
474
348
|
},
|
|
475
349
|
{
|
|
476
|
-
operation_id: "
|
|
477
|
-
resource: "
|
|
350
|
+
operation_id: "email.campaigns.list",
|
|
351
|
+
resource: "email.campaigns",
|
|
478
352
|
method_name: "list",
|
|
479
353
|
http_method: "GET",
|
|
480
|
-
path: "/
|
|
354
|
+
path: "/email/campaigns",
|
|
481
355
|
path_params: [],
|
|
482
356
|
query_params: ["limit", "after", "before"],
|
|
483
357
|
has_body: false,
|
|
484
358
|
request_schema: nil,
|
|
485
359
|
response_schema: nil,
|
|
486
360
|
is_list: true,
|
|
487
|
-
list_item_schema: "
|
|
361
|
+
list_item_schema: "Campaign"
|
|
488
362
|
},
|
|
489
363
|
{
|
|
490
|
-
operation_id: "
|
|
491
|
-
resource: "
|
|
492
|
-
method_name: "
|
|
493
|
-
http_method: "
|
|
494
|
-
path: "/
|
|
364
|
+
operation_id: "email.campaigns.pause",
|
|
365
|
+
resource: "email.campaigns",
|
|
366
|
+
method_name: "pause",
|
|
367
|
+
http_method: "POST",
|
|
368
|
+
path: "/email/campaigns/{id}/pause",
|
|
495
369
|
path_params: ["id"],
|
|
496
370
|
query_params: [],
|
|
497
|
-
has_body:
|
|
498
|
-
request_schema:
|
|
499
|
-
response_schema: "
|
|
371
|
+
has_body: false,
|
|
372
|
+
request_schema: nil,
|
|
373
|
+
response_schema: "Campaign",
|
|
500
374
|
is_list: false,
|
|
501
375
|
list_item_schema: nil
|
|
502
376
|
},
|
|
503
377
|
{
|
|
504
|
-
operation_id: "
|
|
505
|
-
resource: "
|
|
506
|
-
method_name: "
|
|
378
|
+
operation_id: "email.campaigns.reschedule",
|
|
379
|
+
resource: "email.campaigns",
|
|
380
|
+
method_name: "reschedule",
|
|
507
381
|
http_method: "POST",
|
|
508
|
-
path: "/
|
|
382
|
+
path: "/email/campaigns/{id}/reschedule",
|
|
509
383
|
path_params: ["id"],
|
|
510
384
|
query_params: [],
|
|
511
|
-
has_body:
|
|
512
|
-
request_schema:
|
|
513
|
-
response_schema: "
|
|
385
|
+
has_body: true,
|
|
386
|
+
request_schema: "CampaignReschedule",
|
|
387
|
+
response_schema: "Campaign",
|
|
514
388
|
is_list: false,
|
|
515
389
|
list_item_schema: nil
|
|
516
390
|
},
|
|
517
391
|
{
|
|
518
|
-
operation_id: "
|
|
519
|
-
resource: "
|
|
520
|
-
method_name: "
|
|
392
|
+
operation_id: "email.campaigns.resume",
|
|
393
|
+
resource: "email.campaigns",
|
|
394
|
+
method_name: "resume",
|
|
521
395
|
http_method: "POST",
|
|
522
|
-
path: "/
|
|
523
|
-
path_params: [],
|
|
396
|
+
path: "/email/campaigns/{id}/resume",
|
|
397
|
+
path_params: ["id"],
|
|
524
398
|
query_params: [],
|
|
525
|
-
has_body:
|
|
526
|
-
request_schema:
|
|
527
|
-
response_schema: "
|
|
399
|
+
has_body: false,
|
|
400
|
+
request_schema: nil,
|
|
401
|
+
response_schema: "Campaign",
|
|
528
402
|
is_list: false,
|
|
529
403
|
list_item_schema: nil
|
|
530
404
|
},
|
|
531
405
|
{
|
|
532
|
-
operation_id: "
|
|
533
|
-
resource: "
|
|
534
|
-
method_name: "
|
|
406
|
+
operation_id: "email.campaigns.send",
|
|
407
|
+
resource: "email.campaigns",
|
|
408
|
+
method_name: "send",
|
|
535
409
|
http_method: "POST",
|
|
536
|
-
path: "/
|
|
410
|
+
path: "/email/campaigns/{id}/send",
|
|
537
411
|
path_params: ["id"],
|
|
538
412
|
query_params: [],
|
|
539
413
|
has_body: false,
|
|
540
414
|
request_schema: nil,
|
|
541
|
-
response_schema: "
|
|
415
|
+
response_schema: "Campaign",
|
|
542
416
|
is_list: false,
|
|
543
417
|
list_item_schema: nil
|
|
544
418
|
},
|
|
545
419
|
{
|
|
546
|
-
operation_id: "
|
|
547
|
-
resource: "
|
|
548
|
-
method_name: "
|
|
420
|
+
operation_id: "email.campaigns.update",
|
|
421
|
+
resource: "email.campaigns",
|
|
422
|
+
method_name: "update",
|
|
423
|
+
http_method: "PATCH",
|
|
424
|
+
path: "/email/campaigns/{id}",
|
|
425
|
+
path_params: ["id"],
|
|
426
|
+
query_params: [],
|
|
427
|
+
has_body: true,
|
|
428
|
+
request_schema: "CampaignUpdate",
|
|
429
|
+
response_schema: "Campaign",
|
|
430
|
+
is_list: false,
|
|
431
|
+
list_item_schema: nil
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
operation_id: "email.campaigns.validate",
|
|
435
|
+
resource: "email.campaigns",
|
|
436
|
+
method_name: "validate",
|
|
549
437
|
http_method: "GET",
|
|
550
|
-
path: "/
|
|
438
|
+
path: "/email/campaigns/{id}/validate",
|
|
551
439
|
path_params: ["id"],
|
|
552
440
|
query_params: [],
|
|
553
441
|
has_body: false,
|
|
554
442
|
request_schema: nil,
|
|
555
|
-
response_schema:
|
|
443
|
+
response_schema: nil,
|
|
556
444
|
is_list: false,
|
|
557
445
|
list_item_schema: nil
|
|
558
446
|
},
|
|
559
447
|
{
|
|
560
|
-
operation_id: "
|
|
561
|
-
resource: "
|
|
562
|
-
method_name: "
|
|
563
|
-
http_method: "
|
|
564
|
-
path: "/
|
|
448
|
+
operation_id: "email.cancelBatch",
|
|
449
|
+
resource: "email",
|
|
450
|
+
method_name: "cancelBatch",
|
|
451
|
+
http_method: "POST",
|
|
452
|
+
path: "/email/batches/{id}/cancel",
|
|
565
453
|
path_params: ["id"],
|
|
566
454
|
query_params: [],
|
|
567
455
|
has_body: false,
|
|
@@ -571,235 +459,221 @@ module Unitpost
|
|
|
571
459
|
list_item_schema: nil
|
|
572
460
|
},
|
|
573
461
|
{
|
|
574
|
-
operation_id: "
|
|
575
|
-
resource: "
|
|
576
|
-
method_name: "
|
|
577
|
-
http_method: "
|
|
578
|
-
path: "/
|
|
462
|
+
operation_id: "email.domains.create",
|
|
463
|
+
resource: "email.domains",
|
|
464
|
+
method_name: "create",
|
|
465
|
+
http_method: "POST",
|
|
466
|
+
path: "/email/domains",
|
|
579
467
|
path_params: [],
|
|
580
|
-
query_params: [
|
|
581
|
-
has_body:
|
|
582
|
-
request_schema:
|
|
583
|
-
response_schema:
|
|
584
|
-
is_list:
|
|
585
|
-
list_item_schema:
|
|
468
|
+
query_params: [],
|
|
469
|
+
has_body: true,
|
|
470
|
+
request_schema: "DomainCreate",
|
|
471
|
+
response_schema: "Domain",
|
|
472
|
+
is_list: false,
|
|
473
|
+
list_item_schema: nil
|
|
586
474
|
},
|
|
587
475
|
{
|
|
588
|
-
operation_id: "
|
|
589
|
-
resource: "
|
|
590
|
-
method_name: "
|
|
591
|
-
http_method: "
|
|
592
|
-
path: "/
|
|
593
|
-
path_params: ["id"
|
|
476
|
+
operation_id: "email.domains.delete",
|
|
477
|
+
resource: "email.domains",
|
|
478
|
+
method_name: "delete",
|
|
479
|
+
http_method: "DELETE",
|
|
480
|
+
path: "/email/domains/{id}",
|
|
481
|
+
path_params: ["id"],
|
|
594
482
|
query_params: [],
|
|
595
483
|
has_body: false,
|
|
596
484
|
request_schema: nil,
|
|
597
|
-
response_schema:
|
|
485
|
+
response_schema: nil,
|
|
598
486
|
is_list: false,
|
|
599
487
|
list_item_schema: nil
|
|
600
488
|
},
|
|
601
489
|
{
|
|
602
|
-
operation_id: "
|
|
603
|
-
resource: "
|
|
604
|
-
method_name: "
|
|
490
|
+
operation_id: "email.domains.get",
|
|
491
|
+
resource: "email.domains",
|
|
492
|
+
method_name: "get",
|
|
605
493
|
http_method: "GET",
|
|
606
|
-
path: "/
|
|
494
|
+
path: "/email/domains/{id}",
|
|
607
495
|
path_params: ["id"],
|
|
608
496
|
query_params: [],
|
|
609
497
|
has_body: false,
|
|
610
498
|
request_schema: nil,
|
|
611
|
-
response_schema: "
|
|
499
|
+
response_schema: "Domain",
|
|
612
500
|
is_list: false,
|
|
613
501
|
list_item_schema: nil
|
|
614
502
|
},
|
|
615
503
|
{
|
|
616
|
-
operation_id: "
|
|
617
|
-
resource: "
|
|
618
|
-
method_name: "
|
|
504
|
+
operation_id: "email.domains.list",
|
|
505
|
+
resource: "email.domains",
|
|
506
|
+
method_name: "list",
|
|
619
507
|
http_method: "GET",
|
|
620
|
-
path: "/
|
|
508
|
+
path: "/email/domains",
|
|
621
509
|
path_params: [],
|
|
622
510
|
query_params: ["limit", "after", "before"],
|
|
623
511
|
has_body: false,
|
|
624
512
|
request_schema: nil,
|
|
625
513
|
response_schema: nil,
|
|
626
514
|
is_list: true,
|
|
627
|
-
list_item_schema: "
|
|
515
|
+
list_item_schema: "Domain"
|
|
628
516
|
},
|
|
629
517
|
{
|
|
630
|
-
operation_id: "
|
|
631
|
-
resource: "
|
|
632
|
-
method_name: "
|
|
633
|
-
http_method: "
|
|
634
|
-
path: "/
|
|
635
|
-
path_params: [],
|
|
518
|
+
operation_id: "email.domains.update",
|
|
519
|
+
resource: "email.domains",
|
|
520
|
+
method_name: "update",
|
|
521
|
+
http_method: "PATCH",
|
|
522
|
+
path: "/email/domains/{id}",
|
|
523
|
+
path_params: ["id"],
|
|
636
524
|
query_params: [],
|
|
637
525
|
has_body: true,
|
|
638
|
-
request_schema: "
|
|
639
|
-
response_schema: "
|
|
526
|
+
request_schema: "DomainUpdate",
|
|
527
|
+
response_schema: "Domain",
|
|
640
528
|
is_list: false,
|
|
641
529
|
list_item_schema: nil
|
|
642
530
|
},
|
|
643
531
|
{
|
|
644
|
-
operation_id: "
|
|
645
|
-
resource: "
|
|
646
|
-
method_name: "
|
|
647
|
-
http_method: "
|
|
648
|
-
path: "/
|
|
649
|
-
path_params: [],
|
|
650
|
-
query_params: [
|
|
532
|
+
operation_id: "email.domains.verify",
|
|
533
|
+
resource: "email.domains",
|
|
534
|
+
method_name: "verify",
|
|
535
|
+
http_method: "POST",
|
|
536
|
+
path: "/email/domains/{id}/verify",
|
|
537
|
+
path_params: ["id"],
|
|
538
|
+
query_params: [],
|
|
651
539
|
has_body: false,
|
|
652
540
|
request_schema: nil,
|
|
653
|
-
response_schema: "
|
|
541
|
+
response_schema: "Domain",
|
|
654
542
|
is_list: false,
|
|
655
543
|
list_item_schema: nil
|
|
656
544
|
},
|
|
657
545
|
{
|
|
658
|
-
operation_id: "
|
|
659
|
-
resource: "
|
|
660
|
-
method_name: "
|
|
661
|
-
http_method: "
|
|
662
|
-
path: "/
|
|
546
|
+
operation_id: "email.get",
|
|
547
|
+
resource: "email",
|
|
548
|
+
method_name: "get",
|
|
549
|
+
http_method: "GET",
|
|
550
|
+
path: "/email/{id}",
|
|
663
551
|
path_params: ["id"],
|
|
664
552
|
query_params: [],
|
|
665
|
-
has_body:
|
|
666
|
-
request_schema:
|
|
553
|
+
has_body: false,
|
|
554
|
+
request_schema: nil,
|
|
667
555
|
response_schema: "Email",
|
|
668
556
|
is_list: false,
|
|
669
557
|
list_item_schema: nil
|
|
670
558
|
},
|
|
671
559
|
{
|
|
672
|
-
operation_id: "
|
|
673
|
-
resource: "
|
|
674
|
-
method_name: "
|
|
675
|
-
http_method: "
|
|
676
|
-
path: "/
|
|
560
|
+
operation_id: "email.getBatch",
|
|
561
|
+
resource: "email",
|
|
562
|
+
method_name: "getBatch",
|
|
563
|
+
http_method: "GET",
|
|
564
|
+
path: "/email/batches/{id}",
|
|
677
565
|
path_params: ["id"],
|
|
678
566
|
query_params: [],
|
|
679
|
-
has_body:
|
|
680
|
-
request_schema:
|
|
681
|
-
response_schema: "
|
|
567
|
+
has_body: false,
|
|
568
|
+
request_schema: nil,
|
|
569
|
+
response_schema: "Batch",
|
|
682
570
|
is_list: false,
|
|
683
571
|
list_item_schema: nil
|
|
684
572
|
},
|
|
685
573
|
{
|
|
686
|
-
operation_id: "
|
|
687
|
-
resource: "
|
|
688
|
-
method_name: "
|
|
689
|
-
http_method: "
|
|
690
|
-
path: "/
|
|
574
|
+
operation_id: "email.list",
|
|
575
|
+
resource: "email",
|
|
576
|
+
method_name: "list",
|
|
577
|
+
http_method: "GET",
|
|
578
|
+
path: "/email",
|
|
691
579
|
path_params: [],
|
|
692
|
-
query_params: [],
|
|
693
|
-
has_body:
|
|
694
|
-
request_schema:
|
|
695
|
-
response_schema:
|
|
696
|
-
is_list:
|
|
697
|
-
list_item_schema:
|
|
580
|
+
query_params: ["limit", "after", "before", "status", "campaign_id", "batch_id", "created_after", "created_before"],
|
|
581
|
+
has_body: false,
|
|
582
|
+
request_schema: nil,
|
|
583
|
+
response_schema: nil,
|
|
584
|
+
is_list: true,
|
|
585
|
+
list_item_schema: "Email"
|
|
698
586
|
},
|
|
699
587
|
{
|
|
700
|
-
operation_id: "
|
|
701
|
-
resource: "
|
|
702
|
-
method_name: "
|
|
703
|
-
http_method: "
|
|
704
|
-
path: "/
|
|
705
|
-
path_params: ["id"],
|
|
588
|
+
operation_id: "email.receivedAttachmentUrl",
|
|
589
|
+
resource: "email",
|
|
590
|
+
method_name: "receivedAttachmentUrl",
|
|
591
|
+
http_method: "GET",
|
|
592
|
+
path: "/email/received/{id}/attachments/{attachmentId}",
|
|
593
|
+
path_params: ["id", "attachmentId"],
|
|
706
594
|
query_params: [],
|
|
707
595
|
has_body: false,
|
|
708
596
|
request_schema: nil,
|
|
709
|
-
response_schema:
|
|
597
|
+
response_schema: "ReceivedAttachmentUrl",
|
|
710
598
|
is_list: false,
|
|
711
599
|
list_item_schema: nil
|
|
712
600
|
},
|
|
713
601
|
{
|
|
714
|
-
operation_id: "
|
|
715
|
-
resource: "
|
|
716
|
-
method_name: "
|
|
602
|
+
operation_id: "email.receivedGet",
|
|
603
|
+
resource: "email",
|
|
604
|
+
method_name: "receivedGet",
|
|
717
605
|
http_method: "GET",
|
|
718
|
-
path: "/
|
|
606
|
+
path: "/email/received/{id}",
|
|
719
607
|
path_params: ["id"],
|
|
720
608
|
query_params: [],
|
|
721
609
|
has_body: false,
|
|
722
610
|
request_schema: nil,
|
|
723
|
-
response_schema: "
|
|
611
|
+
response_schema: "ReceivedEmail",
|
|
724
612
|
is_list: false,
|
|
725
613
|
list_item_schema: nil
|
|
726
614
|
},
|
|
727
615
|
{
|
|
728
|
-
operation_id: "
|
|
729
|
-
resource: "
|
|
730
|
-
method_name: "
|
|
616
|
+
operation_id: "email.receivedList",
|
|
617
|
+
resource: "email",
|
|
618
|
+
method_name: "receivedList",
|
|
731
619
|
http_method: "GET",
|
|
732
|
-
path: "/
|
|
620
|
+
path: "/email/received",
|
|
733
621
|
path_params: [],
|
|
734
622
|
query_params: ["limit", "after", "before"],
|
|
735
623
|
has_body: false,
|
|
736
624
|
request_schema: nil,
|
|
737
625
|
response_schema: nil,
|
|
738
626
|
is_list: true,
|
|
739
|
-
list_item_schema: "
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
operation_id: "segments.listMembers",
|
|
743
|
-
resource: "segments",
|
|
744
|
-
method_name: "listMembers",
|
|
745
|
-
http_method: "GET",
|
|
746
|
-
path: "/segments/{id}/contacts",
|
|
747
|
-
path_params: ["id"],
|
|
748
|
-
query_params: ["limit", "after", "before"],
|
|
749
|
-
has_body: false,
|
|
750
|
-
request_schema: nil,
|
|
751
|
-
response_schema: nil,
|
|
752
|
-
is_list: true,
|
|
753
|
-
list_item_schema: "SegmentMember"
|
|
627
|
+
list_item_schema: "ReceivedEmailSummary"
|
|
754
628
|
},
|
|
755
629
|
{
|
|
756
|
-
operation_id: "
|
|
757
|
-
resource: "
|
|
758
|
-
method_name: "
|
|
759
|
-
http_method: "
|
|
760
|
-
path: "/
|
|
761
|
-
path_params: [
|
|
630
|
+
operation_id: "email.send",
|
|
631
|
+
resource: "email",
|
|
632
|
+
method_name: "send",
|
|
633
|
+
http_method: "POST",
|
|
634
|
+
path: "/email",
|
|
635
|
+
path_params: [],
|
|
762
636
|
query_params: [],
|
|
763
|
-
has_body:
|
|
764
|
-
request_schema:
|
|
765
|
-
response_schema:
|
|
637
|
+
has_body: true,
|
|
638
|
+
request_schema: "SendEmail",
|
|
639
|
+
response_schema: "SendResult",
|
|
766
640
|
is_list: false,
|
|
767
641
|
list_item_schema: nil
|
|
768
642
|
},
|
|
769
643
|
{
|
|
770
|
-
operation_id: "
|
|
771
|
-
resource: "
|
|
772
|
-
method_name: "
|
|
773
|
-
http_method: "
|
|
774
|
-
path: "/
|
|
775
|
-
path_params: [
|
|
776
|
-
query_params: [],
|
|
777
|
-
has_body:
|
|
778
|
-
request_schema:
|
|
779
|
-
response_schema: "
|
|
644
|
+
operation_id: "email.stats",
|
|
645
|
+
resource: "email",
|
|
646
|
+
method_name: "stats",
|
|
647
|
+
http_method: "GET",
|
|
648
|
+
path: "/email/stats",
|
|
649
|
+
path_params: [],
|
|
650
|
+
query_params: ["days"],
|
|
651
|
+
has_body: false,
|
|
652
|
+
request_schema: nil,
|
|
653
|
+
response_schema: "EmailStats",
|
|
780
654
|
is_list: false,
|
|
781
655
|
list_item_schema: nil
|
|
782
656
|
},
|
|
783
657
|
{
|
|
784
|
-
operation_id: "
|
|
785
|
-
resource: "
|
|
658
|
+
operation_id: "email.templates.create",
|
|
659
|
+
resource: "email.templates",
|
|
786
660
|
method_name: "create",
|
|
787
661
|
http_method: "POST",
|
|
788
|
-
path: "/
|
|
662
|
+
path: "/email/templates",
|
|
789
663
|
path_params: [],
|
|
790
664
|
query_params: [],
|
|
791
665
|
has_body: true,
|
|
792
|
-
request_schema: "
|
|
793
|
-
response_schema:
|
|
666
|
+
request_schema: "TemplateCreate",
|
|
667
|
+
response_schema: "Template",
|
|
794
668
|
is_list: false,
|
|
795
669
|
list_item_schema: nil
|
|
796
670
|
},
|
|
797
671
|
{
|
|
798
|
-
operation_id: "
|
|
799
|
-
resource: "
|
|
672
|
+
operation_id: "email.templates.delete",
|
|
673
|
+
resource: "email.templates",
|
|
800
674
|
method_name: "delete",
|
|
801
675
|
http_method: "DELETE",
|
|
802
|
-
path: "/
|
|
676
|
+
path: "/email/templates/{id}",
|
|
803
677
|
path_params: ["id"],
|
|
804
678
|
query_params: [],
|
|
805
679
|
has_body: false,
|
|
@@ -809,53 +683,67 @@ module Unitpost
|
|
|
809
683
|
list_item_schema: nil
|
|
810
684
|
},
|
|
811
685
|
{
|
|
812
|
-
operation_id: "
|
|
813
|
-
resource: "
|
|
686
|
+
operation_id: "email.templates.get",
|
|
687
|
+
resource: "email.templates",
|
|
814
688
|
method_name: "get",
|
|
815
689
|
http_method: "GET",
|
|
816
|
-
path: "/
|
|
690
|
+
path: "/email/templates/{id}",
|
|
817
691
|
path_params: ["id"],
|
|
818
692
|
query_params: [],
|
|
819
693
|
has_body: false,
|
|
820
694
|
request_schema: nil,
|
|
821
|
-
response_schema: "
|
|
695
|
+
response_schema: "Template",
|
|
822
696
|
is_list: false,
|
|
823
697
|
list_item_schema: nil
|
|
824
698
|
},
|
|
825
699
|
{
|
|
826
|
-
operation_id: "
|
|
827
|
-
resource: "
|
|
700
|
+
operation_id: "email.templates.list",
|
|
701
|
+
resource: "email.templates",
|
|
828
702
|
method_name: "list",
|
|
829
703
|
http_method: "GET",
|
|
830
|
-
path: "/
|
|
704
|
+
path: "/email/templates",
|
|
831
705
|
path_params: [],
|
|
832
|
-
query_params: ["limit", "after", "before"
|
|
706
|
+
query_params: ["limit", "after", "before"],
|
|
833
707
|
has_body: false,
|
|
834
708
|
request_schema: nil,
|
|
835
709
|
response_schema: nil,
|
|
836
710
|
is_list: true,
|
|
837
|
-
list_item_schema: "
|
|
711
|
+
list_item_schema: "Template"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
operation_id: "email.templates.update",
|
|
715
|
+
resource: "email.templates",
|
|
716
|
+
method_name: "update",
|
|
717
|
+
http_method: "PATCH",
|
|
718
|
+
path: "/email/templates/{id}",
|
|
719
|
+
path_params: ["id"],
|
|
720
|
+
query_params: [],
|
|
721
|
+
has_body: true,
|
|
722
|
+
request_schema: "TemplateUpdate",
|
|
723
|
+
response_schema: "Template",
|
|
724
|
+
is_list: false,
|
|
725
|
+
list_item_schema: nil
|
|
838
726
|
},
|
|
839
727
|
{
|
|
840
|
-
operation_id: "
|
|
841
|
-
resource: "
|
|
728
|
+
operation_id: "email.topics.create",
|
|
729
|
+
resource: "email.topics",
|
|
842
730
|
method_name: "create",
|
|
843
731
|
http_method: "POST",
|
|
844
|
-
path: "/
|
|
732
|
+
path: "/email/topics",
|
|
845
733
|
path_params: [],
|
|
846
734
|
query_params: [],
|
|
847
735
|
has_body: true,
|
|
848
|
-
request_schema: "
|
|
849
|
-
response_schema: "
|
|
736
|
+
request_schema: "TopicCreate",
|
|
737
|
+
response_schema: "Topic",
|
|
850
738
|
is_list: false,
|
|
851
739
|
list_item_schema: nil
|
|
852
740
|
},
|
|
853
741
|
{
|
|
854
|
-
operation_id: "
|
|
855
|
-
resource: "
|
|
742
|
+
operation_id: "email.topics.delete",
|
|
743
|
+
resource: "email.topics",
|
|
856
744
|
method_name: "delete",
|
|
857
745
|
http_method: "DELETE",
|
|
858
|
-
path: "/
|
|
746
|
+
path: "/email/topics/{id}",
|
|
859
747
|
path_params: ["id"],
|
|
860
748
|
query_params: [],
|
|
861
749
|
has_body: false,
|
|
@@ -865,67 +753,137 @@ module Unitpost
|
|
|
865
753
|
list_item_schema: nil
|
|
866
754
|
},
|
|
867
755
|
{
|
|
868
|
-
operation_id: "
|
|
869
|
-
resource: "
|
|
756
|
+
operation_id: "email.topics.get",
|
|
757
|
+
resource: "email.topics",
|
|
870
758
|
method_name: "get",
|
|
871
759
|
http_method: "GET",
|
|
872
|
-
path: "/
|
|
760
|
+
path: "/email/topics/{id}",
|
|
873
761
|
path_params: ["id"],
|
|
874
762
|
query_params: [],
|
|
875
763
|
has_body: false,
|
|
876
764
|
request_schema: nil,
|
|
877
|
-
response_schema: "
|
|
765
|
+
response_schema: "Topic",
|
|
878
766
|
is_list: false,
|
|
879
767
|
list_item_schema: nil
|
|
880
768
|
},
|
|
881
769
|
{
|
|
882
|
-
operation_id: "
|
|
883
|
-
resource: "
|
|
770
|
+
operation_id: "email.topics.list",
|
|
771
|
+
resource: "email.topics",
|
|
884
772
|
method_name: "list",
|
|
885
773
|
http_method: "GET",
|
|
886
|
-
path: "/
|
|
774
|
+
path: "/email/topics",
|
|
887
775
|
path_params: [],
|
|
888
776
|
query_params: ["limit", "after", "before"],
|
|
889
777
|
has_body: false,
|
|
890
778
|
request_schema: nil,
|
|
891
779
|
response_schema: nil,
|
|
892
780
|
is_list: true,
|
|
893
|
-
list_item_schema: "
|
|
781
|
+
list_item_schema: "Topic"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
operation_id: "email.topics.listTopics",
|
|
785
|
+
resource: "email.topics",
|
|
786
|
+
method_name: "listTopics",
|
|
787
|
+
http_method: "GET",
|
|
788
|
+
path: "/contacts/{id}/topics",
|
|
789
|
+
path_params: ["id"],
|
|
790
|
+
query_params: ["limit", "after", "before"],
|
|
791
|
+
has_body: false,
|
|
792
|
+
request_schema: nil,
|
|
793
|
+
response_schema: nil,
|
|
794
|
+
is_list: true,
|
|
795
|
+
list_item_schema: "ContactTopic"
|
|
894
796
|
},
|
|
895
797
|
{
|
|
896
|
-
operation_id: "
|
|
897
|
-
resource: "
|
|
798
|
+
operation_id: "email.topics.setTopic",
|
|
799
|
+
resource: "email.topics",
|
|
800
|
+
method_name: "setTopic",
|
|
801
|
+
http_method: "POST",
|
|
802
|
+
path: "/contacts/{id}/topics",
|
|
803
|
+
path_params: ["id"],
|
|
804
|
+
query_params: [],
|
|
805
|
+
has_body: true,
|
|
806
|
+
request_schema: "ContactTopicSet",
|
|
807
|
+
response_schema: "ContactTopic",
|
|
808
|
+
is_list: false,
|
|
809
|
+
list_item_schema: nil
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
operation_id: "email.topics.setTopic",
|
|
813
|
+
resource: "email.topics",
|
|
814
|
+
method_name: "setTopic",
|
|
815
|
+
http_method: "PUT",
|
|
816
|
+
path: "/contacts/{id}/topics",
|
|
817
|
+
path_params: ["id"],
|
|
818
|
+
query_params: [],
|
|
819
|
+
has_body: true,
|
|
820
|
+
request_schema: "ContactTopicSet",
|
|
821
|
+
response_schema: "ContactTopic",
|
|
822
|
+
is_list: false,
|
|
823
|
+
list_item_schema: nil
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
operation_id: "email.topics.update",
|
|
827
|
+
resource: "email.topics",
|
|
898
828
|
method_name: "update",
|
|
899
829
|
http_method: "PATCH",
|
|
900
|
-
path: "/
|
|
830
|
+
path: "/email/topics/{id}",
|
|
901
831
|
path_params: ["id"],
|
|
902
832
|
query_params: [],
|
|
903
833
|
has_body: true,
|
|
904
|
-
request_schema: "
|
|
905
|
-
response_schema: "
|
|
834
|
+
request_schema: "TopicUpdate",
|
|
835
|
+
response_schema: "Topic",
|
|
836
|
+
is_list: false,
|
|
837
|
+
list_item_schema: nil
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
operation_id: "email.update",
|
|
841
|
+
resource: "email",
|
|
842
|
+
method_name: "update",
|
|
843
|
+
http_method: "PATCH",
|
|
844
|
+
path: "/email/{id}",
|
|
845
|
+
path_params: ["id"],
|
|
846
|
+
query_params: [],
|
|
847
|
+
has_body: true,
|
|
848
|
+
request_schema: "EmailPatch",
|
|
849
|
+
response_schema: "Email",
|
|
906
850
|
is_list: false,
|
|
907
851
|
list_item_schema: nil
|
|
908
852
|
},
|
|
909
853
|
{
|
|
910
|
-
operation_id: "
|
|
911
|
-
resource: "
|
|
854
|
+
operation_id: "segments.addMember",
|
|
855
|
+
resource: "segments",
|
|
856
|
+
method_name: "addMember",
|
|
857
|
+
http_method: "POST",
|
|
858
|
+
path: "/segments/{id}/contacts",
|
|
859
|
+
path_params: ["id"],
|
|
860
|
+
query_params: [],
|
|
861
|
+
has_body: true,
|
|
862
|
+
request_schema: "SegmentMemberAdd",
|
|
863
|
+
response_schema: "SegmentMember",
|
|
864
|
+
is_list: false,
|
|
865
|
+
list_item_schema: nil
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
operation_id: "segments.create",
|
|
869
|
+
resource: "segments",
|
|
912
870
|
method_name: "create",
|
|
913
871
|
http_method: "POST",
|
|
914
|
-
path: "/
|
|
872
|
+
path: "/segments",
|
|
915
873
|
path_params: [],
|
|
916
874
|
query_params: [],
|
|
917
875
|
has_body: true,
|
|
918
|
-
request_schema: "
|
|
919
|
-
response_schema: "
|
|
876
|
+
request_schema: "SegmentCreate",
|
|
877
|
+
response_schema: "Segment",
|
|
920
878
|
is_list: false,
|
|
921
879
|
list_item_schema: nil
|
|
922
880
|
},
|
|
923
881
|
{
|
|
924
|
-
operation_id: "
|
|
925
|
-
resource: "
|
|
882
|
+
operation_id: "segments.delete",
|
|
883
|
+
resource: "segments",
|
|
926
884
|
method_name: "delete",
|
|
927
885
|
http_method: "DELETE",
|
|
928
|
-
path: "/
|
|
886
|
+
path: "/segments/{id}",
|
|
929
887
|
path_params: ["id"],
|
|
930
888
|
query_params: [],
|
|
931
889
|
has_body: false,
|
|
@@ -935,89 +893,131 @@ module Unitpost
|
|
|
935
893
|
list_item_schema: nil
|
|
936
894
|
},
|
|
937
895
|
{
|
|
938
|
-
operation_id: "
|
|
939
|
-
resource: "
|
|
896
|
+
operation_id: "segments.get",
|
|
897
|
+
resource: "segments",
|
|
940
898
|
method_name: "get",
|
|
941
899
|
http_method: "GET",
|
|
942
|
-
path: "/
|
|
900
|
+
path: "/segments/{id}",
|
|
943
901
|
path_params: ["id"],
|
|
944
902
|
query_params: [],
|
|
945
903
|
has_body: false,
|
|
946
904
|
request_schema: nil,
|
|
947
|
-
response_schema: "
|
|
905
|
+
response_schema: "Segment",
|
|
948
906
|
is_list: false,
|
|
949
907
|
list_item_schema: nil
|
|
950
908
|
},
|
|
951
909
|
{
|
|
952
|
-
operation_id: "
|
|
953
|
-
resource: "
|
|
910
|
+
operation_id: "segments.list",
|
|
911
|
+
resource: "segments",
|
|
954
912
|
method_name: "list",
|
|
955
913
|
http_method: "GET",
|
|
956
|
-
path: "/
|
|
914
|
+
path: "/segments",
|
|
957
915
|
path_params: [],
|
|
958
916
|
query_params: ["limit", "after", "before"],
|
|
959
917
|
has_body: false,
|
|
960
918
|
request_schema: nil,
|
|
961
919
|
response_schema: nil,
|
|
962
920
|
is_list: true,
|
|
963
|
-
list_item_schema: "
|
|
921
|
+
list_item_schema: "Segment"
|
|
964
922
|
},
|
|
965
923
|
{
|
|
966
|
-
operation_id: "
|
|
967
|
-
resource: "
|
|
968
|
-
method_name: "
|
|
924
|
+
operation_id: "segments.listMembers",
|
|
925
|
+
resource: "segments",
|
|
926
|
+
method_name: "listMembers",
|
|
969
927
|
http_method: "GET",
|
|
970
|
-
path: "/
|
|
928
|
+
path: "/segments/{id}/contacts",
|
|
971
929
|
path_params: ["id"],
|
|
972
930
|
query_params: ["limit", "after", "before"],
|
|
973
931
|
has_body: false,
|
|
974
932
|
request_schema: nil,
|
|
975
933
|
response_schema: nil,
|
|
976
934
|
is_list: true,
|
|
977
|
-
list_item_schema: "
|
|
935
|
+
list_item_schema: "SegmentMember"
|
|
978
936
|
},
|
|
979
937
|
{
|
|
980
|
-
operation_id: "
|
|
981
|
-
resource: "
|
|
982
|
-
method_name: "
|
|
983
|
-
http_method: "
|
|
984
|
-
path: "/
|
|
938
|
+
operation_id: "segments.removeMember",
|
|
939
|
+
resource: "segments",
|
|
940
|
+
method_name: "removeMember",
|
|
941
|
+
http_method: "DELETE",
|
|
942
|
+
path: "/segments/{id}/contacts/{contact}",
|
|
943
|
+
path_params: ["id", "contact"],
|
|
944
|
+
query_params: [],
|
|
945
|
+
has_body: false,
|
|
946
|
+
request_schema: nil,
|
|
947
|
+
response_schema: nil,
|
|
948
|
+
is_list: false,
|
|
949
|
+
list_item_schema: nil
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
operation_id: "segments.update",
|
|
953
|
+
resource: "segments",
|
|
954
|
+
method_name: "update",
|
|
955
|
+
http_method: "PATCH",
|
|
956
|
+
path: "/segments/{id}",
|
|
985
957
|
path_params: ["id"],
|
|
986
958
|
query_params: [],
|
|
987
959
|
has_body: true,
|
|
988
|
-
request_schema: "
|
|
989
|
-
response_schema: "
|
|
960
|
+
request_schema: "SegmentUpdate",
|
|
961
|
+
response_schema: "Segment",
|
|
990
962
|
is_list: false,
|
|
991
963
|
list_item_schema: nil
|
|
992
964
|
},
|
|
993
965
|
{
|
|
994
|
-
operation_id: "
|
|
995
|
-
resource: "
|
|
996
|
-
method_name: "
|
|
997
|
-
http_method: "
|
|
998
|
-
path: "/
|
|
999
|
-
path_params: [
|
|
966
|
+
operation_id: "suppressions.create",
|
|
967
|
+
resource: "suppressions",
|
|
968
|
+
method_name: "create",
|
|
969
|
+
http_method: "POST",
|
|
970
|
+
path: "/suppressions",
|
|
971
|
+
path_params: [],
|
|
1000
972
|
query_params: [],
|
|
1001
973
|
has_body: true,
|
|
1002
|
-
request_schema: "
|
|
1003
|
-
response_schema:
|
|
974
|
+
request_schema: "SuppressionCreate",
|
|
975
|
+
response_schema: nil,
|
|
1004
976
|
is_list: false,
|
|
1005
977
|
list_item_schema: nil
|
|
1006
978
|
},
|
|
1007
979
|
{
|
|
1008
|
-
operation_id: "
|
|
1009
|
-
resource: "
|
|
1010
|
-
method_name: "
|
|
1011
|
-
http_method: "
|
|
1012
|
-
path: "/
|
|
980
|
+
operation_id: "suppressions.delete",
|
|
981
|
+
resource: "suppressions",
|
|
982
|
+
method_name: "delete",
|
|
983
|
+
http_method: "DELETE",
|
|
984
|
+
path: "/suppressions/{id}",
|
|
1013
985
|
path_params: ["id"],
|
|
1014
986
|
query_params: [],
|
|
1015
|
-
has_body:
|
|
1016
|
-
request_schema:
|
|
1017
|
-
response_schema:
|
|
987
|
+
has_body: false,
|
|
988
|
+
request_schema: nil,
|
|
989
|
+
response_schema: nil,
|
|
990
|
+
is_list: false,
|
|
991
|
+
list_item_schema: nil
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
operation_id: "suppressions.get",
|
|
995
|
+
resource: "suppressions",
|
|
996
|
+
method_name: "get",
|
|
997
|
+
http_method: "GET",
|
|
998
|
+
path: "/suppressions/{id}",
|
|
999
|
+
path_params: ["id"],
|
|
1000
|
+
query_params: [],
|
|
1001
|
+
has_body: false,
|
|
1002
|
+
request_schema: nil,
|
|
1003
|
+
response_schema: "Suppression",
|
|
1018
1004
|
is_list: false,
|
|
1019
1005
|
list_item_schema: nil
|
|
1020
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
operation_id: "suppressions.list",
|
|
1009
|
+
resource: "suppressions",
|
|
1010
|
+
method_name: "list",
|
|
1011
|
+
http_method: "GET",
|
|
1012
|
+
path: "/suppressions",
|
|
1013
|
+
path_params: [],
|
|
1014
|
+
query_params: ["limit", "after", "before", "scope"],
|
|
1015
|
+
has_body: false,
|
|
1016
|
+
request_schema: nil,
|
|
1017
|
+
response_schema: nil,
|
|
1018
|
+
is_list: true,
|
|
1019
|
+
list_item_schema: "Suppression"
|
|
1020
|
+
},
|
|
1021
1021
|
{
|
|
1022
1022
|
operation_id: "usage.get",
|
|
1023
1023
|
resource: "usage",
|