trailer_vote-fixtures 1.11.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +24 -24
  3. data/.gitignore +16 -16
  4. data/.npmignore +25 -25
  5. data/.travis.yml +58 -58
  6. data/Gemfile +6 -6
  7. data/Gemfile.lock +5 -5
  8. data/README.md +9 -9
  9. data/Rakefile +10 -10
  10. data/bin/console +14 -14
  11. data/bin/setup +8 -8
  12. data/lib/trailer_vote/fixtures.rb +15 -15
  13. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1+json +23 -23
  14. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json +23 -23
  15. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.index+json +25 -25
  16. data/lib/trailer_vote/fixtures/application/vnd.trailervote.carousel.v1+json +9223 -9223
  17. data/lib/trailer_vote/fixtures/application/vnd.trailervote.client_configuration.v1+json +6 -6
  18. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v1+json +23 -23
  19. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v2+json +31 -31
  20. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json +33 -33
  21. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v4+json +42 -42
  22. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v5+json +46 -46
  23. data/lib/trailer_vote/fixtures/application/vnd.trailervote.errors.v1+json +8 -8
  24. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1+json +17 -17
  25. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.collection+json +22 -22
  26. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.create+json +6 -6
  27. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback_listing.v1+json +63 -63
  28. data/lib/trailer_vote/fixtures/application/vnd.trailervote.interactive_player.v1+json +19 -19
  29. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1+json +21 -21
  30. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.create+json +15 -15
  31. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.index+json +1162 -1162
  32. data/lib/trailer_vote/fixtures/application/vnd.trailervote.manifest_update.v1+json +3 -0
  33. data/lib/trailer_vote/fixtures/application/vnd.trailervote.ordered_fragment.v1.index+json +31 -31
  34. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1+json +13 -13
  35. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json +1 -1
  36. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v2+json +16 -16
  37. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1+json +19 -19
  38. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.collection+json +23 -23
  39. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.create+json +1 -1
  40. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.index+json +9 -9
  41. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2+json +19 -19
  42. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.collection+json +23 -23
  43. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.create+json +7 -7
  44. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.index+json +9 -9
  45. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3+json +22 -22
  46. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.collection+json +1 -1
  47. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.create+json +1 -1
  48. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.index+json +9 -9
  49. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json +25 -25
  50. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.collection+json +29 -29
  51. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json +24 -24
  52. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json +9 -9
  53. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1+json +68 -68
  54. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.collection+json +72 -72
  55. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json +9 -9
  56. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.index+json +19 -19
  57. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.lookup.v1+json +6 -6
  58. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1+json +89 -89
  59. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.collection+json +93 -93
  60. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.create+json +58 -58
  61. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.index+json +2821 -2821
  62. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2+json +97 -97
  63. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json +94 -94
  64. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.create+json +67 -67
  65. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.index+json +2821 -2821
  66. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1+json +36 -36
  67. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json +40 -40
  68. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json +7 -7
  69. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.index+json +39 -39
  70. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json +12 -12
  71. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.collection+json +1 -1
  72. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.create+json +3 -3
  73. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.index+json +1 -1
  74. data/lib/trailer_vote/fixtures/application/vnd.trailervote.products_listing.v1+json +14318 -14318
  75. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +11 -11
  76. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json +4 -2
  77. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.raw+json +21 -0
  78. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json +22 -22
  79. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json +4 -2
  80. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.raw+json +32 -0
  81. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json +1 -1
  82. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json +4 -2
  83. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.raw+json +35 -0
  84. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json +1 -1
  85. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json +3 -1
  86. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.raw+json +38 -0
  87. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5+json +30 -0
  88. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5.create+json +30 -0
  89. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5.raw+json +40 -0
  90. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1+json +11 -11
  91. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1.create+json +10 -10
  92. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +26 -26
  93. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json +25 -25
  94. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_recipe_android.v1+json +10 -0
  95. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_recipe_ios.v1+json +13 -0
  96. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1+json +10 -7
  97. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1.create+json +7 -7
  98. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1+json +14 -14
  99. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1.index+json +14 -14
  100. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1+json +10 -7
  101. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1.create+json +7 -7
  102. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v1+json +15 -0
  103. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v1.create+json +19 -0
  104. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2+json +17 -0
  105. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2.create+json +19 -0
  106. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v1+json +538 -538
  107. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json +13 -13
  108. data/lib/trailer_vote/fixtures/index.js +3 -3
  109. data/lib/trailer_vote/fixtures/main.mjs +9 -9
  110. data/lib/trailer_vote/fixtures/version.rb +1 -1
  111. data/package.json +1 -1
  112. data/ruby/README.md +37 -37
  113. data/trailer_vote-fixtures.gemspec +1 -1
  114. data/yarn.lock +33 -33
  115. metadata +19 -5
