workarea-api 4.5.0 → 4.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +103 -0
- data/Gemfile +1 -3
- data/README.md +1 -1
- data/Rakefile +15 -14
- data/admin/app/controllers/workarea/api/admin/recommendation_settings_controller.rb +1 -1
- data/admin/app/models/workarea/api/admin/date_filtering.rb +0 -3
- data/admin/lib/workarea/api/admin.rb +1 -0
- data/admin/lib/workarea/api/admin/date_indexes.rb +23 -0
- data/admin/lib/workarea/api/admin/engine.rb +2 -0
- data/admin/test/integration/workarea/api/admin/recommendation_settings_integration_test.rb +14 -0
- data/admin/workarea-api-admin.gemspec +2 -2
- 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 +47 -0
- data/doc/api/admin/email_signups/showing_an_email_signup_by_id.json +47 -0
- 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 +86 -0
- data/doc/api/admin/global_functionality/filtering_by_created_at_time_stamp.json +56 -0
- data/doc/api/admin/global_functionality/filtering_by_updated_time_stamp.json +56 -0
- data/doc/api/admin/global_functionality/paging_results.json +51 -0
- data/doc/api/admin/global_functionality/retrieving_addtional_pages_of_results.json +51 -0
- data/doc/api/admin/global_functionality/sorting_results.json +56 -0
- 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 +76 -0
- 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 +47 -0
- data/doc/api/admin/users/showing_a_user_by_id.json +47 -0
- 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/tasks/docs.rake +20 -0
- data/lib/workarea/api/version.rb +1 -1
- data/storefront/test/documentation/workarea/api/storefront/checkouts_documentation_test.rb +21 -0
- data/storefront/test/documentation/workarea/api/storefront/validation_documentation_test.rb +1 -1
- data/storefront/workarea-api-storefront.gemspec +2 -2
- data/workarea-api.gemspec +1 -1
- metadata +23 -9
@@ -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:49:31 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "d26680cd-633b-467b-8574-92a0750d07f8",
|
27
|
+
"X-Runtime": "0.011475",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "1088"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/tax_categories/
|
33
|
+
"request_path": "/api/admin/tax_categories/5f3d2deb0218236de151f287/rates",
|
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 \"rates\": [\n {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"rates\": [\n {\n \"_id\": \"5f3d2deb0218236de151f289\",\n \"category_id\": \"5f3d2deb0218236de151f287\",\n \"charge_on_shipping\": true,\n \"country\": \"US\",\n \"country_percentage\": 0.0,\n \"created_at\": \"2020-08-19T13:49:31.500Z\",\n \"percentage\": 0.06,\n \"postal_code\": null,\n \"postal_code_percentage\": 0.06,\n \"region\": \"PA\",\n \"region_percentage\": 0.0,\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2020-08-19T13:49:31.500Z\"\n },\n {\n \"_id\": \"5f3d2deb0218236de151f288\",\n \"category_id\": \"5f3d2deb0218236de151f287\",\n \"charge_on_shipping\": true,\n \"country\": \"US\",\n \"country_percentage\": 0.0,\n \"created_at\": \"2020-08-19T13:49:31.500Z\",\n \"percentage\": 0.06,\n \"postal_code\": null,\n \"postal_code_percentage\": 0.06,\n \"region\": \"PA\",\n \"region_percentage\": 0.0,\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2020-08-19T13:49:31.500Z\"\n },\n {\n \"_id\": \"5f3d2deb0218236de151f286\",\n \"category_id\": \"5f3d2deb0218236de151f287\",\n \"charge_on_shipping\": true,\n \"country\": \"US\",\n \"country_percentage\": 0.0,\n \"created_at\": \"2020-08-19T13:49:31.500Z\",\n \"percentage\": 0.06,\n \"postal_code\": null,\n \"postal_code_percentage\": 0.06,\n \"region\": \"PA\",\n \"region_percentage\": 0.0,\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2020-08-19T13:49:31.500Z\"\n }\n ]\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/tax_categories/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/tax_categories/5f3d2deb0218236de151f287/rates\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Tax Rates",
|
@@ -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:49:34 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "11a3cd79-588f-4c6f-b998-71308ead3b5c",
|
27
|
+
"X-Runtime": "0.012435",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/tax_categories/
|
32
|
+
"request_path": "/api/admin/tax_categories/5f3d2dee0218236de151f29f/rates/5f3d2dee0218236de151f2a0",
|
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/tax_categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/tax_categories/5f3d2dee0218236de151f29f/rates/5f3d2dee0218236de151f2a0\" -d '' -X PATCH \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Tax Rates",
|
@@ -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:49:32 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "c1ed4fb7-9be6-4ce1-9d01-1b244a4835b2",
|
27
|
+
"X-Runtime": "0.020749",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/tax_categories/
|
32
|
+
"request_path": "/api/admin/tax_categories/5f3d2dec0218236de151f28f/rates/5f3d2dec0218236de151f290",
|
33
33
|
"request_body": "{\"rate\":{\"percentage\":0.04}}",
|
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/tax_categories/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/tax_categories/5f3d2dec0218236de151f28f/rates/5f3d2dec0218236de151f290\" -d '{\"rate\":{\"percentage\":0.04}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Tax Rates",
|
@@ -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:49 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "1.
|
26
|
+
"X-Request-Id": "aa3a58b0-76ad-44b6-b46a-754a8269ea37",
|
27
|
+
"X-Runtime": "1.550197",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/users/bulk",
|
33
|
-
"request_body": "{\"users\":[{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"
|
33
|
+
"request_body": "{\"users\":[{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"},{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"},{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}]}",
|
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/users/bulk\" -d '{\"users\":[{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/users/bulk\" -d '{\"users\":[{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"},{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"},{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:47.591Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:47.591Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:47.591Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Users",
|
@@ -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/users/
|
22
|
+
"Location": "/api/admin/users/5f3d2d440218236de151ec6f",
|
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:44 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "f247920b-5dd6-4f31-9e4b-19940b38b18f",
|
29
|
+
"X-Runtime": "0.308822",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "919"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/users",
|
36
|
-
"request_body": "{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"
|
36
|
+
"request_body": "{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:44.581Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:44.581Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:44.581Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"user\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"user\": {\n \"_id\": \"5f3d2d440218236de151ec6f\",\n \"admin\": false,\n \"api_access\": false,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": null,\n \"can_restore\": null,\n \"catalog_access\": false,\n \"created_at\": \"2020-08-19T13:46:44.581Z\",\n \"created_by_id\": null,\n \"email\": \"user1@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": false,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": false,\n \"orders_access\": false,\n \"orders_manager\": false,\n \"password_changed_at\": \"2020-08-19T13:46:44.881Z\",\n \"people_access\": false,\n \"permissions_manager\": false,\n \"releases_access\": false,\n \"reports_access\": false,\n \"search_access\": false,\n \"settings_access\": false,\n \"status_email_recipient\": false,\n \"store_access\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"hdHG1SWjRHNnYwxPhheomiyE\",\n \"updated_at\": \"2020-08-19T13:46:44.581Z\",\n \"user_agent\": null\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/users\" -d '{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/users\" -d '{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:44.581Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:44.581Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:44.581Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Users",
|
@@ -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:54 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "3c6d4f24-0bff-459d-acdb-a7a462aaa66a",
|
41
|
+
"X-Runtime": "0.008112",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "2736"
|
@@ -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 \"users\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"users\": [\n {\n \"_id\": \"5f3d2d4e0218236de151ecab\",\n \"admin\": false,\n \"api_access\": false,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": null,\n \"can_restore\": null,\n \"catalog_access\": false,\n \"created_at\": \"2020-08-19T13:46:54.077Z\",\n \"created_by_id\": null,\n \"email\": \"user151@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": false,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": false,\n \"orders_access\": false,\n \"orders_manager\": false,\n \"password_changed_at\": \"2020-08-19T13:46:54.077Z\",\n \"people_access\": false,\n \"permissions_manager\": false,\n \"releases_access\": false,\n \"reports_access\": false,\n \"search_access\": false,\n \"settings_access\": false,\n \"status_email_recipient\": false,\n \"store_access\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"TtG7eV7V9pCxdeVUFfK6Smyr\",\n \"updated_at\": \"2020-08-19T13:46:54.077Z\",\n \"user_agent\": null\n },\n {\n \"_id\": \"5f3d2d4d0218236de151eca8\",\n \"admin\": false,\n \"api_access\": false,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": null,\n \"can_restore\": null,\n \"catalog_access\": false,\n \"created_at\": \"2020-08-19T13:46:53.780Z\",\n \"created_by_id\": null,\n \"email\": \"user150@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": false,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": false,\n \"orders_access\": false,\n \"orders_manager\": false,\n \"password_changed_at\": \"2020-08-19T13:46:53.780Z\",\n \"people_access\": false,\n \"permissions_manager\": false,\n \"releases_access\": false,\n \"reports_access\": false,\n \"search_access\": false,\n \"settings_access\": false,\n \"status_email_recipient\": false,\n \"store_access\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"W6pNZsogumKRGvi4fECgL7NV\",\n \"updated_at\": \"2020-08-19T13:46:53.780Z\",\n \"user_agent\": null\n },\n {\n \"_id\": \"5f3d2d4d0218236de151eca6\",\n \"admin\": true,\n \"api_access\": true,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": true,\n \"can_restore\": true,\n \"catalog_access\": true,\n \"created_at\": \"2020-08-19T13:46:53.449Z\",\n \"created_by_id\": null,\n \"email\": \"user149@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": true,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": true,\n \"orders_access\": true,\n \"orders_manager\": true,\n \"password_changed_at\": \"2020-08-19T13:46:53.448Z\",\n \"people_access\": true,\n \"permissions_manager\": true,\n \"releases_access\": true,\n \"reports_access\": true,\n \"search_access\": true,\n \"settings_access\": true,\n \"status_email_recipient\": false,\n \"store_access\": true,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"jmzhddDiLUvQoCJs11qWFe5K\",\n \"updated_at\": \"2020-08-19T13:46:53.449Z\",\n \"user_agent\": null\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/users?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:46 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "2a54a95a-7107-4122-8bf0-0e5d75bd0bbd",
|
27
|
+
"X-Runtime": "0.024310",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/users/
|
32
|
+
"request_path": "/api/admin/users/5f3d2d460218236de151ec76",
|
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/users/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/users/5f3d2d460218236de151ec76\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Users",
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"parameters": [
|
3
|
+
|
4
|
+
],
|
5
|
+
"response_fields": [
|
6
|
+
|
7
|
+
],
|
8
|
+
"requests": [
|
9
|
+
{
|
10
|
+
"request_headers": {
|
11
|
+
},
|
12
|
+
"request_query_parameters": {
|
13
|
+
},
|
14
|
+
"response_headers": {
|
15
|
+
"X-Frame-Options": "SAMEORIGIN",
|
16
|
+
"X-XSS-Protection": "1; mode=block",
|
17
|
+
"X-Content-Type-Options": "nosniff",
|
18
|
+
"X-Download-Options": "noopen",
|
19
|
+
"X-Permitted-Cross-Domain-Policies": "none",
|
20
|
+
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
|
+
"Content-Type": "application/json; charset=utf-8",
|
22
|
+
"X-Requested-With": "",
|
23
|
+
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:55 GMT",
|
25
|
+
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
+
"X-Request-Id": "facf3ecb-ffe0-4b3c-9ce7-52152cc214c9",
|
27
|
+
"X-Runtime": "0.008811",
|
28
|
+
"X-Workarea-Segments": "",
|
29
|
+
"Expires": "0",
|
30
|
+
"Content-Length": "918"
|
31
|
+
},
|
32
|
+
"request_method": "GET",
|
33
|
+
"request_path": "/api/admin/users/test%2540workarea%252Ecom",
|
34
|
+
"request_body": null,
|
35
|
+
"request_content_type": null,
|
36
|
+
"response_status": 200,
|
37
|
+
"response_status_text": "OK",
|
38
|
+
"response_body": "{\n \"user\": {\n \"_id\": \"5f3d2d4f0218236de151ecb1\",\n \"admin\": false,\n \"api_access\": false,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": null,\n \"can_restore\": null,\n \"catalog_access\": false,\n \"created_at\": \"2020-08-19T13:46:55.424Z\",\n \"created_by_id\": null,\n \"email\": \"test@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": false,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": false,\n \"orders_access\": false,\n \"orders_manager\": false,\n \"password_changed_at\": \"2020-08-19T13:46:55.424Z\",\n \"people_access\": false,\n \"permissions_manager\": false,\n \"releases_access\": false,\n \"reports_access\": false,\n \"search_access\": false,\n \"settings_access\": false,\n \"status_email_recipient\": false,\n \"store_access\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"7ABhUwvrruZPzR7HDrNLAhgc\",\n \"updated_at\": \"2020-08-19T13:46:55.424Z\",\n \"user_agent\": null\n }\n}",
|
39
|
+
"response_content_type": "application/json",
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/users/test%2540workarea%252Ecom\" -X GET "
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"resource": "Users",
|
44
|
+
"description": "Showing a user by email",
|
45
|
+
"route": "/api/admin/users/:email",
|
46
|
+
"http_method": "GET"
|
47
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"parameters": [
|
3
|
+
|
4
|
+
],
|
5
|
+
"response_fields": [
|
6
|
+
|
7
|
+
],
|
8
|
+
"requests": [
|
9
|
+
{
|
10
|
+
"request_headers": {
|
11
|
+
},
|
12
|
+
"request_query_parameters": {
|
13
|
+
},
|
14
|
+
"response_headers": {
|
15
|
+
"X-Frame-Options": "SAMEORIGIN",
|
16
|
+
"X-XSS-Protection": "1; mode=block",
|
17
|
+
"X-Content-Type-Options": "nosniff",
|
18
|
+
"X-Download-Options": "noopen",
|
19
|
+
"X-Permitted-Cross-Domain-Policies": "none",
|
20
|
+
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
|
+
"Content-Type": "application/json; charset=utf-8",
|
22
|
+
"X-Requested-With": "",
|
23
|
+
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:46:50 GMT",
|
25
|
+
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
+
"X-Request-Id": "ef23d4ef-064b-4f15-ad75-27db6bb70601",
|
27
|
+
"X-Runtime": "0.007092",
|
28
|
+
"X-Workarea-Segments": "",
|
29
|
+
"Expires": "0",
|
30
|
+
"Content-Length": "921"
|
31
|
+
},
|
32
|
+
"request_method": "GET",
|
33
|
+
"request_path": "/api/admin/users/5f3d2d4a0218236de151ec92",
|
34
|
+
"request_body": null,
|
35
|
+
"request_content_type": null,
|
36
|
+
"response_status": 200,
|
37
|
+
"response_status_text": "OK",
|
38
|
+
"response_body": "{\n \"user\": {\n \"_id\": \"5f3d2d4a0218236de151ec92\",\n \"admin\": false,\n \"api_access\": false,\n \"avatar_name\": null,\n \"avatar_uid\": null,\n \"can_publish_now\": null,\n \"can_restore\": null,\n \"catalog_access\": false,\n \"created_at\": \"2020-08-19T13:46:50.473Z\",\n \"created_by_id\": null,\n \"email\": \"user145@workarea.com\",\n \"failed_login_count\": 0,\n \"first_name\": \"Ben\",\n \"help_admin\": false,\n \"ip_address\": null,\n \"last_impersonated_at\": null,\n \"last_impersonated_by_id\": null,\n \"last_login_at\": null,\n \"last_login_attempt_at\": null,\n \"last_name\": \"Crouse\",\n \"marketing_access\": false,\n \"orders_access\": false,\n \"orders_manager\": false,\n \"password_changed_at\": \"2020-08-19T13:46:50.473Z\",\n \"people_access\": false,\n \"permissions_manager\": false,\n \"releases_access\": false,\n \"reports_access\": false,\n \"search_access\": false,\n \"settings_access\": false,\n \"status_email_recipient\": false,\n \"store_access\": false,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"token\": \"sSNVQh3XVHXpbY9kxWpRte9m\",\n \"updated_at\": \"2020-08-19T13:46:50.473Z\",\n \"user_agent\": null\n }\n}",
|
39
|
+
"response_content_type": "application/json",
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/users/5f3d2d4a0218236de151ec92\" -X GET "
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"resource": "Users",
|
44
|
+
"description": "Showing a user by ID",
|
45
|
+
"route": "/api/admin/users/:id",
|
46
|
+
"http_method": "GET"
|
47
|
+
}
|
@@ -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:52 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "da12f529-3b4a-4998-80d1-05c68ebd9086",
|
27
|
+
"X-Runtime": "0.320490",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/users/
|
33
|
-
"request_body": "{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"
|
32
|
+
"request_path": "/api/admin/users/5f3d2d4b0218236de151ec99",
|
33
|
+
"request_body": "{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:52.106Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:52.105Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:52.106Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}}",
|
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/users/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/users/5f3d2d4b0218236de151ec99\" -d '{\"user\":{\"admin\":false,\"api_access\":false,\"avatar_name\":null,\"avatar_uid\":null,\"can_publish_now\":null,\"can_restore\":null,\"catalog_access\":false,\"created_at\":\"2020-08-19T13:46:52.106Z\",\"created_by_id\":null,\"email\":\"user1@workarea.com\",\"failed_login_count\":0,\"first_name\":\"Ben\",\"help_admin\":false,\"ip_address\":null,\"last_impersonated_at\":null,\"last_impersonated_by_id\":null,\"last_login_at\":null,\"last_login_attempt_at\":null,\"last_name\":\"Crouse\",\"marketing_access\":false,\"orders_access\":false,\"orders_manager\":false,\"password_changed_at\":\"2020-08-19T13:46:52.105Z\",\"people_access\":false,\"permissions_manager\":false,\"releases_access\":false,\"reports_access\":false,\"search_access\":false,\"settings_access\":false,\"status_email_recipient\":false,\"store_access\":false,\"subscribed_user_ids\":[],\"tags\":[],\"updated_at\":\"2020-08-19T13:46:52.106Z\",\"user_agent\":null,\"password\":\"p@ssw0rd\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Users",
|
@@ -23,23 +23,23 @@
|
|
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:35 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "d7b936e8-e806-40e0-8014-f72d74423177",
|
29
|
+
"X-Runtime": "0.148935",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "215"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
|
-
"request_path": "/api/admin/products/
|
35
|
+
"request_path": "/api/admin/products/8CDBF45A5E/variants",
|
36
36
|
"request_body": "{\"variant\":{\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"variant\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"variant\": {\n \"_id\": \"5f3d2cc20218236de151e822\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:34.869Z\",\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 0,\n \"sku\": \"SKU\",\n \"updated_at\": \"2020-08-19T13:44:34.869Z\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/products/8CDBF45A5E/variants\" -d '{\"variant\":{\"active\":true,\"active_segment_ids\":[],\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Variants",
|
@@ -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:37 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "6947099b-6a55-4e9e-9f55-fe5f8ce2ad23",
|
27
|
+
"X-Runtime": "0.010057",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
|
-
"Content-Length": "
|
30
|
+
"Content-Length": "594"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/products/
|
33
|
+
"request_path": "/api/admin/products/BB06ACBF69/variants",
|
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 \"variants\": [\n {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"variants\": [\n {\n \"_id\": \"5f3d2cc40218236de151e833\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:36.898Z\",\n \"details\": {\n },\n \"name\": \"SKU830\",\n \"position\": 0,\n \"sku\": \"SKU830\",\n \"updated_at\": \"2020-08-19T13:44:36.898Z\"\n },\n {\n \"_id\": \"5f3d2cc50218236de151e83a\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:44:37.143Z\",\n \"details\": {\n },\n \"name\": \"SKU400\",\n \"position\": 1,\n \"sku\": \"SKU400\",\n \"updated_at\": \"2020-08-19T13:44:37.143Z\"\n },\n {\n \"_id\": \"5f3d2cc40218236de151e82e\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": null,\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 2,\n \"sku\": \"SKU\",\n \"updated_at\": null\n }\n ]\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/products/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/products/BB06ACBF69/variants\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Variants",
|
@@ -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:33 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "e9a19150-158c-47a9-b222-2410eac6e09a",
|
27
|
+
"X-Runtime": "0.191006",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/products/
|
32
|
+
"request_path": "/api/admin/products/FA834E5F81/variants/5f3d2cc00218236de151e80c",
|
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/products/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/products/FA834E5F81/variants/5f3d2cc00218236de151e80c\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Variants",
|
@@ -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:39 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "13379b8d-7ed9-4897-aff3-1db87a666f84",
|
27
|
+
"X-Runtime": "0.144348",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/products/
|
32
|
+
"request_path": "/api/admin/products/D2CC8731AF/variants/5f3d2cc70218236de151e84e",
|
33
33
|
"request_body": "{\"variant\":{\"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/products/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/products/D2CC8731AF/variants/5f3d2cc70218236de151e84e\" -d '{\"variant\":{\"name\":\"Foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Variants",
|