workarea-api 4.4.6 → 4.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -15
  3. data/admin/LICENSE +52 -0
  4. data/admin/README.md +4 -7
  5. data/admin/workarea-api-admin.gemspec +5 -4
  6. data/doc/api/admin/categories/bulk_upserting_categories.json +4 -4
  7. data/doc/api/admin/categories/creating_a_category.json +7 -7
  8. data/doc/api/admin/categories/listing_categories.json +4 -4
  9. data/doc/api/admin/categories/removing_a_category.json +4 -4
  10. data/doc/api/admin/categories/showing_a_category.json +6 -6
  11. data/doc/api/admin/categories/updating_a_category.json +5 -5
  12. data/doc/api/admin/category_product_rules/creating_a_category_product_rule.json +7 -7
  13. data/doc/api/admin/category_product_rules/listing_category_product_rules.json +6 -6
  14. data/doc/api/admin/category_product_rules/removing_a_category_product_rule.json +4 -4
  15. data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +4 -4
  16. data/doc/api/admin/content/bulk_upserting_content.json +4 -4
  17. data/doc/api/admin/content/creating_content.json +7 -7
  18. data/doc/api/admin/content/listing_content.json +4 -4
  19. data/doc/api/admin/content/showing_content.json +6 -6
  20. data/doc/api/admin/content/updating_content.json +4 -4
  21. data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +4 -4
  22. data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
  23. data/doc/api/admin/content_assets/listing_content_assets.json +5 -5
  24. data/doc/api/admin/content_assets/removing_a_content_asset.json +4 -4
  25. data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
  26. data/doc/api/admin/content_assets/updating_a_content_asset.json +5 -5
  27. data/doc/api/admin/discounts/creating_a_discount.json +7 -7
  28. data/doc/api/admin/discounts/listing_discounts.json +4 -4
  29. data/doc/api/admin/discounts/removing_a_discount.json +4 -4
  30. data/doc/api/admin/discounts/showing_a_discount.json +6 -6
  31. data/doc/api/admin/discounts/updating_discounts.json +4 -4
  32. data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
  33. data/doc/api/admin/email_signups/showing_an_email_signup.json +6 -6
  34. data/doc/api/admin/fulfillment/listing_fulfillments.json +4 -4
  35. data/doc/api/admin/fulfillment/marking_items_as_canceled.json +6 -6
  36. data/doc/api/admin/fulfillment/marking_items_as_shipped.json +6 -6
  37. data/doc/api/admin/fulfillment/showing_fulfillment.json +4 -4
  38. data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +4 -4
  39. data/doc/api/admin/inventory_skus/creating_an_inventory_sku.json +6 -6
  40. data/doc/api/admin/inventory_skus/listing_inventory_skus.json +4 -4
  41. data/doc/api/admin/inventory_skus/removing_an_inventory_sku.json +2 -2
  42. data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
  43. data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +2 -2
  44. data/doc/api/admin/navigation_menus/creating_a_menu.json +7 -7
  45. data/doc/api/admin/navigation_menus/listing_menus.json +4 -4
  46. data/doc/api/admin/navigation_menus/removing_a_navigation_menu.json +4 -4
  47. data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
  48. data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +4 -4
  49. data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +4 -4
  50. data/doc/api/admin/navigation_taxonomy/creating_a_taxon.json +7 -7
  51. data/doc/api/admin/navigation_taxonomy/listing_taxons.json +4 -4
  52. data/doc/api/admin/navigation_taxonomy/removing_a_navigation_taxon.json +4 -4
  53. data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
  54. data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +4 -4
  55. data/doc/api/admin/orders/listing_orders.json +4 -4
  56. data/doc/api/admin/orders/showing_an_order.json +4 -4
  57. data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
  58. data/doc/api/admin/pages/bulk_upserting_pages.json +4 -4
  59. data/doc/api/admin/pages/creating_a_page.json +7 -7
  60. data/doc/api/admin/pages/listing_pages.json +4 -4
  61. data/doc/api/admin/pages/removing_a_page.json +4 -4
  62. data/doc/api/admin/pages/showing_a_page.json +6 -6
  63. data/doc/api/admin/pages/updating_a_page.json +5 -5
  64. data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +4 -4
  65. data/doc/api/admin/payment_profiles/creating_a_payment_profile.json +7 -7
  66. data/doc/api/admin/payment_profiles/listing_payment_profiles.json +4 -4
  67. data/doc/api/admin/payment_profiles/removing_a_payment_profile.json +4 -4
  68. data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
  69. data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +4 -4
  70. data/doc/api/admin/payment_transactions/listing_payment_transactions.json +4 -4
  71. data/doc/api/admin/payment_transactions/showing_a_payment_transaction.json +6 -6
  72. data/doc/api/admin/payments/listing_payments.json +4 -4
  73. data/doc/api/admin/payments/showing_an_payment.json +4 -4
  74. data/doc/api/admin/prices/creating_a_pricing_sku_price.json +4 -4
  75. data/doc/api/admin/prices/listing_pricing_sku_prices.json +4 -4
  76. data/doc/api/admin/prices/removing_a_pricing_sku_price.json +4 -4
  77. data/doc/api/admin/prices/updating_a_pricing_sku_price.json +4 -4
  78. data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +4 -4
  79. data/doc/api/admin/pricing_skus/creating_an_pricing_sku.json +6 -6
  80. data/doc/api/admin/pricing_skus/listing_pricing_skus.json +4 -4
  81. data/doc/api/admin/pricing_skus/removing_an_pricing_sku.json +2 -2
  82. data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
  83. data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +2 -2
  84. data/doc/api/admin/product_images/creating_a_product_image_from_base64.json +7 -7
  85. data/doc/api/admin/product_images/creating_a_product_image_from_url.json +7 -7
  86. data/doc/api/admin/product_images/listing_product_images.json +6 -6
  87. data/doc/api/admin/product_images/removing_a_product_image.json +4 -4
  88. data/doc/api/admin/product_images/updating_a_product_image.json +4 -4
  89. data/doc/api/admin/products/bulk_upserting_products.json +4 -4
  90. data/doc/api/admin/products/creating_a_product.json +7 -7
  91. data/doc/api/admin/products/listing_products.json +4 -4
  92. data/doc/api/admin/products/removing_a_product.json +4 -4
  93. data/doc/api/admin/products/showing_a_product.json +6 -6
  94. data/doc/api/admin/products/updating_a_product.json +5 -5
  95. data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +4 -4
  96. data/doc/api/admin/promo_code_lists/creating_a_promo_code_list.json +7 -7
  97. data/doc/api/admin/promo_code_lists/listing_promo_code_lists.json +4 -4
  98. data/doc/api/admin/promo_code_lists/removing_a_promo_code_list.json +4 -4
  99. data/doc/api/admin/promo_code_lists/showing_a_promo_code_list.json +6 -6
  100. data/doc/api/admin/promo_code_lists/updating_a_promo_code_list.json +4 -4
  101. data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
  102. data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +4 -4
  103. data/doc/api/admin/redirects/bulk_upserting_redirects.json +4 -4
  104. data/doc/api/admin/redirects/creating_a_redirect.json +7 -7
  105. data/doc/api/admin/redirects/listing_redirects.json +4 -4
  106. data/doc/api/admin/redirects/removing_a_redirect.json +4 -4
  107. data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
  108. data/doc/api/admin/redirects/updating_a_redirects.json +4 -4
  109. data/doc/api/admin/release_changes/adding_changes_to_a_release.json +7 -7
  110. data/doc/api/admin/releases/bulk_upserting_releases.json +4 -4
  111. data/doc/api/admin/releases/creating_a_release.json +7 -7
  112. data/doc/api/admin/releases/listing_releases.json +4 -4
  113. data/doc/api/admin/releases/removing_a_release.json +4 -4
  114. data/doc/api/admin/releases/showing_a_release.json +6 -6
  115. data/doc/api/admin/releases/updating_a_release.json +5 -5
  116. data/doc/api/admin/saved_addresses/creating_a_saved_address.json +7 -7
  117. data/doc/api/admin/saved_addresses/listing_saved_address.json +6 -6
  118. data/doc/api/admin/saved_addresses/removing_a_saved_address.json +4 -4
  119. data/doc/api/admin/saved_addresses/updating_a_saved_address.json +4 -4
  120. data/doc/api/admin/saved_credit_cards/creating_a_saved_credit_card.json +8 -8
  121. data/doc/api/admin/saved_credit_cards/listing_saved_credit_cards.json +6 -6
  122. data/doc/api/admin/saved_credit_cards/removing_a_saved_credit_card.json +4 -4
  123. data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +4 -4
  124. data/doc/api/admin/shipping/listing_shipments.json +4 -4
  125. data/doc/api/admin/shipping/showing_a_shipment.json +6 -6
  126. data/doc/api/admin/shipping_rates/creating_a_shipping_rate.json +7 -7
  127. data/doc/api/admin/shipping_rates/listing_shipping_rates.json +6 -6
  128. data/doc/api/admin/shipping_rates/removing_a_shipping_rate.json +4 -4
  129. data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +4 -4
  130. data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +4 -4
  131. data/doc/api/admin/shipping_services/creating_a_shipping_service.json +7 -7
  132. data/doc/api/admin/shipping_services/listing_shipping_services.json +4 -4
  133. data/doc/api/admin/shipping_services/removing_a_shipping_service.json +4 -4
  134. data/doc/api/admin/shipping_services/showing_a_shipping_service.json +6 -6
  135. data/doc/api/admin/shipping_services/updating_a_shipping_service.json +5 -5
  136. data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +4 -4
  137. data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
  138. data/doc/api/admin/tax_categories/listing_tax_categories.json +4 -4
  139. data/doc/api/admin/tax_categories/removing_a_tax_category.json +4 -4
  140. data/doc/api/admin/tax_categories/showing_a_tax_category.json +6 -6
  141. data/doc/api/admin/tax_categories/updating_a_tax_categories.json +4 -4
  142. data/doc/api/admin/tax_rates/creating_a_tax_rate.json +8 -8
  143. data/doc/api/admin/tax_rates/listing_tax_rates.json +6 -6
  144. data/doc/api/admin/tax_rates/removing_a_tax_rate.json +4 -4
  145. data/doc/api/admin/tax_rates/updating_a_tax_rate.json +4 -4
  146. data/doc/api/admin/users/bulk_upserting_users.json +4 -4
  147. data/doc/api/admin/users/creating_a_user.json +7 -7
  148. data/doc/api/admin/users/listing_users.json +4 -4
  149. data/doc/api/admin/users/removing_a_user.json +4 -4
  150. data/doc/api/admin/users/showing_a_user.json +6 -6
  151. data/doc/api/admin/users/updating_a_user.json +5 -5
  152. data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
  153. data/doc/api/admin/variants/listing_product_variants.json +6 -6
  154. data/doc/api/admin/variants/removing_a_product_variant.json +4 -4
  155. data/doc/api/admin/variants/updating_a_product_variant.json +4 -4
  156. data/doc/api/storefront/accounts/creating_an_account.json +6 -6
  157. data/doc/api/storefront/accounts/getting_account_details.json +6 -6
  158. data/doc/api/storefront/accounts/updating_an_account.json +6 -6
  159. data/doc/api/storefront/analytics/saving_a_category_view.json +4 -4
  160. data/doc/api/storefront/analytics/saving_a_product_view.json +4 -4
  161. data/doc/api/storefront/analytics/saving_a_search.json +4 -4
  162. data/doc/api/storefront/assets/showing_an_asset.json +8 -8
  163. data/doc/api/storefront/authentication/creating_an_authentication_token.json +8 -8
  164. data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +8 -8
  165. data/doc/api/storefront/authentication/using_an_authentication_token.json +9 -9
  166. data/doc/api/storefront/cart/adding_a_promo_code.json +9 -9
  167. data/doc/api/storefront/cart/adding_an_item.json +9 -9
  168. data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +8 -8
  169. data/doc/api/storefront/cart/creating_a_new_guest_cart.json +6 -6
  170. data/doc/api/storefront/cart/delete_an_item.json +9 -9
  171. data/doc/api/storefront/cart/listing_user_s_carts.json +8 -8
  172. data/doc/api/storefront/cart/showing_cart.json +9 -9
  173. data/doc/api/storefront/cart/updating_an_item.json +9 -9
  174. data/doc/api/storefront/categories/showing_a_category.json +7 -7
  175. data/doc/api/storefront/categories/showing_a_listing_of_categories.json +7 -7
  176. data/doc/api/storefront/checkout/completing_a_checkout.json +8 -8
  177. data/doc/api/storefront/checkout/showing_a_checkout.json +8 -8
  178. data/doc/api/storefront/checkout/updating_a_checkout.json +8 -8
  179. data/doc/api/storefront/contacts/creating_a_contact.json +6 -6
  180. data/doc/api/storefront/email_signups/creating_an_email_signup.json +6 -6
  181. data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +6 -6
  182. data/doc/api/storefront/menus/listing_menus.json +7 -7
  183. data/doc/api/storefront/menus/showing_a_menu.json +9 -9
  184. data/doc/api/storefront/orders/listing_the_user_s_orders.json +8 -8
  185. data/doc/api/storefront/orders/showing_an_order.json +9 -9
  186. data/doc/api/storefront/pages/showing_a_page.json +7 -7
  187. data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +6 -6
  188. data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +10 -10
  189. data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +8 -8
  190. data/doc/api/storefront/products/showing_a_product.json +7 -7
  191. data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +7 -7
  192. data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +7 -7
  193. data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +10 -10
  194. data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +4 -4
  195. data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +6 -6
  196. data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
  197. data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +5 -5
  198. data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +8 -8
  199. data/doc/api/storefront/saved_addresses/showing_a_saved_address.json +7 -7
  200. data/doc/api/storefront/saved_addresses/updating_a_saved_address.json +7 -7
  201. data/doc/api/storefront/saved_credit_cards/creating_a_saved_credit_card.json +6 -6
  202. data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +5 -5
  203. data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +8 -8
  204. data/doc/api/storefront/saved_credit_cards/showing_a_saved_credit_card.json +7 -7
  205. data/doc/api/storefront/saved_credit_cards/updating_a_saved_credit_card.json +7 -7
  206. data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +7 -7
  207. data/doc/api/storefront/searches/showing_search_results.json +7 -7
  208. data/doc/api/storefront/system_content/showing_system_content.json +7 -7
  209. data/doc/api/storefront/system_content/showing_the_home_page.json +7 -7
  210. data/doc/api/storefront/taxons/showing_a_taxon.json +9 -9
  211. data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
  212. data/doc/api/storefront/validation_errors/general_validation_errors.json +4 -4
  213. data/lib/workarea/api/version.rb +1 -1
  214. data/storefront/LICENSE +52 -0
  215. data/storefront/README.md +4 -7
  216. data/storefront/workarea-api-storefront.gemspec +6 -5
  217. data/workarea-api.gemspec +3 -3
  218. metadata +13 -10