@@ -1,11 +1,11 @@
1
- {
2
- "push_campaign_trivial": {
3
- "_links": {
4
- "action": {
5
- "href": "http://cinema1.dev.trailervote.com/venom.php"
6
- }
7
- },
8
- "message": "TrailerVote wants your attention",
9
- "schedule_at": "2018-12-08T00:00:00Z"
10
- }
11
- }
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "action": {
5
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
6
+ }
7
+ },
8
+ "message": "TrailerVote wants your attention",
9
+ "schedule_at": "2018-12-08T00:00:00Z"
10
+ }
11
+ }
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "push_campaign_trivial": {
3
3
  "translations": {
4
- "en-US": "TrailerVote wants your attention"
4
+ "en-US": {
5
+ "message": "TrailerVote wants your attention"
6
+ }
5
7
  },
6
8
  "schedule_at": "2018-12-08T00:00:00Z",
7
9
  "_links": {
8
10
  "product_asset": {
9
- "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
11
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
10
12
  },
11
13
  "action": {
12
14
  "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
@@ -0,0 +1,21 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "action": {
5
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
6
+ },
7
+ "product_asset": {
8
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
9
+ }
10
+ },
11
+ "translations": {
12
+ "en-US": {
13
+ "message": "TrailerVote wants your attention"
14
+ },
15
+ "nl-NL": {
16
+ "message": "TrailerVote wil je aandacht"
17
+ }
18
+ },
19
+ "schedule_at": "2018-12-08T00:00:00Z"
20
+ }
21
+ }
@@ -1,22 +1,22 @@
1
- {
2
- "push_campaign_trivial": {
3
- "_links": {
4
- "action": {
5
- "href": "http://cinema1.dev.trailervote.com/venom.php"
6
- }
7
- },
8
- "message": "TrailerVote wants your attention",
9
- "schedule_at": "2018-12-08T00:00:00Z",
10
- "filter": {
11
- "platform": "ios",
12
- "region": "nl",
13
- "language": "NL",
14
- "timezone": "Europe/Amsterdam",
15
- "vote_source": null,
16
- "purchased": false,
17
- "vote_value": null,
18
- "vote_from": null,
19
- "vote_until": null
20
- }
21
- }
22
- }
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "action": {
5
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
6
+ }
7
+ },
8
+ "message": "TrailerVote wants your attention",
9
+ "schedule_at": "2018-12-08T00:00:00Z",
10
+ "filter": {
11
+ "platform": "ios",
12
+ "region": "nl",
13
+ "language": "NL",
14
+ "timezone": "Europe/Amsterdam",
15
+ "vote_source": null,
16
+ "purchased": false,
17
+ "vote_value": null,
18
+ "vote_from": null,
19
+ "vote_until": null
20
+ }
21
+ }
22
+ }
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "push_campaign_trivial": {
3
3
  "translations": {
4
- "en-US": "TrailerVote wants your attention"
4
+ "en-US": {
5
+ "message": "TrailerVote wants your attention"
6
+ }
5
7
  },
6
8
  "schedule_at": "2018-12-08T00:00:00Z",
7
9
  "_links": {
8
10
  "product_asset": {
9
- "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
11
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
10
12
  },
11
13
  "action": {
12
14
  "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
@@ -0,0 +1,32 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "action": {
5
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
6
+ },
7
+ "product_asset": {
8
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
9
+ }
10
+ },
11
+ "translations": {
12
+ "en-US": {
13
+ "message": "TrailerVote wants your attention"
14
+ },
15
+ "nl-NL": {
16
+ "message": "TrailerVote wil je aandacht"
17
+ }
18
+ },
19
+ "schedule_at": "2018-12-08T00:00:00Z",
20
+ "filter": {
21
+ "platform": "ios",
22
+ "region": "nl",
23
+ "language": "NL",
24
+ "timezone": "Europe/Amsterdam",
25
+ "vote_source": null,
26
+ "purchased": false,
27
+ "vote_value": null,
28
+ "vote_from": null,
29
+ "vote_until": null
30
+ }
31
+ }
32
+ }
@@ -2,7 +2,7 @@
2
2
  "push_campaign_trivial": {
3
3
  "_links": {
4
4
  "self": {
5
- "href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
6
  },
7
7
  "action": {
8
8
  "href": "http://cinema1.dev.trailervote.com/venom.php"
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "push_campaign_trivial": {
3
3
  "translations": {
4
- "en-US": "TrailerVote wants your attention"
4
+ "en-US": {
5
+ "message": "TrailerVote wants your attention"
6
+ }
5
7
  },
6
8
  "schedule_at": "2018-12-08T00:00:00Z",
7
9
  "_links": {
8
10
  "product_asset": {
9
- "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
11
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
10
12
  },
11
13
  "action": {
12
14
  "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
@@ -0,0 +1,35 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
+ },
7
+ "action": {
8
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
9
+ },
10
+ "product_asset": {
11
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220c10465c7163b9c97e478b296b3ba22041670d09f0dc2ac50ab1f277493df859u"
12
+ }
13
+ },
14
+ "translations": {
15
+ "en-US": {
16
+ "message": "TrailerVote wants your attention"
17
+ },
18
+ "nl-NL": {
19
+ "message": "TrailerVote wil je aandacht"
20
+ }
21
+ },
22
+ "schedule_at": "2018-12-08T00:00:00Z",
23
+ "filter": {
24
+ "platform": "ios",
25
+ "region": "nl",
26
+ "language": "NL",
27
+ "timezone": "Europe/Amsterdam",
28
+ "vote_source": null,
29
+ "purchased": false,
30
+ "vote_value": null,
31
+ "vote_from": null,
32
+ "vote_until": null
33
+ }
34
+ }
35
+ }
@@ -2,7 +2,7 @@
2
2
  "push_campaign_trivial": {
3
3
  "_links": {
4
4
  "self": {
5
- "href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
6
  },
7
7
  "action": {
8
8
  "href": "http://cinema1.dev.trailervote.com/venom.php"
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "push_campaign_trivial": {
3
3
  "translations": {
4
- "en-US": "TrailerVote wants your attention"
4
+ "en-US": {
5
+ "message": "TrailerVote wants your attention"
6
+ }
5
7
  },
6
8
  "schedule_at": "2018-12-08T00:00:00Z",
7
9
  "_links": {
@@ -0,0 +1,38 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
+ },
7
+ "action": {
8
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
9
+ },
10
+ "rich_media": {
11
+ "href": "https://link.some.com/image.png"
12
+ },
13
+ "product": {
14
+ "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8"
15
+ }
16
+ },
17
+ "translations": {
18
+ "en-US": {
19
+ "message": "TrailerVote wants your attention"
20
+ },
21
+ "nl-NL": {
22
+ "message": "TrailerVote wil je aandacht"
23
+ }
24
+ },
25
+ "schedule_at": "2018-12-08T00:00:00Z",
26
+ "filter": {
27
+ "platform": "ios",
28
+ "region": "nl",
29
+ "language": "NL",
30
+ "timezone": "Europe/Amsterdam",
31
+ "vote_source": null,
32
+ "purchased": false,
33
+ "vote_value": null,
34
+ "vote_from": null,
35
+ "vote_until": null
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
+ },
7
+ "action": {
8
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
9
+ },
10
+ "rich_media": {
11
+ "href": "https://link.some.com/image.png"
12
+ }
13
+ },
14
+ "message": "TrailerVote wants your attention",
15
+ "schedule_at": "2018-12-08T00:00:00Z",
16
+ "published_at": "2018-12-01T00:00:00Z",
17
+ "archived_at": "2019-03-01T00:00:00Z",
18
+ "filter": {
19
+ "platform": "ios",
20
+ "region": "nl",
21
+ "language": "NL",
22
+ "timezone": "Europe/Amsterdam",
23
+ "vote_source": null,
24
+ "purchased": false,
25
+ "vote_value": null,
26
+ "vote_from": null,
27
+ "vote_until": null
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "translations": {
4
+ "en-US": {
5
+ "message": "TrailerVote wants your attention"
6
+ },
7
+ "nl-NL": {
8
+ "message": "TrailerVote wil je aandacht"
9
+ }
10
+ },
11
+ "schedule_at": "2018-12-08T00:00:00Z",
12
+ "published_at": "2018-12-01T00:00:00Z",
13
+ "archived_at": "2019-03-01T00:00:00Z",
14
+ "_links": {
15
+ "product": {
16
+ "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8"
17
+ },
18
+ "action": {
19
+ "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
20
+ },
21
+ "rich_media": {
22
+ "href": "https://link.some.com/image.png"
23
+ }
24
+ },
25
+ "filter": {
26
+ "platform": "ios",
27
+ "region": null
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "push_campaign_trivial": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "https://fake.dev.trailervote.com/trailervote-api/api/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
6
+ },
7
+ "action": {
8
+ "href": "http://cinema1.dev.trailervote.com/venom.php"
9
+ },
10
+ "rich_media": {
11
+ "href": "https://link.some.com/image.png"
12
+ },
13
+ "product": {
14
+ "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8"
15
+ }
16
+ },
17
+ "translations": {
18
+ "en-US": {
19
+ "message": "TrailerVote wants your attention"
20
+ },
21
+ "nl-NL": {
22
+ "message": "TrailerVote wil je aandacht"
23
+ }
24
+ },
25
+ "schedule_at": "2018-12-08T00:00:00Z",
26
+ "published_at": "2018-12-01T00:00:00Z",
27
+ "archived_at": null,
28
+ "filter": {
29
+ "platform": "ios",
30
+ "region": "nl",
31
+ "language": "NL",
32
+ "timezone": "Europe/Amsterdam",
33
+ "vote_source": null,
34
+ "purchased": false,
35
+ "vote_value": null,
36
+ "vote_from": null,
37
+ "vote_until": null
38
+ }
39
+ }
40
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "push_consent": {
3
- "region": "NL",
4
- "opt_in": true,
5
- "signed_at": "20191016T123723Z",
6
- "_links": {
7
- "tos": { "href": "https://trailervote.com/push_consent_v1.pdf" },
8
- "tokens": { "href": "https://fake.trailervote.com/persona/1241234/tokens" }
9
- }
10
- }
11
- }
1
+ {
2
+ "push_consent": {
3
+ "region": "NL",
4
+ "opt_in": true,
5
+ "signed_at": "20191016T123723Z",
6
+ "_links": {
7
+ "tos": { "href": "https://trailervote.com/push_consent_v1.pdf" },
8
+ "tokens": { "href": "https://fake.trailervote.com/persona/1241234/tokens" }
9
+ }
10
+ }
11
+ }
@@ -1,10 +1,10 @@
1
- {
2
- "push_consent": {
3
- "region": "NL",
4
- "opt_in": true,
5
- "signed_at": "20191016T123723Z",
6
- "_links": {
7
- "tos": { "href": "https://trailervote.com/push_consent_v1.pdf" }
8
- }
9
- }
10
- }
1
+ {
2
+ "push_consent": {
3
+ "region": "NL",
4
+ "opt_in": true,
5
+ "signed_at": "20191016T123723Z",
6
+ "_links": {
7
+ "tos": { "href": "https://trailervote.com/push_consent_v1.pdf" }
8
+ }
9
+ }
10
+ }
@@ -1,26 +1,26 @@
1
- {
2
- "push_manifest": {
3
- "campaigns": [
4
- {
5
- "_links": {
6
- "audio_fragment": {
7
- "href": "https://example.org/audio_fragments/12134123"
8
- },
9
- "campaign": {
10
- "href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
11
- }
12
- }
13
- },
14
- {
15
- "_links": {
16
- "audio_fragment": {
17
- "href": "https://example.org/audio_fragments/12134124"
18
- },
19
- "campaign": {
20
- "href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
21
- }
22
- }
23
- }
24
- ]
25
- }
26
- }
1
+ {
2
+ "push_manifest": {
3
+ "campaigns": [
4
+ {
5
+ "_links": {
6
+ "audio_fragment": {
7
+ "href": "https://example.org/audio_fragments/12134123"
8
+ },
9
+ "campaign": {
10
+ "href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
11
+ }
12
+ }
13
+ },
14
+ {
15
+ "_links": {
16
+ "audio_fragment": {
17
+ "href": "https://example.org/audio_fragments/12134124"
18
+ },
19
+ "campaign": {
20
+ "href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
21
+ }
22
+ }
23
+ }
24
+ ]
25
+ }
26
+ }