workarea-api 4.5.4 → 4.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Rakefile +12 -12
- data/doc/api/admin/categories/bulk_upserting_categories.json +5 -5
- data/doc/api/admin/categories/creating_a_category.json +7 -7
- data/doc/api/admin/categories/listing_categories.json +4 -4
- data/doc/api/admin/categories/removing_a_category.json +5 -5
- data/doc/api/admin/categories/showing_a_category.json +6 -6
- data/doc/api/admin/categories/updating_a_category.json +6 -6
- data/doc/api/admin/category_product_rules/creating_a_category_product_rule.json +7 -7
- data/doc/api/admin/category_product_rules/listing_category_product_rules.json +6 -6
- data/doc/api/admin/category_product_rules/removing_a_category_product_rule.json +5 -5
- data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +5 -5
- data/doc/api/admin/content/bulk_upserting_content.json +5 -5
- data/doc/api/admin/content/creating_content.json +7 -7
- data/doc/api/admin/content/listing_content.json +4 -4
- data/doc/api/admin/content/showing_content.json +6 -6
- data/doc/api/admin/content/updating_content.json +5 -5
- data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +5 -5
- data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
- data/doc/api/admin/content_assets/listing_content_assets.json +4 -4
- data/doc/api/admin/content_assets/removing_a_content_asset.json +5 -5
- data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
- data/doc/api/admin/content_assets/updating_a_content_asset.json +6 -6
- data/doc/api/admin/discounts/creating_a_discount.json +7 -7
- data/doc/api/admin/discounts/listing_discounts.json +4 -4
- data/doc/api/admin/discounts/removing_a_discount.json +5 -5
- data/doc/api/admin/discounts/showing_a_discount.json +6 -6
- data/doc/api/admin/discounts/updating_discounts.json +5 -5
- data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup_by_email.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup_by_id.json +6 -6
- data/doc/api/admin/fulfillment/listing_fulfillments.json +4 -4
- data/doc/api/admin/fulfillment/marking_items_as_canceled.json +6 -6
- data/doc/api/admin/fulfillment/marking_items_as_shipped.json +6 -6
- data/doc/api/admin/fulfillment/showing_fulfillment.json +4 -4
- data/doc/api/admin/global_functionality/dealing_with_locales.json +11 -11
- data/doc/api/admin/global_functionality/filtering_by_created_at_time_stamp.json +8 -8
- data/doc/api/admin/global_functionality/filtering_by_updated_time_stamp.json +8 -8
- data/doc/api/admin/global_functionality/paging_results.json +4 -4
- data/doc/api/admin/global_functionality/retrieving_addtional_pages_of_results.json +3 -3
- data/doc/api/admin/global_functionality/sorting_results.json +4 -4
- data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +5 -5
- data/doc/api/admin/inventory_skus/creating_an_inventory_sku.json +6 -6
- data/doc/api/admin/inventory_skus/listing_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/removing_an_inventory_sku.json +3 -3
- data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
- data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +3 -3
- data/doc/api/admin/navigation_menus/creating_a_menu.json +7 -7
- data/doc/api/admin/navigation_menus/listing_menus.json +4 -4
- data/doc/api/admin/navigation_menus/removing_a_navigation_menu.json +5 -5
- data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
- data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +5 -5
- data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +5 -5
- data/doc/api/admin/navigation_taxonomy/creating_a_taxon.json +7 -7
- data/doc/api/admin/navigation_taxonomy/listing_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/removing_a_navigation_taxon.json +5 -5
- data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
- data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +5 -5
- data/doc/api/admin/orders/listing_orders.json +4 -4
- data/doc/api/admin/orders/showing_an_order.json +5 -5
- data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
- data/doc/api/admin/pages/bulk_upserting_pages.json +5 -5
- data/doc/api/admin/pages/creating_a_page.json +7 -7
- data/doc/api/admin/pages/listing_pages.json +4 -4
- data/doc/api/admin/pages/removing_a_page.json +5 -5
- data/doc/api/admin/pages/showing_a_page.json +6 -6
- data/doc/api/admin/pages/updating_a_page.json +6 -6
- data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +5 -5
- data/doc/api/admin/payment_profiles/creating_a_payment_profile.json +7 -7
- data/doc/api/admin/payment_profiles/listing_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/removing_a_payment_profile.json +5 -5
- data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
- data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +5 -5
- data/doc/api/admin/payment_transactions/listing_payment_transactions.json +4 -4
- data/doc/api/admin/payment_transactions/showing_a_payment_transaction.json +6 -6
- data/doc/api/admin/payments/listing_payments.json +4 -4
- data/doc/api/admin/payments/showing_an_payment.json +4 -4
- data/doc/api/admin/prices/creating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/listing_pricing_sku_prices.json +4 -4
- data/doc/api/admin/prices/removing_a_pricing_sku_price.json +5 -5
- data/doc/api/admin/prices/updating_a_pricing_sku_price.json +5 -5
- data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +5 -5
- data/doc/api/admin/pricing_skus/creating_an_pricing_sku.json +6 -6
- data/doc/api/admin/pricing_skus/listing_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/removing_an_pricing_sku.json +3 -3
- data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
- data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +3 -3
- data/doc/api/admin/product_images/creating_a_product_image_from_base64.json +7 -7
- data/doc/api/admin/product_images/creating_a_product_image_from_url.json +7 -7
- data/doc/api/admin/product_images/listing_product_images.json +7 -7
- data/doc/api/admin/product_images/removing_a_product_image.json +5 -5
- data/doc/api/admin/product_images/updating_a_product_image.json +5 -5
- data/doc/api/admin/products/bulk_upserting_products.json +5 -5
- data/doc/api/admin/products/creating_a_product.json +7 -7
- data/doc/api/admin/products/listing_products.json +4 -4
- data/doc/api/admin/products/removing_a_product.json +5 -5
- data/doc/api/admin/products/showing_a_product.json +6 -6
- data/doc/api/admin/products/updating_a_product.json +6 -6
- data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +5 -5
- data/doc/api/admin/promo_code_lists/creating_a_promo_code_list.json +7 -7
- data/doc/api/admin/promo_code_lists/listing_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/removing_a_promo_code_list.json +5 -5
- data/doc/api/admin/promo_code_lists/showing_a_promo_code_list.json +6 -6
- data/doc/api/admin/promo_code_lists/updating_a_promo_code_list.json +5 -5
- data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
- data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +5 -5
- data/doc/api/admin/redirects/bulk_upserting_redirects.json +5 -5
- data/doc/api/admin/redirects/creating_a_redirect.json +7 -7
- data/doc/api/admin/redirects/listing_redirects.json +4 -4
- data/doc/api/admin/redirects/removing_a_redirect.json +5 -5
- data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
- data/doc/api/admin/redirects/updating_a_redirects.json +5 -5
- data/doc/api/admin/release_changes/adding_changes_to_a_release.json +6 -6
- data/doc/api/admin/releases/bulk_upserting_releases.json +5 -5
- data/doc/api/admin/releases/creating_a_release.json +7 -7
- data/doc/api/admin/releases/listing_releases.json +4 -4
- data/doc/api/admin/releases/removing_a_release.json +5 -5
- data/doc/api/admin/releases/showing_a_release.json +6 -6
- data/doc/api/admin/releases/updating_a_release.json +6 -6
- data/doc/api/admin/saved_addresses/creating_a_saved_address.json +7 -7
- data/doc/api/admin/saved_addresses/listing_saved_address.json +6 -6
- data/doc/api/admin/saved_addresses/removing_a_saved_address.json +5 -5
- data/doc/api/admin/saved_addresses/updating_a_saved_address.json +5 -5
- data/doc/api/admin/saved_credit_cards/creating_a_saved_credit_card.json +8 -8
- data/doc/api/admin/saved_credit_cards/listing_saved_credit_cards.json +6 -6
- data/doc/api/admin/saved_credit_cards/removing_a_saved_credit_card.json +5 -5
- data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +5 -5
- data/doc/api/admin/shipping/listing_shipments.json +4 -4
- data/doc/api/admin/shipping/showing_a_shipment.json +6 -6
- data/doc/api/admin/shipping_rates/creating_a_shipping_rate.json +7 -7
- data/doc/api/admin/shipping_rates/listing_shipping_rates.json +6 -6
- data/doc/api/admin/shipping_rates/removing_a_shipping_rate.json +5 -5
- data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +5 -5
- data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +5 -5
- data/doc/api/admin/shipping_services/creating_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/listing_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/removing_a_shipping_service.json +5 -5
- data/doc/api/admin/shipping_services/showing_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/updating_a_shipping_service.json +6 -6
- data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +5 -5
- data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/listing_tax_categories.json +5 -5
- data/doc/api/admin/tax_categories/removing_a_tax_category.json +5 -5
- data/doc/api/admin/tax_categories/showing_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/updating_a_tax_categories.json +5 -5
- data/doc/api/admin/tax_rates/creating_a_tax_rate.json +8 -8
- data/doc/api/admin/tax_rates/listing_tax_rates.json +6 -6
- data/doc/api/admin/tax_rates/removing_a_tax_rate.json +5 -5
- data/doc/api/admin/tax_rates/updating_a_tax_rate.json +5 -5
- data/doc/api/admin/users/bulk_upserting_users.json +5 -5
- data/doc/api/admin/users/creating_a_user.json +7 -7
- data/doc/api/admin/users/listing_users.json +4 -4
- data/doc/api/admin/users/removing_a_user.json +5 -5
- data/doc/api/admin/users/showing_a_user_by_email.json +4 -4
- data/doc/api/admin/users/showing_a_user_by_id.json +6 -6
- data/doc/api/admin/users/updating_a_user.json +6 -6
- data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
- data/doc/api/admin/variants/listing_product_variants.json +7 -7
- data/doc/api/admin/variants/removing_a_product_variant.json +5 -5
- data/doc/api/admin/variants/updating_a_product_variant.json +5 -5
- data/doc/api/storefront/accounts/creating_an_account.json +4 -4
- data/doc/api/storefront/accounts/getting_account_details.json +7 -7
- data/doc/api/storefront/accounts/updating_an_account.json +7 -7
- data/doc/api/storefront/analytics/saving_a_category_view.json +3 -3
- data/doc/api/storefront/analytics/saving_a_product_view.json +3 -3
- data/doc/api/storefront/analytics/saving_a_search.json +3 -3
- data/doc/api/storefront/assets/showing_an_asset.json +6 -6
- data/doc/api/storefront/authentication/creating_an_authentication_token.json +6 -6
- data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +6 -6
- data/doc/api/storefront/authentication/using_an_authentication_token.json +6 -6
- data/doc/api/storefront/cart/adding_a_promo_code.json +7 -7
- data/doc/api/storefront/cart/adding_an_item.json +7 -7
- data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +6 -6
- data/doc/api/storefront/cart/creating_a_new_guest_cart.json +4 -4
- data/doc/api/storefront/cart/delete_an_item.json +7 -7
- data/doc/api/storefront/cart/listing_user_s_carts.json +6 -6
- data/doc/api/storefront/cart/showing_cart.json +7 -7
- data/doc/api/storefront/cart/updating_an_item.json +7 -7
- data/doc/api/storefront/categories/showing_a_category.json +5 -5
- data/doc/api/storefront/categories/showing_a_listing_of_categories.json +5 -5
- data/doc/api/storefront/checkout/completing_a_checkout.json +7 -7
- data/doc/api/storefront/checkout/failure_to_update_a_checkout.json +52 -0
- data/doc/api/storefront/checkout/showing_a_checkout.json +6 -6
- data/doc/api/storefront/checkout/updating_a_checkout.json +6 -6
- data/doc/api/storefront/contacts/creating_a_contact.json +4 -4
- data/doc/api/storefront/email_signups/creating_an_email_signup.json +4 -4
- data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +4 -4
- data/doc/api/storefront/index.json +7 -0
- data/doc/api/storefront/menus/listing_menus.json +5 -5
- data/doc/api/storefront/menus/showing_a_menu.json +7 -7
- data/doc/api/storefront/orders/listing_the_user_s_orders.json +6 -6
- data/doc/api/storefront/orders/showing_an_order.json +7 -7
- data/doc/api/storefront/pages/showing_a_page.json +5 -5
- data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +5 -5
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +8 -8
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +6 -6
- data/doc/api/storefront/products/showing_a_product.json +5 -5
- data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +5 -5
- data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +6 -6
- data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +7 -7
- data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +3 -3
- data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +5 -5
- data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +6 -6
- data/doc/api/storefront/saved_addresses/showing_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_addresses/updating_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_credit_cards/creating_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +6 -6
- data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +6 -6
- data/doc/api/storefront/saved_credit_cards/showing_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/saved_credit_cards/updating_a_saved_credit_card.json +8 -8
- data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +4 -4
- data/doc/api/storefront/searches/showing_search_results.json +5 -5
- data/doc/api/storefront/segmentation/specifying_session_count_for_segmentation.json +10 -10
- data/doc/api/storefront/segmentation/using_session_ids_for_segmenting_non_authenticated_users.json +10 -10
- data/doc/api/storefront/system_content/showing_system_content.json +5 -5
- data/doc/api/storefront/system_content/showing_the_home_page.json +5 -5
- data/doc/api/storefront/taxons/showing_a_taxon.json +7 -7
- data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
- data/doc/api/storefront/validation_errors/general_validation_errors.json +2 -2
- data/lib/workarea/api/version.rb +1 -1
- metadata +6 -5
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:29 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "908fb0fd-6d5d-4f4f-adc9-8497580d6b79",
|
27
|
+
"X-Runtime": "0.005880",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "403"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/content/
|
33
|
+
"request_path": "/api/admin/content/5f3d2d710218236de151edd0",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"content\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"content\": {\n \"_id\": \"5f3d2d710218236de151edd0\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"automate_metadata\": true,\n \"browser_title\": null,\n \"contentable_id\": null,\n \"contentable_type\": null,\n \"created_at\": \"2020-08-19T13:47:29.430Z\",\n \"css\": null,\n \"head_content\": 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\": \"2020-08-19T13:47:29.430Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/content/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/content/5f3d2d710218236de151edd0\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Content",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:30 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "7ddf23fb-704d-4f49-a6dc-2b1555b609e8",
|
27
|
+
"X-Runtime": "0.048207",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/content/
|
32
|
+
"request_path": "/api/admin/content/5f3d2d720218236de151edd5",
|
33
33
|
"request_body": "{\"content\":{\"browser_title\":\"foo\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/content/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/content/5f3d2d720218236de151edd5\" -d '{\"content\":{\"browser_title\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Content",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:17 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "f5a9bfdb-c0ac-4ab0-b665-2b69a4510874",
|
27
|
+
"X-Runtime": "0.165801",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/content_assets/bulk",
|
33
|
-
"request_body": "{\"assets\":[{\"alt_text\":null,\"created_at\":\"
|
33
|
+
"request_body": "{\"assets\":[{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"},{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"},{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"}]}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/content_assets/bulk\" -d '{\"assets\":[{\"alt_text\":null,\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/content_assets/bulk\" -d '{\"assets\":[{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"},{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"},{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:17.276Z\",\"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\":\"2020/08/19/2rn2kdpsm4_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:17.276Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Content Assets",
|
@@ -19,27 +19,27 @@
|
|
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/
|
22
|
+
"Location": "/api/admin/content_assets/5f3d2d280218236de151eb6f",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
24
|
"X-Requested-With": "",
|
25
25
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
26
|
-
"Last-Modified": "Wed,
|
26
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:16 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "
|
28
|
+
"X-Request-Id": "6e61aa17-f3b1-43e5-84f9-077b6992b188",
|
29
|
+
"X-Runtime": "0.039661",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "457"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/content_assets",
|
36
|
-
"request_body": "{\"asset\":{\"alt_text\":null,\"created_at\":\"
|
36
|
+
"request_body": "{\"asset\":{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:15.946Z\",\"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\":\"2020/08/19/88hbnk76im_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:15.946Z\"}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"asset\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"asset\": {\n \"_id\": \"5f3d2d280218236de151eb6f\",\n \"alt_text\": null,\n \"created_at\": \"2020-08-19T13:46:15.946Z\",\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\": \"2020/08/19/88hbnk76im_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\": \"2020-08-19T13:46:15.946Z\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/content_assets\" -d '{\"asset\":{\"alt_text\":null,\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/content_assets\" -d '{\"asset\":{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:15.946Z\",\"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\":\"2020/08/19/88hbnk76im_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:15.946Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Content Assets",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:19 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "8e7f5880-96c3-4e2d-a916-44488a51d344",
|
41
|
+
"X-Runtime": "0.008776",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "908"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"assets\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"assets\": [\n {\n \"_id\": \"5f3d2d2a0218236de151eb84\",\n \"alt_text\": null,\n \"created_at\": \"2020-08-19T13:46:18.981Z\",\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\": \"2020/08/19/70b9vqgpko_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\": \"2020-08-19T13:46:18.981Z\"\n },\n {\n \"_id\": \"5f3d2d2a0218236de151eb83\",\n \"alt_text\": null,\n \"created_at\": \"2020-08-19T13:46:18.824Z\",\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\": \"2020/08/19/3cq9bzalgi_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\": \"2020-08-19T13:46:18.824Z\"\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/content_assets?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:20 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "7b3da22d-0850-4d77-9505-09786f9eda96",
|
27
|
+
"X-Runtime": "0.026341",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/content_assets/
|
32
|
+
"request_path": "/api/admin/content_assets/5f3d2d2c0218236de151eb89",
|
33
33
|
"request_body": null,
|
34
34
|
"request_content_type": "application/x-www-form-urlencoded",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/content_assets/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/content_assets/5f3d2d2c0218236de151eb89\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Content Assets",
|
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:21 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "41e4bad8-2ffe-4454-8945-592249eae994",
|
27
|
+
"X-Runtime": "0.007574",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "457"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/content_assets/
|
33
|
+
"request_path": "/api/admin/content_assets/5f3d2d2d0218236de151eb90",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"asset\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"asset\": {\n \"_id\": \"5f3d2d2d0218236de151eb90\",\n \"alt_text\": null,\n \"created_at\": \"2020-08-19T13:46:21.334Z\",\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\": \"2020/08/19/3k2ioyd85e_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\": \"2020-08-19T13:46:21.334Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/content_assets/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/content_assets/5f3d2d2d0218236de151eb90\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Content Assets",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:22 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "b8263a80-40b8-4af4-b1bc-481c05ede463",
|
27
|
+
"X-Runtime": "0.042392",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/content_assets/
|
33
|
-
"request_body": "{\"asset\":{\"alt_text\":null,\"created_at\":\"
|
32
|
+
"request_path": "/api/admin/content_assets/5f3d2d2e0218236de151eb95",
|
33
|
+
"request_body": "{\"asset\":{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:22.704Z\",\"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\":\"2020/08/19/62su0oqemw_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:22.704Z\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/content_assets/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/content_assets/5f3d2d2e0218236de151eb95\" -d '{\"asset\":{\"alt_text\":null,\"created_at\":\"2020-08-19T13:46:22.704Z\",\"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\":\"2020/08/19/62su0oqemw_file.jpg\",\"file_width\":780,\"name\":\"Test Asset\",\"subscribed_user_ids\":[],\"tags\":[\"test\"],\"type\":\"image\",\"updated_at\":\"2020-08-19T13:46:22.704Z\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Content Assets",
|
@@ -19,27 +19,27 @@
|
|
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/
|
22
|
+
"Location": "/api/admin/discounts/5f3d2ecc0218236de151fc3b",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
24
|
"X-Requested-With": "",
|
25
25
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
26
|
-
"Last-Modified": "Wed,
|
26
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:16 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "73c77e37-1072-4be9-88e8-ae7ecbd3923c",
|
29
|
+
"X-Runtime": "0.092307",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "602"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/discounts",
|
36
|
-
"request_body": "{\"discount\":{\"active\":true,\"active_segment_ids\":[],\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"
|
36
|
+
"request_body": "{\"discount\":{\"active\":true,\"active_segment_ids\":[],\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2020-08-19T13:53:16.767Z\",\"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\":\"2020-08-19T13:53:16.767Z\",\"user_tags\":[],\"type\":\"product\"}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"discount\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"discount\": {\n \"_id\": \"5f3d2ecc0218236de151fc3b\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\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\": \"2020-08-19T13:53:16.767Z\",\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\": \"2020-08-19T13:53:16.767Z\",\n \"user_tags\": [\n\n ]\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/discounts\" -d '{\"discount\":{\"active\":true,\"active_segment_ids\":[],\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/discounts\" -d '{\"discount\":{\"active\":true,\"active_segment_ids\":[],\"allow_sale_items\":true,\"amount\":50.0,\"amount_type\":\"percent\",\"auto_deactivate\":true,\"auto_deactivated_at\":null,\"compatible_discount_ids\":[],\"created_at\":\"2020-08-19T13:53:16.767Z\",\"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\":\"2020-08-19T13:53:16.767Z\",\"user_tags\":[],\"type\":\"product\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Discounts",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:12 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "02eb88d8-3a00-4484-840e-e10303067f41",
|
41
|
+
"X-Runtime": "0.007378",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "1183"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"discounts\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"discounts\": [\n {\n \"_id\": \"5f3d2ec80218236de151fc22\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\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\": \"2020-08-19T13:53:12.106Z\",\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\": \"2020-08-19T13:53:12.106Z\",\n \"user_tags\": [\n\n ]\n },\n {\n \"_id\": \"5f3d2ec80218236de151fc21\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\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\": \"2020-08-19T13:53:12.038Z\",\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\": \"2020-08-19T13:53:12.038Z\",\n \"user_tags\": [\n\n ]\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/discounts?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:13 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "13cf1421-a97f-492b-b361-06d985a3bd4f",
|
27
|
+
"X-Runtime": "0.025007",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/discounts/
|
32
|
+
"request_path": "/api/admin/discounts/5f3d2ec90218236de151fc27",
|
33
33
|
"request_body": null,
|
34
34
|
"request_content_type": "application/x-www-form-urlencoded",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/discounts/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/discounts/5f3d2ec90218236de151fc27\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Discounts",
|
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:14 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "010358ce-a1ce-4578-84b6-4f08d430840f",
|
27
|
+
"X-Runtime": "0.007078",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "596"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/discounts/
|
33
|
+
"request_path": "/api/admin/discounts/5f3d2eca0218236de151fc2e",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"discount\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"discount\": {\n \"_id\": \"5f3d2eca0218236de151fc2e\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\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\": \"2020-08-19T13:53:14.467Z\",\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\": \"2020-08-19T13:53:14.467Z\",\n \"user_tags\": [\n\n ]\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/discounts/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/discounts/5f3d2eca0218236de151fc2e\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Discounts",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:15 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "7686effe-44a3-49d1-bff6-1ade15aa38ef",
|
27
|
+
"X-Runtime": "0.050032",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/discounts/
|
32
|
+
"request_path": "/api/admin/discounts/5f3d2ecb0218236de151fc33",
|
33
33
|
"request_body": "{\"discount\":{\"name\":\"foo\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/discounts/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/discounts/5f3d2ecb0218236de151fc33\" -d '{\"discount\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Discounts",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:42 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "563ad52f-9816-48ab-b14a-b9bd1434413e",
|
41
|
+
"X-Runtime": "0.048864",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "299"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"email_signups\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"email_signups\": [\n {\n \"_id\": \"5f3d2d7e0218236de151ee40\",\n \"created_at\": \"2020-08-19T13:47:42.628Z\",\n \"email\": \"1@workarea.com\",\n \"updated_at\": \"2020-08-19T13:47:42.628Z\"\n },\n {\n \"_id\": \"5f3d2d7e0218236de151ee3f\",\n \"created_at\": \"2020-08-19T13:47:42.618Z\",\n \"email\": \"0@workarea.com\",\n \"updated_at\": \"2020-08-19T13:47:42.618Z\"\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/email_signups?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|
@@ -21,10 +21,10 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:44 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "c722f288-436b-4913-8fc8-6d9f93c6bb13",
|
27
|
+
"X-Runtime": "0.008480",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "159"
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"email_signup\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"email_signup\": {\n \"_id\": \"5f3d2d800218236de151ee4a\",\n \"created_at\": \"2020-08-19T13:47:44.767Z\",\n \"email\": \"test@workarea.com\",\n \"updated_at\": \"2020-08-19T13:47:44.767Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
40
|
"curl": "curl -g \"https://www.example.com/api/admin/email_signups/test%2540workarea%252Ecom\" -X GET "
|
41
41
|
}
|
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:43 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "74fb14ef-e3cd-4b70-846a-1803237eae30",
|
27
|
+
"X-Runtime": "0.006268",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "169"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/email_signups/
|
33
|
+
"request_path": "/api/admin/email_signups/5f3d2d7f0218236de151ee45",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"email_signup\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"email_signup\": {\n \"_id\": \"5f3d2d7f0218236de151ee45\",\n \"created_at\": \"2020-08-19T13:47:43.729Z\",\n \"email\": \"email-signup-2@workarea.com\",\n \"updated_at\": \"2020-08-19T13:47:43.729Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/email_signups/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/email_signups/5f3d2d7f0218236de151ee45\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Email Signups",
|