@@ -19,24 +19,24 @@
19
19
  "X-Download-Options": "noopen",
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
- "Location": "/api/admin/content/5d5dbd7bd4322a4b69d79171",
22
+ "Location": "/api/admin/content/5d5ecaa5d4322a04dfbf7008",
23
23
  "Content-Type": "application/json; charset=utf-8",
24
- "ETag": "W/\"5beef94c6f05d549bfa60b58782aa3a7\"",
24
+ "ETag": "W/\"a03db9b622f5a235084c945610e586b5\"",
25
25
  "Cache-Control": "no-cache, no-store, must-revalidate",
26
- "X-Request-Id": "bd53fc5c-3669-4b57-83a9-f4cf21fd0e9d",
27
- "X-Runtime": "0.029526",
26
+ "X-Request-Id": "78c1571a-bdec-4b3a-881d-1bdc45ccc6a0",
27
+ "X-Runtime": "0.039886",
28
28
  "Expires": "0",
29
29
  "Content-Length": "359"
30
30
  },
31
31
  "request_method": "POST",
32
32
  "request_path": "/api/admin/content",
33
- "request_body": "{\"content\":{\"active\":true,\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-08-21T21:54:03.339Z\",\"css\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-08-21T21:54:03.339Z\"}}",
33
+ "request_body": "{\"content\":{\"active\":true,\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-08-22T17:02:29.291Z\",\"css\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-08-22T17:02:29.291Z\"}}",
34
34
  "request_content_type": "application/json",
