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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa798507480bf8e3ebc57e56e44a7e80326c1ab0706052bb1fc5c4998625f524
|
4
|
+
data.tar.gz: 144a10f0ce2ac2159e893ce8a04b05036eb292013e8336ff41f54e155675a88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00be4719b696a19e4b78ef81e187743969f5c5892f6c58c6360d7ab91816478045fe4ffb5f0b05ee53b36d8c47bfb68bdd8d8bb84b996ada61a091171f098d0e
|
7
|
+
data.tar.gz: d024b0613c0b9a39b13c4cf165b5dddf1e3d56e910172204052cec175d4167e9db50a07efb558a1099c1f007bdd116c830ebb36437a2a4e43702175793de4d02
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
Workarea Api 4.5.5 (2020-08-19)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Update documentation
|
5
|
+
|
6
|
+
|
7
|
+
Ben Crouse
|
8
|
+
|
9
|
+
|
10
|
+
|
1
11
|
Workarea Api 4.5.4 (2020-08-19)
|
2
12
|
--------------------------------------------------------------------------------
|
3
13
|
|
data/Rakefile
CHANGED
@@ -73,24 +73,24 @@ task :release do
|
|
73
73
|
host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
|
74
74
|
|
75
75
|
#
|
76
|
-
#
|
76
|
+
# Build documentation
|
77
77
|
#
|
78
78
|
#
|
79
|
-
|
80
|
-
|
81
|
-
|
79
|
+
system <<~COMMAND
|
80
|
+
(cd admin && GENERATE_API_DOCS=true bin/rails test) &&
|
81
|
+
(cd storefront && GENERATE_API_DOCS=true bin/rails test) &&
|
82
|
+
git add doc/ &&
|
83
|
+
git commit -am "Update documentation" &&
|
84
|
+
git push origin HEAD
|
85
|
+
COMMAND
|
82
86
|
|
83
87
|
#
|
84
|
-
#
|
88
|
+
# Updating changelog
|
85
89
|
#
|
86
90
|
#
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
# git add doc/ &&
|
91
|
-
# git commit -am "Update documentation" &&
|
92
|
-
# git push origin HEAD
|
93
|
-
#COMMAND
|
91
|
+
Rake::Task['workarea:changelog'].execute
|
92
|
+
system 'git add CHANGELOG.md'
|
93
|
+
system 'git commit -m "Update CHANGELOG"'
|
94
94
|
|
95
95
|
#
|
96
96
|
# Build gem files
|
@@ -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:52:49 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "8c849968-b4fd-432b-8946-d5cd421386eb",
|
27
|
+
"X-Runtime": "0.528618",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/categories/bulk",
|
33
|
-
"request_body": "{\"categories\":[{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"
|
33
|
+
"request_body": "{\"categories\":[{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"},{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"},{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"}]}",
|
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/categories/bulk\" -d '{\"categories\":[{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/bulk\" -d '{\"categories\":[{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"},{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"},{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:48.375Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb00218236de151fb6c\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:48.375Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Categories",
|
@@ -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/categories/
|
22
|
+
"Location": "/api/admin/categories/5f3d2eb70218236de151fbb5",
|
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:52:56 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "5779362a-62e5-42a2-a350-c045c5f10d04",
|
29
|
+
"X-Runtime": "0.143814",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "545"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/categories",
|
36
|
-
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"
|
36
|
+
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:55.686Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb70218236de151fbb0\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:55.686Z\"}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"category\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"category\": {\n \"_id\": \"5f3d2eb70218236de151fbb5\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"client_id\": null,\n \"created_at\": \"2020-08-19T13:52:55.686Z\",\n \"default_sort\": \"top_sellers\",\n \"name\": \"Test Category\",\n \"product_ids\": [\n\n ],\n \"product_rules\": [\n {\n \"_id\": \"5f3d2eb70218236de151fbb0\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": null,\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": null,\n \"value\": \"*\"\n }\n ],\n \"range_facets\": {\n },\n \"show_navigation\": true,\n \"slug\": \"test-category-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"terms_facets\": [\n\n ],\n \"updated_at\": \"2020-08-19T13:52:55.686Z\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/categories\" -d '{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/categories\" -d '{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:55.686Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb70218236de151fbb0\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:55.686Z\"}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Categories",
|
@@ -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:52:50 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "961fb991-10e9-4c0e-8b35-4e453266db67",
|
41
|
+
"X-Runtime": "0.007664",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "1080"
|
@@ -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 \"categories\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"categories\": [\n {\n \"_id\": \"5f3d2eb20218236de151fb8f\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"client_id\": null,\n \"created_at\": \"2020-08-19T13:52:50.383Z\",\n \"default_sort\": \"top_sellers\",\n \"name\": \"Test Category\",\n \"product_ids\": [\n\n ],\n \"product_rules\": [\n {\n \"_id\": \"5f3d2eb20218236de151fb90\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": null,\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": null,\n \"value\": \"*\"\n }\n ],\n \"range_facets\": {\n },\n \"show_navigation\": true,\n \"slug\": \"test-category-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"terms_facets\": [\n\n ],\n \"updated_at\": \"2020-08-19T13:52:50.383Z\"\n },\n {\n \"_id\": \"5f3d2eb20218236de151fb8b\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"client_id\": null,\n \"created_at\": \"2020-08-19T13:52:50.156Z\",\n \"default_sort\": \"top_sellers\",\n \"name\": \"Test Category\",\n \"product_ids\": [\n\n ],\n \"product_rules\": [\n {\n \"_id\": \"5f3d2eb20218236de151fb8c\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": null,\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": null,\n \"value\": \"*\"\n }\n ],\n \"range_facets\": {\n },\n \"show_navigation\": true,\n \"slug\": \"test-category\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"terms_facets\": [\n\n ],\n \"updated_at\": \"2020-08-19T13:52:50.156Z\"\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/categories?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:52:53 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "f743f3ef-53b4-4742-9529-8c2f953867bf",
|
27
|
+
"X-Runtime": "0.040166",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/categories/
|
32
|
+
"request_path": "/api/admin/categories/5f3d2eb50218236de151fba1",
|
33
33
|
"request_body": null,
|
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/categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/5f3d2eb50218236de151fba1\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Categories",
|
@@ -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:52:54 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "f5d3c1b1-ee89-4b29-8e00-e01104dedf4a",
|
27
|
+
"X-Runtime": "0.007344",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "543"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/categories/
|
33
|
+
"request_path": "/api/admin/categories/5f3d2eb60218236de151fba8",
|
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 \"category\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"category\": {\n \"_id\": \"5f3d2eb60218236de151fba8\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"client_id\": null,\n \"created_at\": \"2020-08-19T13:52:54.435Z\",\n \"default_sort\": \"top_sellers\",\n \"name\": \"Test Category\",\n \"product_ids\": [\n\n ],\n \"product_rules\": [\n {\n \"_id\": \"5f3d2eb60218236de151fba9\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": null,\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": null,\n \"value\": \"*\"\n }\n ],\n \"range_facets\": {\n },\n \"show_navigation\": true,\n \"slug\": \"test-category\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"terms_facets\": [\n\n ],\n \"updated_at\": \"2020-08-19T13:52:54.435Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/categories/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/categories/5f3d2eb60218236de151fba8\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Categories",
|
@@ -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:52:52 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "853eecc1-39aa-433d-bf1a-28ab9bcd510b",
|
27
|
+
"X-Runtime": "0.134100",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/categories/
|
33
|
-
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"
|
32
|
+
"request_path": "/api/admin/categories/5f3d2eb30218236de151fb95",
|
33
|
+
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:51.833Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb30218236de151fb9a\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:51.833Z\"}",
|
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/categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/5f3d2eb30218236de151fb95\" -d '{\"active\":true,\"active_segment_ids\":[],\"client_id\":null,\"created_at\":\"2020-08-19T13:52:51.833Z\",\"default_sort\":\"top_sellers\",\"name\":\"Test Category\",\"product_ids\":[],\"product_rules\":[{\"_id\":\"5f3d2eb30218236de151fb9a\",\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"name\":\"search\",\"operator\":\"equals\",\"updated_at\":null,\"value\":\"*\"}],\"range_facets\":{},\"show_navigation\":true,\"subscribed_user_ids\":[],\"tags\":[],\"terms_facets\":[],\"updated_at\":\"2020-08-19T13:52:51.833Z\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Categories",
|
@@ -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/categories/
|
22
|
+
"Location": "/api/admin/categories/5f3d2cc90218236de151e868/product_rules",
|
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:44:42 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "b6878f10-fc10-47bf-9f4f-c954244ff220",
|
29
|
+
"X-Runtime": "0.080537",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "217"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
|
-
"request_path": "/api/admin/categories/
|
35
|
+
"request_path": "/api/admin/categories/5f3d2cc90218236de151e868/product_rules",
|
36
36
|
"request_body": "{\"product_rule\":{\"name\":\"search\",\"operator\":\"equals\",\"value\":\"*\"}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"product_rule\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"product_rule\": {\n \"_id\": \"5f3d2cca0218236de151e86c\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:42.095Z\",\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": \"2020-08-19T13:44:42.095Z\",\n \"value\": \"*\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/categories/
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/5f3d2cc90218236de151e868/product_rules\" -d '{\"product_rule\":{\"name\":\"search\",\"operator\":\"equals\",\"value\":\"*\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Category Product Rules",
|
@@ -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:44:43 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "9162cd47-4c91-489b-8dc9-ca2a1ca57a1e",
|
27
|
+
"X-Runtime": "0.007010",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "421"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/categories/
|
33
|
+
"request_path": "/api/admin/categories/5f3d2ccb0218236de151e870/product_rules",
|
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 \"product_rules\": [\n {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"product_rules\": [\n {\n \"_id\": \"5f3d2ccb0218236de151e873\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:43.369Z\",\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": \"2020-08-19T13:44:43.369Z\",\n \"value\": \"*\"\n },\n {\n \"_id\": \"5f3d2ccb0218236de151e874\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:43.434Z\",\n \"name\": \"search\",\n \"operator\": \"equals\",\n \"updated_at\": \"2020-08-19T13:44:43.434Z\",\n \"value\": \"*\"\n }\n ]\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/categories/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/categories/5f3d2ccb0218236de151e870/product_rules\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Category Product Rules",
|
@@ -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:44:40 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "eba847aa-72b0-4c82-af76-4a14e7e4f1ef",
|
27
|
+
"X-Runtime": "0.026355",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/categories/
|
32
|
+
"request_path": "/api/admin/categories/5f3d2cc80218236de151e860/product_rules/5f3d2cc80218236de151e863",
|
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/categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/5f3d2cc80218236de151e860/product_rules/5f3d2cc80218236de151e863\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Category Product Rules",
|
@@ -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:44:44 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "d13ae9be-b3f7-44f1-bf77-a72f3f9617ee",
|
27
|
+
"X-Runtime": "0.052604",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/categories/
|
32
|
+
"request_path": "/api/admin/categories/5f3d2ccc0218236de151e878/product_rules/5f3d2ccc0218236de151e87b",
|
33
33
|
"request_body": "{\"product_rule\":{\"value\":\"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/categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/categories/5f3d2ccc0218236de151e878/product_rules/5f3d2ccc0218236de151e87b\" -d '{\"product_rule\":{\"value\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Category Product Rules",
|
@@ -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:31 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "0d9ecc92-8a35-487d-b2a9-d64d3fc9bfb4",
|
27
|
+
"X-Runtime": "0.150718",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/content/bulk",
|
33
|
-
"request_body": "{\"content\":[{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"
|
33
|
+
"request_body": "{\"content\":[{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"},{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"},{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"}]}",
|
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/bulk\" -d '{\"content\":[{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/content/bulk\" -d '{\"content\":[{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"},{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"},{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:31.702Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:31.702Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Content",
|
@@ -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/
|
22
|
+
"Location": "/api/admin/content/5f3d2d760218236de151edf2",
|
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:47:34 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "0bb3093b-46f0-4348-812f-0eef20c36d7f",
|
29
|
+
"X-Runtime": "0.041519",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "403"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/content",
|
36
|
-
"request_body": "{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"
|
36
|
+
"request_body": "{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:34.150Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:34.150Z\"}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"content\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"content\": {\n \"_id\": \"5f3d2d760218236de151edf2\",\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:34.150Z\",\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:34.150Z\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/content\" -d '{\"content\":{\"active\":true,\"active_segment_ids\":[],\"automate_metadata\":true,\"browser_title\":null,\"contentable_id\":null,\"contentable_type\":null,\"created_at\":\"2020-08-19T13:47:34.150Z\",\"css\":null,\"head_content\":null,\"javascript\":null,\"meta_description\":null,\"name\":\"Test Content\",\"open_graph_asset_id\":null,\"subscribed_user_ids\":[],\"updated_at\":\"2020-08-19T13:47:34.150Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Content",
|
@@ -34,10 +34,10 @@
|
|
34
34
|
"Content-Type": "application/json; charset=utf-8",
|
35
35
|
"X-Requested-With": "",
|
36
36
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
37
|
-
"Last-Modified": "Wed,
|
37
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:47:33 GMT",
|
38
38
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
39
|
-
"X-Request-Id": "
|
40
|
-
"X-Runtime": "0.
|
39
|
+
"X-Request-Id": "4f50e1da-573b-4ef1-a334-ad970a37a356",
|
40
|
+
"X-Runtime": "0.006910",
|
41
41
|
"X-Workarea-Segments": "",
|
42
42
|
"Expires": "0",
|
43
43
|
"Content-Length": "797"
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"request_content_type": "application/json",
|
49
49
|
"response_status": 200,
|
50
50
|
"response_status_text": "OK",
|
51
|
-
"response_body": "{\n \"content\": [\n {\n \"_id\": \"
|
51
|
+
"response_body": "{\n \"content\": [\n {\n \"_id\": \"5f3d2d750218236de151edeb\",\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:33.062Z\",\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:33.062Z\"\n },\n {\n \"_id\": \"5f3d2d750218236de151edea\",\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:33.002Z\",\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:33.002Z\"\n }\n ]\n}",
|
52
52
|
"response_content_type": "application/json",
|
53
53
|
"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\""
|
54
54
|
}
|