35
35
  "response_status": 201,
36
36
  "response_status_text": "Created",
37
- "response_body": "{\n \"content\": {\n \"_id\": \"5d5dbd7bd4322a4b69d79171\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-21T21:54:03.339Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:03.339Z\"\n }\n}",
37
+ "response_body": "{\n \"content\": {\n \"_id\": \"5d5ecaa5d4322a04dfbf7008\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-22T17:02:29.291Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:02:29.291Z\"\n }\n}",
38
38
  "response_content_type": "application/json",
39
- "curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"content\":{\"active\":true,\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-08-21T21:54:03.339Z\",\"css\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-08-21T21:54:03.339Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
39
+ "curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"content\":{\"active\":true,\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2019-08-22T17:02:29.291Z\",\"css\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2019-08-22T17:02:29.291Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
40
40
  }
41
41
  ],
42
42
  "resource": "Content",
@@ -32,10 +32,10 @@
32
32
  "X-Permitted-Cross-Domain-Policies": "none",
33
33
  "Referrer-Policy": "strict-origin-when-cross-origin",
34
34
  "Content-Type": "application/json; charset=utf-8",
35
- "ETag": "W/\"00bdd6798724bc00e052664447cbe153\"",
35
+ "ETag": "W/\"202da84dc7d9e67cc842cfab1d475946\"",
36
36
  "Cache-Control": "no-cache, no-store, must-revalidate",
37
- "X-Request-Id": "a6faa3fe-762f-4432-9c0f-541e6f24244b",
38
- "X-Runtime": "0.005504",
37
+ "X-Request-Id": "4d1a49d7-447d-4305-af34-85e274b0f679",
38
+ "X-Runtime": "0.007610",
39
39
  "Expires": "0",
40
40
  "Content-Length": "709"
41
41
  },
@@ -45,7 +45,7 @@
45
45
  "request_content_type": "application/json",
46
46
  "response_status": 200,
47
47
  "response_status_text": "OK",
48
- "response_body": "{\n \"content\": [\n {\n \"_id\": \"5d5dbd7bd4322a4b69d79177\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-21T21:54:03.970Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:03.970Z\"\n },\n {\n \"_id\": \"5d5dbd7bd4322a4b69d79176\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-21T21:54:03.940Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:03.940Z\"\n }\n ]\n}",
48
+ "response_body": "{\n \"content\": [\n {\n \"_id\": \"5d5ecaa6d4322a04dfbf700e\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-22T17:02:30.014Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:02:30.014Z\"\n },\n {\n \"_id\": \"5d5ecaa5d4322a04dfbf700d\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-22T17:02:29.981Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:02:29.981Z\"\n }\n ]\n}",
49
49
  "response_content_type": "application/json",
50
50
  "curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"page\":1,\"sort_by\":\"created_at\",\"sort_direction\":\"desc\"}' -X POST \\\n\t-H \"Content-Type: application/json\" \\\n\t-H \"X-Http-Method-Override: GET\""
51
51
  }
@@ -19,22 +19,22 @@
19
19
  "X-Permitted-Cross-Domain-Policies": "none",
20
20
  "Referrer-Policy": "strict-origin-when-cross-origin",
21
21
  "Content-Type": "application/json; charset=utf-8",
22
- "ETag": "W/\"335079eb7ab65e8bfbe9c1cb78ed35d8\"",
22
+ "ETag": "W/\"fdb591bf7e44513edae7801298c9e931\"",
23
23
  "Cache-Control": "no-cache, no-store, must-revalidate",
24
- "X-Request-Id": "a1f0eefd-dc4d-46e4-8ac4-51d2e1f08456",
25
- "X-Runtime": "0.005467",
24
+ "X-Request-Id": "9b683667-3e86-4598-89bb-5a8331daf0f4",
25
+ "X-Runtime": "0.008385",
26
26
  "Expires": "0",
27
27
  "Content-Length": "359"
28
28
  },
29
29
  "request_method": "GET",
30
- "request_path": "/api/admin/content/5d5dbd7ad4322a4b69d79167",
30
+ "request_path": "/api/admin/content/5d5ecaa7d4322a04dfbf7020",
31
31
  "request_body": null,
32
32
  "request_content_type": null,
33
33
  "response_status": 200,
34
34
  "response_status_text": "OK",
35
- "response_body": "{\n \"content\": {\n \"_id\": \"5d5dbd7ad4322a4b69d79167\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-21T21:54:02.179Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:02.179Z\"\n }\n}",
35
+ "response_body": "{\n \"content\": {\n \"_id\": \"5d5ecaa7d4322a04dfbf7020\",\n \"active\": true,\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2019-08-22T17:02:31.432Z\",\n \"css\": null,\n \"javascript\": null,\n \"meta_description\": null,\n \"name\": \"Test Content\",\n \"open_graph_asset_id\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:02:31.432Z\"\n }\n}",
36
36
  "response_content_type": "application/json",
37
- "curl": "curl -g \"https://www.example.com/api/admin/content/5d5dbd7ad4322a4b69d79167\" -X GET "
37
+ "curl": "curl -g \"https://www.example.com/api/admin/content/5d5ecaa7d4322a04dfbf7020\" -X GET "
38
38
  }
39
39
  ],
40
40
  "resource": "Content",
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "17f4452c-ccbf-4592-947d-51b5d08b5460",
24
- "X-Runtime": "0.030100",
23
+ "X-Request-Id": "24e0894c-0575-4ebe-8240-cd92eae58790",
24
+ "X-Runtime": "0.035033",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "PATCH",
28
- "request_path": "/api/admin/content/5d5dbd7ad4322a4b69d7916b",
28
+ "request_path": "/api/admin/content/5d5ecaa4d4322a04dfbf7002",
29
29
  "request_body": "{\"content\":{\"browser_title\":\"foo\"}}",
30
30
  "request_content_type": "application/json",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/content/5d5dbd7ad4322a4b69d7916b\" -d '{\"content\":{\"browser_title\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
35
+ "curl": "curl \"https://www.example.com/api/admin/content/5d5ecaa4d4322a04dfbf7002\" -d '{\"content\":{\"browser_title\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
36
36
  }
37
37
  ],
38
38
  "resource": "Content",
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "d4d2f81a-3689-49d9-9ab7-97e74d5916e7",
24
- "X-Runtime": "0.091680",
23
+ "X-Request-Id": "4c1aa5b4-fb0d-4b96-bfc0-3be6e74a036a",
24
+ "X-Runtime": "0.097675",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "PATCH",
28
28
  "request_path": "/api/admin/content_assets/bulk",
29
- "request_body": "{\"assets\":[{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"},{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"},{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"}]}",
29
+ "request_body": "{\"assets\":[{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"},{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"},{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"}]}",
30
30
  "request_content_type": "application/json",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/content_assets/bulk\" -d '{\"assets\":[{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"},{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"},{\"created_at\":\"2019-08-21T21:56:17.240Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/8y49olytyo_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:17.240Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
35
+ "curl": "curl \"https://www.example.com/api/admin/content_assets/bulk\" -d '{\"assets\":[{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"},{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"},{\"created_at\":\"2019-08-22T17:04:47.879Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/4q9pz1uro_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.879Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
36
36
  }
37
37
  ],
38
38
  "resource": "Content Assets",
@@ -19,24 +19,24 @@
19
19
  "X-Download-Options": "noopen",
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
- "Location": "/api/admin/content_assets/5d5dbdffd4322a4b69d79ab0",
22
+ "Location": "/api/admin/content_assets/5d5ecb2cd4322a04dfbf7516",
23
23
  "Content-Type": "application/json; charset=utf-8",
24
- "ETag": "W/\"422bbe799a211588443cc8859233ba57\"",
24
+ "ETag": "W/\"10e4af624a719fe38c6beaece4ea5724\"",
25
25
  "Cache-Control": "no-cache, no-store, must-revalidate",
26
- "X-Request-Id": "68185ef4-c1f5-485f-9792-fd25ef42733f",
27
- "X-Runtime": "0.029879",
26
+ "X-Request-Id": "a98a44e1-ff51-460c-a7f8-1514bbde5b20",
27
+ "X-Runtime": "0.026473",
28
28
  "Expires": "0",
29
29
  "Content-Length": "441"
30
30
  },
31
31
  "request_method": "POST",
32
32
  "request_path": "/api/admin/content_assets",
33
- "request_body": "{\"asset\":{\"created_at\":\"2019-08-21T21:56:15.293Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1yod42gakr_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:15.293Z\"}}",
33
+ "request_body": "{\"asset\":{\"created_at\":\"2019-08-22T17:04:44.127Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/1935xrvpj1_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:44.127Z\"}}",
34
34
  "request_content_type": "application/json",
35
35
  "response_status": 201,
36
36
  "response_status_text": "Created",
37
- "response_body": "{\n \"asset\": {\n \"_id\": \"5d5dbdffd4322a4b69d79ab0\",\n \"created_at\": \"2019-08-21T21:56:15.293Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/21/1yod42gakr_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-21T21:56:15.293Z\"\n }\n}",
37
+ "response_body": "{\n \"asset\": {\n \"_id\": \"5d5ecb2cd4322a04dfbf7516\",\n \"created_at\": \"2019-08-22T17:04:44.127Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/22/1935xrvpj1_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-22T17:04:44.127Z\"\n }\n}",
38
38
  "response_content_type": "application/json",
39
- "curl": "curl \"https://www.example.com/api/admin/content_assets\" -d '{\"asset\":{\"created_at\":\"2019-08-21T21:56:15.293Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1yod42gakr_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:15.293Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
39
+ "curl": "curl \"https://www.example.com/api/admin/content_assets\" -d '{\"asset\":{\"created_at\":\"2019-08-22T17:04:44.127Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/1935xrvpj1_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:44.127Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
40
40
  }
41
41
  ],
42
42
  "resource": "Content Assets",
@@ -33,12 +33,12 @@
33
33
  "X-Permitted-Cross-Domain-Policies": "none",
34
34
  "Referrer-Policy": "strict-origin-when-cross-origin",
35
35
  "Content-Type": "application/json; charset=utf-8",
36
- "ETag": "W/\"55c7e1a883dcc0ef18b3ef197c72f916\"",
36
+ "ETag": "W/\"2f1ce400779e8d001109a163d029382c\"",
37
37
  "Cache-Control": "no-cache, no-store, must-revalidate",
38
- "X-Request-Id": "79ff8e63-a7cf-403a-b41a-516fa8b9b92e",
39
- "X-Runtime": "0.009516",
38
+ "X-Request-Id": "7b9da642-99bb-4f43-92ae-9e92e9ecc7f0",
39
+ "X-Runtime": "0.005953",
40
40
  "Expires": "0",
41
- "Content-Length": "875"
41
+ "Content-Length": "876"
42
42
  },
43
43
  "request_method": "GET",
44
44
  "request_path": "/api/admin/content_assets?page=1&sort_by=created_at&sort_direction=desc",
@@ -46,7 +46,7 @@
46
46
  "request_content_type": null,
47
47
  "response_status": 200,
48
48
  "response_status_text": "OK",
49
- "response_body": "{\n \"assets\": [\n {\n \"_id\": \"5d5dbe02d4322a4b69d79ace\",\n \"created_at\": \"2019-08-21T21:56:18.038Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/21/53j855ka53_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-21T21:56:18.038Z\"\n },\n {\n \"_id\": \"5d5dbe01d4322a4b69d79acd\",\n \"created_at\": \"2019-08-21T21:56:17.966Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/21/qohiz0fap_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-21T21:56:17.966Z\"\n }\n ]\n}",
49
+ "response_body": "{\n \"assets\": [\n {\n \"_id\": \"5d5ecb2dd4322a04dfbf7522\",\n \"created_at\": \"2019-08-22T17:04:45.652Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/22/5xr4ylyxp6_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-22T17:04:45.652Z\"\n },\n {\n \"_id\": \"5d5ecb2dd4322a04dfbf7521\",\n \"created_at\": \"2019-08-22T17:04:45.580Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/22/13mqbf5200_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-22T17:04:45.580Z\"\n }\n ]\n}",
50
50
  "response_content_type": "application/json",
51
51
  "curl": "curl -g \"https://www.example.com/api/admin/content_assets?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
52
52
  }
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "c34fc6ac-7b56-4ec6-8f92-c17c8eb07b45",
24
- "X-Runtime": "0.015661",
23
+ "X-Request-Id": "32302c96-448a-470d-9e6a-c186d7d2dcd5",
24
+ "X-Runtime": "0.016408",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "DELETE",
28
- "request_path": "/api/admin/content_assets/5d5dbdffd4322a4b69d79ab5",
28
+ "request_path": "/api/admin/content_assets/5d5ecb2cd4322a04dfbf751b",
29
29
  "request_body": null,
30
30
  "request_content_type": "application/x-www-form-urlencoded",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/content_assets/5d5dbdffd4322a4b69d79ab5\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
35
+ "curl": "curl \"https://www.example.com/api/admin/content_assets/5d5ecb2cd4322a04dfbf751b\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
36
36
  }
37
37
  ],
38
38
  "resource": "Content Assets",
@@ -19,22 +19,22 @@
19
19
  "X-Permitted-Cross-Domain-Policies": "none",
20
20
  "Referrer-Policy": "strict-origin-when-cross-origin",
21
21
  "Content-Type": "application/json; charset=utf-8",
22
- "ETag": "W/\"abf35d219230baf99f43a0eccf56dd3a\"",
22
+ "ETag": "W/\"504cb88ef663f4eaaa013d421c9e4852\"",
23
23
  "Cache-Control": "no-cache, no-store, must-revalidate",
24
- "X-Request-Id": "473695d1-a167-4669-9d73-6dbf4d838264",
25
- "X-Runtime": "0.009776",
24
+ "X-Request-Id": "c25571f7-0e39-4d69-bd9c-59d8aff21c5c",
25
+ "X-Runtime": "0.004913",
26
26
  "Expires": "0",
27
27
  "Content-Length": "441"
28
28
  },
29
29
  "request_method": "GET",
30
- "request_path": "/api/admin/content_assets/5d5dbe00d4322a4b69d79abb",
30
+ "request_path": "/api/admin/content_assets/5d5ecb2ed4322a04dfbf7526",
31
31
  "request_body": null,
32
32
  "request_content_type": null,
33
33
  "response_status": 200,
34
34
  "response_status_text": "OK",
35
- "response_body": "{\n \"asset\": {\n \"_id\": \"5d5dbe00d4322a4b69d79abb\",\n \"created_at\": \"2019-08-21T21:56:16.607Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/21/5fso4szmyk_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-21T21:56:16.607Z\"\n }\n}",
35
+ "response_body": "{\n \"asset\": {\n \"_id\": \"5d5ecb2ed4322a04dfbf7526\",\n \"created_at\": \"2019-08-22T17:04:46.347Z\",\n \"file_aspect_ratio\": 1.0,\n \"file_format\": \"jpeg\",\n \"file_height\": 780,\n \"file_image\": true,\n \"file_inverse_aspect_ratio\": 1.0,\n \"file_landscape\": false,\n \"file_name\": \"file.jpg\",\n \"file_portrait\": true,\n \"file_uid\": \"2019/08/22/25rv2t7mrd_file.jpg\",\n \"file_width\": 780,\n \"name\": \"Test Asset\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n \"test\"\n ],\n \"type\": \"image\",\n \"updated_at\": \"2019-08-22T17:04:46.347Z\"\n }\n}",
36
36
  "response_content_type": "application/json",
37
- "curl": "curl -g \"https://www.example.com/api/admin/content_assets/5d5dbe00d4322a4b69d79abb\" -X GET "
37
+ "curl": "curl -g \"https://www.example.com/api/admin/content_assets/5d5ecb2ed4322a04dfbf7526\" -X GET "
38
38
  }
39
39
  ],
40
40
  "resource": "Content Assets",
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "c5fc07f1-07ce-42d0-926d-af4d16467ee4",
24
- "X-Runtime": "0.028560",
23
+ "X-Request-Id": "6ee7b191-652d-4c4e-9814-51c8e09a1a7a",
24
+ "X-Runtime": "0.043268",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "PATCH",
28
- "request_path": "/api/admin/content_assets/5d5dbe02d4322a4b69d79ad2",
29
- "request_body": "{\"asset\":{\"created_at\":\"2019-08-21T21:56:18.741Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1do9egnpe4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:18.741Z\"}}",
28
+ "request_path": "/api/admin/content_assets/5d5ecb2fd4322a04dfbf752a",
29
+ "request_body": "{\"asset\":{\"created_at\":\"2019-08-22T17:04:47.136Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/7ed1p8jnrw_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.136Z\"}}",
30
30
  "request_content_type": "application/json",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/content_assets/5d5dbe02d4322a4b69d79ad2\" -d '{\"asset\":{\"created_at\":\"2019-08-21T21:56:18.741Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/21/1do9egnpe4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-21T21:56:18.741Z\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
35
+ "curl": "curl \"https://www.example.com/api/admin/content_assets/5d5ecb2fd4322a04dfbf752a\" -d '{\"asset\":{\"created_at\":\"2019-08-22T17:04:47.136Z\",\"file_aspect_ratio\":1.0,\"file_format\":\"jpeg\",\"file_height\":780,\"file_image\":true,\"file_inverse_aspect_ratio\":1.0,\"file_landscape\":false,\"file_name\":\"file.jpg\",\"file_portrait\":true,\"file_uid\":\"2019/08/22/7ed1p8jnrw_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2019-08-22T17:04:47.136Z\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
36
36
  }
37
37
  ],
38
38
  "resource": "Content Assets",
@@ -19,24 +19,24 @@
19
19
  "X-Download-Options": "noopen",
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
- "Location": "/api/admin/discounts/5d5dbd9ad4322a4b69d792f3",
22
+ "Location": "/api/admin/discounts/5d5ecaffd4322a04dfbf735f",
23
23
  "Content-Type": "application/json; charset=utf-8",
24
- "ETag": "W/\"9e56286f23a53377d3d154c82f140b30\"",
24
+ "ETag": "W/\"38bb6be43a82407086c3168e60647176\"",
25
25
  "Cache-Control": "no-cache, no-store, must-revalidate",
26
- "X-Request-Id": "91c9464f-638e-4fad-8cf9-4fce35ce4df9",
27
- "X-Runtime": "0.031458",
26
+ "X-Request-Id": "7bb70138-d6d9-4764-b360-0e08256d5f87",
27
+ "X-Runtime": "0.041462",
28
28
  "Expires": "0",
29
29
  "Content-Length": "578"
30
30
  },
31
31
  "request_method": "POST",
32
32
  "request_path": "/api/admin/discounts",
33
- "request_body": "{\"discount\":{\"active\":true,\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2019-08-21T21:54:34.274Z\",\"excluded_category_ids\":[],\"excluded_product_ids\":[],\"generated_codes_id\":null,\"item_quantity\":0,\"name\":\"Test Discount\",\"order_total\":null,\"order_total_operator\":\"greater_than\",\"product_ids\":[\"PRODUCT1\"],\"promo_codes\":[\"SALE\"],\"single_use\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2019-08-21T21:54:34.274Z\",\"user_tags\":[],\"type\":\"product\"}}",
33
+ "request_body": "{\"discount\":{\"active\":true,\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2019-08-22T17:03:59.785Z\",\"excluded_category_ids\":[],\"excluded_product_ids\":[],\"generated_codes_id\":null,\"item_quantity\":0,\"name\":\"Test Discount\",\"order_total\":null,\"order_total_operator\":\"greater_than\",\"product_ids\":[\"PRODUCT1\"],\"promo_codes\":[\"SALE\"],\"single_use\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2019-08-22T17:03:59.785Z\",\"user_tags\":[],\"type\":\"product\"}}",
34
34
  "request_content_type": "application/json",
35
35
  "response_status": 201,
36
36
  "response_status_text": "Created",
37
- "response_body": "{\n \"discount\": {\n \"_id\": \"5d5dbd9ad4322a4b69d792f3\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-21T21:54:34.274Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n \"sale\"\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:34.274Z\",\n \"user_tags\": [\n\n ]\n }\n}",
37
+ "response_body": "{\n \"discount\": {\n \"_id\": \"5d5ecaffd4322a04dfbf735f\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-22T17:03:59.785Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n \"sale\"\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:03:59.785Z\",\n \"user_tags\": [\n\n ]\n }\n}",
38
38
  "response_content_type": "application/json",
39
- "curl": "curl \"https://www.example.com/api/admin/discounts\" -d '{\"discount\":{\"active\":true,\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2019-08-21T21:54:34.274Z\",\"excluded_category_ids\":[],\"excluded_product_ids\":[],\"generated_codes_id\":null,\"item_quantity\":0,\"name\":\"Test Discount\",\"order_total\":null,\"order_total_operator\":\"greater_than\",\"product_ids\":[\"PRODUCT1\"],\"promo_codes\":[\"SALE\"],\"single_use\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2019-08-21T21:54:34.274Z\",\"user_tags\":[],\"type\":\"product\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
39
+ "curl": "curl \"https://www.example.com/api/admin/discounts\" -d '{\"discount\":{\"active\":true,\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2019-08-22T17:03:59.785Z\",\"excluded_category_ids\":[],\"excluded_product_ids\":[],\"generated_codes_id\":null,\"item_quantity\":0,\"name\":\"Test Discount\",\"order_total\":null,\"order_total_operator\":\"greater_than\",\"product_ids\":[\"PRODUCT1\"],\"promo_codes\":[\"SALE\"],\"single_use\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2019-08-22T17:03:59.785Z\",\"user_tags\":[],\"type\":\"product\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
40
40
  }
41
41
  ],
42
42
  "resource": "Discounts",
@@ -33,10 +33,10 @@
33
33
  "X-Permitted-Cross-Domain-Policies": "none",
34
34
  "Referrer-Policy": "strict-origin-when-cross-origin",
35
35
  "Content-Type": "application/json; charset=utf-8",
36
- "ETag": "W/\"8281ba404bd7f95096cac63e9a01fa22\"",
36
+ "ETag": "W/\"19fdb24c8c4ac377f76e670ef8fbd428\"",
37
37
  "Cache-Control": "no-cache, no-store, must-revalidate",
38
- "X-Request-Id": "7c336a20-1f60-48cc-9fbb-2f9490ecd0c9",
39
- "X-Runtime": "0.005238",
38
+ "X-Request-Id": "3b655eaa-6bae-4246-b459-f76ec5c6bb40",
39
+ "X-Runtime": "0.008001",
40
40
  "Expires": "0",
41
41
  "Content-Length": "1135"
42
42
  },
@@ -46,7 +46,7 @@
46
46
  "request_content_type": null,
47
47
  "response_status": 200,
48
48
  "response_status_text": "OK",
49
- "response_body": "{\n \"discounts\": [\n {\n \"_id\": \"5d5dbd9bd4322a4b69d792ff\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-21T21:54:35.535Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:35.535Z\",\n \"user_tags\": [\n\n ]\n },\n {\n \"_id\": \"5d5dbd9bd4322a4b69d792fe\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-21T21:54:35.504Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:35.504Z\",\n \"user_tags\": [\n\n ]\n }\n ]\n}",
49
+ "response_body": "{\n \"discounts\": [\n {\n \"_id\": \"5d5ecaffd4322a04dfbf735a\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-22T17:03:59.154Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:03:59.154Z\",\n \"user_tags\": [\n\n ]\n },\n {\n \"_id\": \"5d5ecaffd4322a04dfbf7359\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-22T17:03:59.115Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:03:59.115Z\",\n \"user_tags\": [\n\n ]\n }\n ]\n}",
50
50
  "response_content_type": "application/json",
51
51
  "curl": "curl -g \"https://www.example.com/api/admin/discounts?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
52
52
  }
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "c4ae2cf2-3908-4d64-b268-06e664886bb1",
24
- "X-Runtime": "0.021096",
23
+ "X-Request-Id": "d001e8ec-f648-4261-b34d-0c751e446bfc",
24
+ "X-Runtime": "0.016966",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "DELETE",
28
- "request_path": "/api/admin/discounts/5d5dbd9ad4322a4b69d792f8",
28
+ "request_path": "/api/admin/discounts/5d5ecafed4322a04dfbf7353",
29
29
  "request_body": null,
30
30
  "request_content_type": "application/x-www-form-urlencoded",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/discounts/5d5dbd9ad4322a4b69d792f8\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
35
+ "curl": "curl \"https://www.example.com/api/admin/discounts/5d5ecafed4322a04dfbf7353\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
36
36
  }
37
37
  ],
38
38
  "resource": "Discounts",
@@ -19,22 +19,22 @@
19
19
  "X-Permitted-Cross-Domain-Policies": "none",
20
20
  "Referrer-Policy": "strict-origin-when-cross-origin",
21
21
  "Content-Type": "application/json; charset=utf-8",
22
- "ETag": "W/\"08d1c06aea5e792268912c95bfcfb50e\"",
22
+ "ETag": "W/\"b7c8ca74a2a012bbda9d1c3a211bb847\"",
23
23
  "Cache-Control": "no-cache, no-store, must-revalidate",
24
- "X-Request-Id": "a861d992-d927-4504-bc82-98fb43489e86",
25
- "X-Runtime": "0.005680",
24
+ "X-Request-Id": "750c8e29-6aa7-49b9-bafb-b4e1aad5da57",
25
+ "X-Runtime": "0.007638",
26
26
  "Expires": "0",
27
27
  "Content-Length": "572"
28
28
  },
29
29
  "request_method": "GET",
30
- "request_path": "/api/admin/discounts/5d5dbd9cd4322a4b69d79303",
30
+ "request_path": "/api/admin/discounts/5d5ecb00d4322a04dfbf7364",
31
31
  "request_body": null,
32
32
  "request_content_type": null,
33
33
  "response_status": 200,
34
34
  "response_status_text": "OK",
35
- "response_body": "{\n \"discount\": {\n \"_id\": \"5d5dbd9cd4322a4b69d79303\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-21T21:54:36.136Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-21T21:54:36.136Z\",\n \"user_tags\": [\n\n ]\n }\n}",
35
+ "response_body": "{\n \"discount\": {\n \"_id\": \"5d5ecb00d4322a04dfbf7364\",\n \"active\": true,\n \"allow_sale_items\": true,\n \"amount\": 50.0,\n \"amount_type\": \"percent\",\n \"auto_deactivate\": true,\n \"auto_deactivated_at\": null,\n \"compatible_discount_ids\": [\n\n ],\n \"created_at\": \"2019-08-22T17:04:00.499Z\",\n \"excluded_category_ids\": [\n\n ],\n \"excluded_product_ids\": [\n\n ],\n \"generated_codes_id\": null,\n \"item_quantity\": 0,\n \"name\": \"Test Discount\",\n \"order_total\": null,\n \"order_total_operator\": \"greater_than\",\n \"product_ids\": [\n \"PRODUCT1\"\n ],\n \"promo_codes\": [\n\n ],\n \"single_use\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"updated_at\": \"2019-08-22T17:04:00.499Z\",\n \"user_tags\": [\n\n ]\n }\n}",
36
36
  "response_content_type": "application/json",
37
- "curl": "curl -g \"https://www.example.com/api/admin/discounts/5d5dbd9cd4322a4b69d79303\" -X GET "
37
+ "curl": "curl -g \"https://www.example.com/api/admin/discounts/5d5ecb00d4322a04dfbf7364\" -X GET "
38
38
  }
39
39
  ],
40
40
  "resource": "Discounts",
@@ -20,19 +20,19 @@
20
20
  "X-Permitted-Cross-Domain-Policies": "none",
21
21
  "Referrer-Policy": "strict-origin-when-cross-origin",
22
22
  "Cache-Control": "no-cache, no-store, must-revalidate",
23
- "X-Request-Id": "9bc14c0f-433e-4df0-89d9-232ce2932040",
24
- "X-Runtime": "0.029629",
23
+ "X-Request-Id": "a67f0081-c943-4df9-8e2f-80206d05688f",
24
+ "X-Runtime": "0.035663",
25
25
  "Expires": "0"
26
26
  },
27
27
  "request_method": "PATCH",
28
- "request_path": "/api/admin/discounts/5d5dbd9cd4322a4b69d79307",
28
+ "request_path": "/api/admin/discounts/5d5ecafdd4322a04dfbf734e",
29
29
  "request_body": "{\"discount\":{\"name\":\"foo\"}}",
30
30
  "request_content_type": "application/json",
31
31
  "response_status": 204,
32
32
  "response_status_text": "No Content",
33
33
  "response_body": null,
34
34
  "response_content_type": null,
35
- "curl": "curl \"https://www.example.com/api/admin/discounts/5d5dbd9cd4322a4b69d79307\" -d '{\"discount\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
35
+ "curl": "curl \"https://www.example.com/api/admin/discounts/5d5ecafdd4322a04dfbf734e\" -d '{\"discount\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
36
36
  }
37
37
  ],
38
38
  "resource": "Discounts",
@@ -33,10 +33,10 @@
33
33
  "X-Permitted-Cross-Domain-Policies": "none",
34
34
  "Referrer-Policy": "strict-origin-when-cross-origin",
35
35
  "Content-Type": "application/json; charset=utf-8",
36
- "ETag": "W/\"5584471bf3a3834ca9fdd4fc9bf2ba52\"",
36
+ "ETag": "W/\"df2d19ff9eb967d1874a383000b180ac\"",
37
37
  "Cache-Control": "no-cache, no-store, must-revalidate",
38
- "X-Request-Id": "0fb3f7e7-7d0b-44cc-ab43-7d58da1ec0d0",
39
- "X-Runtime": "0.005540",
38
+ "X-Request-Id": "2dad3780-b72e-4b5c-9cf5-7a7d649a2f19",
39
+ "X-Runtime": "0.006610",
40
40
  "Expires": "0",
41
41
  "Content-Length": "299"
42
42
  },
@@ -46,7 +46,7 @@
46
46
  "request_content_type": null,
47
47
  "response_status": 200,
48
48
  "response_status_text": "OK",
49
- "response_body": "{\n \"email_signups\": [\n {\n \"_id\": \"5d5dbdc1d4322a4b69d7957e\",\n \"created_at\": \"2019-08-21T21:55:13.523Z\",\n \"email\": \"1@workarea.com\",\n \"updated_at\": \"2019-08-21T21:55:13.523Z\"\n },\n {\n \"_id\": \"5d5dbdc1d4322a4b69d7957d\",\n \"created_at\": \"2019-08-21T21:55:13.520Z\",\n \"email\": \"0@workarea.com\",\n \"updated_at\": \"2019-08-21T21:55:13.520Z\"\n }\n ]\n}",
49
+ "response_body": "{\n \"email_signups\": [\n {\n \"_id\": \"5d5eca11d4322a04dfbf689a\",\n \"created_at\": \"2019-08-22T17:00:01.788Z\",\n \"email\": \"1@workarea.com\",\n \"updated_at\": \"2019-08-22T17:00:01.788Z\"\n },\n {\n \"_id\": \"5d5eca11d4322a04dfbf6899\",\n \"created_at\": \"2019-08-22T17:00:01.784Z\",\n \"email\": \"0@workarea.com\",\n \"updated_at\": \"2019-08-22T17:00:01.784Z\"\n }\n ]\n}",
50
50
  "response_content_type": "application/json",
51
51
  "curl": "curl -g \"https://www.example.com/api/admin/email_signups?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
52
52
  }
@@ -19,22 +19,22 @@
19
19
  "X-Permitted-Cross-Domain-Policies": "none",
20
20
  "Referrer-Policy": "strict-origin-when-cross-origin",
21
21
  "Content-Type": "application/json; charset=utf-8",
22
- "ETag": "W/\"2222a485cb64774a3dbc169ba6d40d6e\"",
22
+ "ETag": "W/\"bfb0d0b5eac41d5ce3ea59a262eb32c5\"",
23
23
  "Cache-Control": "no-cache, no-store, must-revalidate",
24
- "X-Request-Id": "14e2036f-7d68-423f-ab31-6320f2d5f46b",
25
- "X-Runtime": "0.004002",
24
+ "X-Request-Id": "b6e68d8f-7d9d-4f0c-b22f-037c6cb7cc19",
25
+ "X-Runtime": "0.006189",
26
26
  "Expires": "0",
27
27
  "Content-Length": "169"
28
28
  },
29
29
  "request_method": "GET",
30
- "request_path": "/api/admin/email_signups/5d5dbdc0d4322a4b69d79579",
30
+ "request_path": "/api/admin/email_signups/5d5eca12d4322a04dfbf689e",
31
31
  "request_body": null,
32
32
  "request_content_type": null,
33
33
  "response_status": 200,
34
34
  "response_status_text": "OK",
35
- "response_body": "{\n \"email_signup\": {\n \"_id\": \"5d5dbdc0d4322a4b69d79579\",\n \"created_at\": \"2019-08-21T21:55:12.982Z\",\n \"email\": \"email-signup-3@workarea.com\",\n \"updated_at\": \"2019-08-21T21:55:12.982Z\"\n }\n}",
35
+ "response_body": "{\n \"email_signup\": {\n \"_id\": \"5d5eca12d4322a04dfbf689e\",\n \"created_at\": \"2019-08-22T17:00:02.390Z\",\n \"email\": \"email-signup-2@workarea.com\",\n \"updated_at\": \"2019-08-22T17:00:02.390Z\"\n }\n}",
36
36
  "response_content_type": "application/json",
37
- "curl": "curl -g \"https://www.example.com/api/admin/email_signups/5d5dbdc0d4322a4b69d79579\" -X GET "
37
+ "curl": "curl -g \"https://www.example.com/api/admin/email_signups/5d5eca12d4322a04dfbf689e\" -X GET "
38
38
  }
39
39
  ],
40
40
  "resource": "Email Signups",