webcake-storefront-mcp 1.42.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/README.vi.md +2 -2
- package/dist/api-catalog.generated.json +165 -265
- package/dist/api.js +0 -425
- package/dist/changelog.json +7 -7
- package/dist/server.js +2 -0
- package/dist/tools/api-gateway.js +24 -4
- package/dist/tools/appointment.js +5 -49
- package/dist/tools/apps-extra.js +0 -28
- package/dist/tools/apps.js +0 -11
- package/dist/tools/cms-files.js +2 -10
- package/dist/tools/families.js +132 -0
- package/dist/tools/marketing.js +0 -45
- package/dist/tools/multilingual.js +0 -16
- package/dist/tools/orders.js +0 -1
- package/dist/tools/pages.js +0 -3
- package/dist/tools/products.js +0 -5
- package/dist/tools/registry.js +46 -23
- package/dist/tools/retired-tools.json +141 -0
- package/dist/tools/reviews.js +0 -5
- package/dist/tools/site-config.js +0 -78
- package/dist/web-guide.js +1 -1
- package/package.json +1 -1
- package/dist/tools/affiliate.js +0 -27
- package/dist/tools/catalog-extras.js +0 -88
- package/dist/tools/media.js +0 -39
- package/dist/tools/sale-channels.js +0 -45
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{"meta":{"generated_from":"builderx_api routers + controllers (static)","operations":
|
|
1
|
+
{"meta":{"generated_from":"builderx_api routers + controllers (static)","backend":"master@fa0908738","operations":675,"undescribed":9},"ops":[
|
|
2
2
|
{"id":"get:/api/v1/@me","method":"GET","path":"/api/v1/@me","handler":"AccountController.me","tools":["get_current_context","update_auth"]},
|
|
3
3
|
{"id":"post:/api/v1/ai/embed_all_themes","method":"POST","path":"/api/v1/ai/embed_all_themes","handler":"ThemeController.embed_all_themes","params":{"secret":null}},
|
|
4
4
|
{"id":"post:/api/v1/ai/embed_theme","method":"POST","path":"/api/v1/ai/embed_theme","handler":"ThemeController.embed_theme","params":{"id":null}},
|
|
@@ -12,32 +12,32 @@
|
|
|
12
12
|
{"id":"get:/api/v1/collections/:pack_id","method":"GET","path":"/api/v1/collections/:pack_id","handler":"CollectionController.get_collection_by_pack_id","params":{"limit":null,"page":null}},
|
|
13
13
|
{"id":"get:/api/v1/collections/topic","method":"GET","path":"/api/v1/collections/topic","handler":"CollectionController.get_all_topic"},
|
|
14
14
|
{"id":"post:/api/v1/create_user_account","method":"POST","path":"/api/v1/create_user_account","handler":"AccountController.create_account_user","params":{"email":null,"role":null}},
|
|
15
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/account_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/account_affiliates","handler":"AffiliateController.get_account_affiliates","perms":["view_ui","manage_application"]
|
|
16
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/delete_account_affiliates","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/delete_account_affiliates","handler":"AffiliateController.delete_account_affiliates","perms":["view_ui","manage_application"],"params":{"account_affiliate_ids":null}
|
|
17
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/delete_product_affiliates","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/delete_product_affiliates","handler":"AffiliateController.delete_product_affiliates","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
15
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/account_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/account_affiliates","handler":"AffiliateController.get_account_affiliates","perms":["view_ui","manage_application"]},
|
|
16
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/delete_account_affiliates","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/delete_account_affiliates","handler":"AffiliateController.delete_account_affiliates","perms":["view_ui","manage_application"],"params":{"account_affiliate_ids":null}},
|
|
17
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/delete_product_affiliates","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/delete_product_affiliates","handler":"AffiliateController.delete_product_affiliates","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
18
18
|
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/export_all_payout","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/export_all_payout","handler":"AffiliateController.export_all_payout","perms":["view_ui","manage_application"]},
|
|
19
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/order_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/order_affiliates","handler":"AffiliateController.get_order_affiliates","perms":["view_ui","manage_application"]
|
|
20
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/payout_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/payout_affiliates","handler":"AffiliateController.get_payout_affiliates","perms":["view_ui","manage_application"]
|
|
21
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/product_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/product_affiliates","handler":"AffiliateController.get_product_affiliates","perms":["view_ui","manage_application"]
|
|
22
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/program_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/program_affiliates","handler":"AffiliateController.get_program_affiliates","perms":["view_ui","manage_application"]
|
|
23
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/statistic","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/statistic","handler":"AffiliateController.get_affiliate_statistic","perms":["view_ui","manage_application"]
|
|
24
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/update_account_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/update_account_affiliate","handler":"AffiliateController.update_account_affiliate_admin","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
25
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/update_status_payout_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/update_status_payout_affiliate","handler":"AffiliateController.update_status_payout_affiliate","perms":["view_ui","manage_application"],"params":{"id":null,"image_bank_tranfer":null,"status":null}
|
|
26
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_order_program_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_order_program_affiliate","handler":"AffiliateController.upsert_order_program_affiliate","perms":["view_ui","manage_application"],"params":{"program_affiliate":null}
|
|
27
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_product_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_product_affiliate","handler":"AffiliateController.upsert_product_affiliate","perms":["view_ui","manage_application"],"params":{"category_id":null,"ids":null,"product_affiliate":null}
|
|
28
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_product_program_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_product_program_affiliate","handler":"AffiliateController.upsert_product_program_affiliate","perms":["view_ui","manage_application"],"params":{"program_affiliate":null}
|
|
19
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/order_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/order_affiliates","handler":"AffiliateController.get_order_affiliates","perms":["view_ui","manage_application"]},
|
|
20
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/payout_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/payout_affiliates","handler":"AffiliateController.get_payout_affiliates","perms":["view_ui","manage_application"]},
|
|
21
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/product_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/product_affiliates","handler":"AffiliateController.get_product_affiliates","perms":["view_ui","manage_application"]},
|
|
22
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/program_affiliates","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/program_affiliates","handler":"AffiliateController.get_program_affiliates","perms":["view_ui","manage_application"]},
|
|
23
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/affiliate/statistic","method":"GET","path":"/api/v1/dashboard/site/:site_id/affiliate/statistic","handler":"AffiliateController.get_affiliate_statistic","perms":["view_ui","manage_application"]},
|
|
24
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/update_account_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/update_account_affiliate","handler":"AffiliateController.update_account_affiliate_admin","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
25
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/update_status_payout_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/update_status_payout_affiliate","handler":"AffiliateController.update_status_payout_affiliate","perms":["view_ui","manage_application"],"params":{"id":null,"image_bank_tranfer":null,"status":null}},
|
|
26
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_order_program_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_order_program_affiliate","handler":"AffiliateController.upsert_order_program_affiliate","perms":["view_ui","manage_application"],"params":{"program_affiliate":null}},
|
|
27
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_product_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_product_affiliate","handler":"AffiliateController.upsert_product_affiliate","perms":["view_ui","manage_application"],"params":{"category_id":null,"ids":null,"product_affiliate":null}},
|
|
28
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/affiliate/upsert_product_program_affiliate","method":"POST","path":"/api/v1/dashboard/site/:site_id/affiliate/upsert_product_program_affiliate","handler":"AffiliateController.upsert_product_program_affiliate","perms":["view_ui","manage_application"],"params":{"program_affiliate":null}},
|
|
29
29
|
{"id":"delete:/api/v1/dashboard/site/:site_id/api_keys/:id","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/api_keys/:id","handler":"SiteController.delete_api_key"},
|
|
30
30
|
{"id":"post:/api/v1/dashboard/site/:site_id/api_keys/:id/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/api_keys/:id/update","handler":"SiteController.update_api_key"},
|
|
31
31
|
{"id":"get:/api/v1/dashboard/site/:site_id/api_keys/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/api_keys/all","handler":"SiteController.get_api_keys_by_site_id"},
|
|
32
32
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/create_or_update_template","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/create_or_update_template","handler":"PpdController.create_or_update_template","perms":["view_ui","manage_application"]},
|
|
33
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_all_ppd","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_all_ppd","handler":"PpdController.get_all_ppd","perms":["view_ui","manage_application"],"params":{"limit":null,"page":null,"term":null}
|
|
34
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_product_variation_template","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_product_variation_template","handler":"PpdController.get_product_variation_template","perms":["view_ui","manage_application"],"params":{"product_id":null}
|
|
35
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/remove_ppd","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/remove_ppd","handler":"PpdController.remove_ppd","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
33
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_all_ppd","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_all_ppd","handler":"PpdController.get_all_ppd","perms":["view_ui","manage_application"],"params":{"limit":null,"page":null,"term":null}},
|
|
34
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_product_variation_template","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/get_product_variation_template","handler":"PpdController.get_product_variation_template","perms":["view_ui","manage_application"],"params":{"product_id":null}},
|
|
35
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/remove_ppd","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/remove_ppd","handler":"PpdController.remove_ppd","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
36
36
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/update_sync_variations_templates","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/update_sync_variations_templates","handler":"PpdController.update_sync_variations_templates","perms":["view_ui","manage_application"],"params":{"product_id":null,"source":null,"template_image":null,"variation_templates":null}},
|
|
37
37
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/update_variations_template","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/update_variations_template","handler":"PpdController.update_variations_template","perms":["view_ui","manage_application"],"params":{"position":null,"product_id":null,"source":null,"template_image":null,"variation_id":null,"variation_template_images":null}},
|
|
38
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/upsert_ppd","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/upsert_ppd","handler":"PpdController.upsert_ppd","perms":["view_ui","manage_application"],"params":{"ppds":null}
|
|
39
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_design/create_product_by_device_template","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_design/create_product_by_device_template","handler":"DeviceTemplateController.create_product_by_device_template","perms":["view_ui","manage_application"],"params":{"groups":null},"required":["groups"]
|
|
40
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_design/get_group_device_tempalte","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_design/get_group_device_tempalte","handler":"DeviceTemplateController.get_group_device_template","perms":["view_ui","manage_application"]
|
|
38
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/personal_product_design/upsert_ppd","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/personal_product_design/upsert_ppd","handler":"PpdController.upsert_ppd","perms":["view_ui","manage_application"],"params":{"ppds":null}},
|
|
39
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_design/create_product_by_device_template","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_design/create_product_by_device_template","handler":"DeviceTemplateController.create_product_by_device_template","perms":["view_ui","manage_application"],"params":{"groups":null},"required":["groups"]},
|
|
40
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_design/get_group_device_tempalte","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_design/get_group_device_tempalte","handler":"DeviceTemplateController.get_group_device_template","perms":["view_ui","manage_application"]},
|
|
41
41
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_reviews/:review_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/:review_id","handler":"ProductReviewController.get_review_by_id","perms":["view_ui","manage_application"],"tools":["get_review"]},
|
|
42
42
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_reviews/all_review_admin","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/all_review_admin","handler":"ProductReviewController.get_all_review_admin","perms":["view_ui","manage_application"],"params":{"filter":null,"is_sync_pos":null,"limit":null,"page":null,"permission":null,"sort_by":null,"term":null},"tools":["list_reviews"]},
|
|
43
43
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_reviews/all_review_ids","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/all_review_ids","handler":"ProductReviewController.get_all_review_ids","perms":["view_ui","manage_application"],"params":{"filter":null,"is_sync_pos":null,"permission":null,"term":null}},
|
|
@@ -46,39 +46,38 @@
|
|
|
46
46
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/export_excel_reviews","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/export_excel_reviews","handler":"ProductReviewController.export_reviews_excel","perms":["view_ui","manage_application"],"params":{"filter":null,"is_sync_pos":null,"permission":null,"term":null}},
|
|
47
47
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/import_excel_reviews","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/import_excel_reviews","handler":"ProductReviewController.import_reviews_excel","perms":["view_ui","manage_application"],"params":{"comment":null,"custom_ids":null,"customer_info":null,"images":null,"match_comment_rep":null,"rating":null,"reply_custom_id":null,"title":null}},
|
|
48
48
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_reviews/products","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/products","handler":"ProductReviewController.get_products_by_review_id","perms":["view_ui","manage_application"],"params":{"review_id":null},"tools":["get_review_products"]},
|
|
49
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/remove","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/remove","handler":"ProductReviewController.remove_reviews","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
49
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/remove","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/remove","handler":"ProductReviewController.remove_reviews","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
50
50
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/product_reviews/sync_reviews_pos","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/sync_reviews_pos","handler":"ProductReviewController.sync_reviews_pos","perms":["view_ui","manage_application"]},
|
|
51
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/update_status","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/update_status","handler":"ProductReviewController.update_status_new","perms":["view_ui","manage_application"],"params":{"ids_review":null,"status":null}
|
|
51
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/product_reviews/update_status","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/product_reviews/update_status","handler":"ProductReviewController.update_status_new","perms":["view_ui","manage_application"],"params":{"ids_review":null,"status":null}},
|
|
52
52
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/subcriptions/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/all","handler":"AppSubscriptionController.all","perms":["view_ui","manage_application"],"tools":["list_apps"]},
|
|
53
53
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/subcriptions/get_app","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/get_app","handler":"AppSubscriptionController.get_app","perms":["view_ui","manage_application"],"params":{"type":null},"tools":["get_app","install_app","list_automations"]},
|
|
54
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/register","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/register","handler":"AppSubscriptionController.register","perms":["view_ui","manage_application"],"params":{"type":null},"tools":["install_app","list_automations"]},
|
|
54
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/register","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/register","handler":"AppSubscriptionController.register","perms":["view_ui","manage_application"],"params":{"language":null,"type":null},"tools":["install_app","list_automations"]},
|
|
55
55
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/uninstall_app","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/uninstall_app","handler":"AppSubscriptionController.uninstall_app","perms":["view_ui","manage_application"],"params":{"id":null},"required":["id"],"tools":["uninstall_app"]},
|
|
56
|
-
{"id":"
|
|
57
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/
|
|
58
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app_review","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app_review","handler":"AppSubscriptionController.update_app_review","perms":["view_ui","manage_application"],"params":{"id":null,"settings":null},"tools":["update_app_review"]},
|
|
56
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app","handler":"AppSubscriptionController.update_app","perms":["view_ui","manage_application"],"params":{"attrs":null,"id":null}},
|
|
57
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app_review","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/subcriptions/update_app_review","handler":"AppSubscriptionController.update_app_review","perms":["view_ui","manage_application"],"params":{"id":null,"settings":null}},
|
|
59
58
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/create","handler":"MiniAppController.create_zalo_mini_app","perms":["view_ui","manage_application"],"params":{"id":null}},
|
|
60
59
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/deploy","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/deploy","handler":"MiniAppController.deploy","perms":["view_ui","manage_application"],"params":{"app_id":null,"avatar_customer_default":null,"categories_home":null,"category_blog":null,"contact_info":null,"description_version":null,"hide_zalo_oa_when_customer_followed":null,"mini_form":null,"name_version":null,"payment_methods":null,"show_mini_form":null,"sliders":null,"theme":null,"use_reward_points":null,"zalo_oa_id":null,"zalo_oa_logo":null,"zalo_oa_name":null,"zalo_private_key":null,"zalo_secret_key":null}},
|
|
61
60
|
{"id":"get:/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/get_versions","method":"GET","path":"/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/get_versions","handler":"MiniAppController.get_versions","perms":["view_ui","manage_application"]},
|
|
62
61
|
{"id":"post:/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/publish","method":"POST","path":"/api/v1/dashboard/site/:site_id/applications/zalo_mini_app/publish","handler":"MiniAppController.publish","perms":["view_ui","manage_application"]},
|
|
63
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_addresses","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_addresses","handler":"AppointmentController.get_appointment_addresses","perms":["view_ui","manage_application"]
|
|
64
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_calendars","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_calendars","handler":"AppointmentController.get_appointment_calendars","perms":["view_ui","manage_application"],"params":{"term":null}
|
|
65
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_classifies","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_classifies","handler":"AppointmentController.get_appointment_classifies","perms":["view_ui","manage_application"]
|
|
62
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_addresses","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_addresses","handler":"AppointmentController.get_appointment_addresses","perms":["view_ui","manage_application"]},
|
|
63
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_calendars","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_calendars","handler":"AppointmentController.get_appointment_calendars","perms":["view_ui","manage_application"],"params":{"term":null}},
|
|
64
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_classifies","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_classifies","handler":"AppointmentController.get_appointment_classifies","perms":["view_ui","manage_application"]},
|
|
66
65
|
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_dates","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_dates","handler":"AppointmentController.get_appointment_dates","perms":["view_ui","manage_application"],"params":{"appointment_calendar_id":null,"month":null}},
|
|
67
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_employees","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_employees","handler":"AppointmentController.get_appointment_employees","perms":["view_ui","manage_application"]
|
|
68
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointments","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointments","handler":"AppointmentController.get_appointments","perms":["view_ui","manage_application"],"params":{"appointment_calendar_id":null,"date":null}
|
|
69
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_address","handler":"AppointmentController.create_appointment_address","perms":["view_ui","manage_application"],"params":{"appointment_address":null}
|
|
66
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointment_employees","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointment_employees","handler":"AppointmentController.get_appointment_employees","perms":["view_ui","manage_application"]},
|
|
67
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/appointment/appointments","method":"GET","path":"/api/v1/dashboard/site/:site_id/appointment/appointments","handler":"AppointmentController.get_appointments","perms":["view_ui","manage_application"],"params":{"appointment_calendar_id":null,"date":null}},
|
|
68
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_address","handler":"AppointmentController.create_appointment_address","perms":["view_ui","manage_application"],"params":{"appointment_address":null}},
|
|
70
69
|
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_calendar","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_calendar","handler":"AppointmentController.create_appointment_calendar","perms":["view_ui","manage_application"],"params":{"appointment_calendar":null},"tools":["create_appointment_calendar"]},
|
|
71
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_classify","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_classify","handler":"AppointmentController.create_appointment_classify","perms":["view_ui","manage_application"],"params":{"appointment_classify":null}
|
|
72
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_employee","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_employee","handler":"AppointmentController.create_appointment_employee","perms":["view_ui","manage_application"],"params":{"appointment_employee":null}
|
|
73
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_addresses","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_addresses","handler":"AppointmentController.delete_appointment_addresses","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
74
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_calendars","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_calendars","handler":"AppointmentController.delete_appointment_calendars","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
75
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_classifies","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_classifies","handler":"AppointmentController.delete_appointment_classifies","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
76
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_employees","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_employees","handler":"AppointmentController.delete_appointment_employees","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
77
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/duplicate_appointment_calendars","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/duplicate_appointment_calendars","handler":"AppointmentController.duplicate_appointment_calendars","perms":["view_ui","manage_application"],"params":{"appointment_calendars":null}
|
|
78
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_address","handler":"AppointmentController.update_appointment_address","perms":["view_ui","manage_application"],"params":{"appointment_address":null}
|
|
70
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_classify","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_classify","handler":"AppointmentController.create_appointment_classify","perms":["view_ui","manage_application"],"params":{"appointment_classify":null}},
|
|
71
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/create_appointment_employee","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/create_appointment_employee","handler":"AppointmentController.create_appointment_employee","perms":["view_ui","manage_application"],"params":{"appointment_employee":null}},
|
|
72
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_addresses","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_addresses","handler":"AppointmentController.delete_appointment_addresses","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
73
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_calendars","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_calendars","handler":"AppointmentController.delete_appointment_calendars","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
74
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_classifies","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_classifies","handler":"AppointmentController.delete_appointment_classifies","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
75
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/delete_appointment_employees","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/delete_appointment_employees","handler":"AppointmentController.delete_appointment_employees","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
76
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/duplicate_appointment_calendars","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/duplicate_appointment_calendars","handler":"AppointmentController.duplicate_appointment_calendars","perms":["view_ui","manage_application"],"params":{"appointment_calendars":null}},
|
|
77
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_address","handler":"AppointmentController.update_appointment_address","perms":["view_ui","manage_application"],"params":{"appointment_address":null}},
|
|
79
78
|
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_calendar","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_calendar","handler":"AppointmentController.update_appointment_calendar","perms":["view_ui","manage_application"],"params":{"appointment_calendar":null},"tools":["update_appointment_calendar"]},
|
|
80
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_classify","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_classify","handler":"AppointmentController.update_appointment_classify","perms":["view_ui","manage_application"],"params":{"appointment_classify":null}
|
|
81
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_employee","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_employee","handler":"AppointmentController.update_appointment_employee","perms":["view_ui","manage_application"],"params":{"appointment_employee":null}
|
|
79
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_classify","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_classify","handler":"AppointmentController.update_appointment_classify","perms":["view_ui","manage_application"],"params":{"appointment_classify":null}},
|
|
80
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/appointment/update_appointment_employee","method":"POST","path":"/api/v1/dashboard/site/:site_id/appointment/update_appointment_employee","handler":"AppointmentController.update_appointment_employee","perms":["view_ui","manage_application"],"params":{"appointment_employee":null}},
|
|
82
81
|
{"id":"post:/api/v1/dashboard/site/:site_id/auth/login_pancake_id","method":"POST","path":"/api/v1/dashboard/site/:site_id/auth/login_pancake_id","handler":"PartnerServiceController.login_pancake_id_for_intergrations","params":{"authorization_code":null},"required":["authorization_code"]},
|
|
83
82
|
{"id":"get:/api/v1/dashboard/site/:site_id/automations/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/automations/all","handler":"AutomationController.get_automations","perms":["view_ui","manage_application"],"params":{"term":null},"tools":["list_automations"]},
|
|
84
83
|
{"id":"post:/api/v1/dashboard/site/:site_id/automations/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/automations/create","handler":"AutomationController.create_automation","perms":["view_ui","manage_application"],"params":{"automation_attrs":null},"tools":["create_automation"]},
|
|
@@ -90,58 +89,50 @@
|
|
|
90
89
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/all","handler":"ArticleController.all","params":{"pin_article_ids":null,"term":null},"tools":["list_articles"]},
|
|
91
90
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/article_products","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/article_products","handler":"ArticleController.get_article_products","params":{"id":null,"limit":null,"page":null,"type":null}},
|
|
92
91
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/article_tags","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/article_tags","handler":"ArticleController.get_article_tags","params":{"term":null}},
|
|
93
|
-
{"id":"
|
|
94
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/bulk_categories","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/bulk_categories","handler":"ArticleController.bulk_categories","params":{"category_ids":null,"ids":null,"mode":null},"required":["category_ids","ids","mode"]},
|
|
95
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/bulk_tags","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/bulk_tags","handler":"ArticleController.bulk_tags","params":{"ids":null,"mode":null,"tag_ids":null},"required":["ids","mode","tag_ids"]},
|
|
96
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/bulk_visible","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/bulk_visible","handler":"ArticleController.bulk_visible","params":{"ids":null,"is_hidden":null},"required":["ids","is_hidden"]},
|
|
97
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/create","handler":"ArticleController.create","params":{"commands":null,"id":null,"name":null},"tools":["create_article"]},
|
|
92
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/create","handler":"ArticleController.create","tools":["create_article"]},
|
|
98
93
|
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_article_tag","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_article_tag","handler":"ArticleController.create_or_update_article_tag","params":{"id":null,"is_removed":null,"name":null}},
|
|
99
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_draft/:article_id","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_draft/:article_id","handler":"ArticleController.create_or_update_draft","params":{"content":null
|
|
100
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/delete","handler":"ArticleController.delete","
|
|
101
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/detail/:article_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/detail/:article_id","handler":"ArticleController.detail"},
|
|
94
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_draft/:article_id","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/create_or_update_draft/:article_id","handler":"ArticleController.create_or_update_draft","params":{"content":null}},
|
|
95
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/delete","handler":"ArticleController.delete","tools":["delete_article"]},
|
|
102
96
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/drafts/:article_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/drafts/:article_id","handler":"ArticleController.get_drafts_by_article_id"},
|
|
103
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/export_excel","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/export_excel","handler":"ArticleController.export_articles_excel","params":{"ids":null
|
|
97
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/blog/articles/export_excel","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/articles/export_excel","handler":"ArticleController.export_articles_excel","params":{"ids":null}},
|
|
104
98
|
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/import_excel","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/import_excel","handler":"ArticleController.import_excel","params":{"blog_categories":null,"content":null,"images":null,"name":null,"summary":null}},
|
|
105
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/save_draft_snapshot/:article_id","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/save_draft_snapshot/:article_id","handler":"ArticleController.save_draft_snapshot","params":{"content":null,"
|
|
106
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/update","handler":"ArticleController.update","params":{"commands":null
|
|
99
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/save_draft_snapshot/:article_id","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/save_draft_snapshot/:article_id","handler":"ArticleController.save_draft_snapshot","params":{"content":null,"snapshot_type":null}},
|
|
100
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/articles/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/articles/update","handler":"ArticleController.update","params":{"commands":null},"tools":["update_article"]},
|
|
107
101
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/categories/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/categories/all","handler":"BlogCategoryController.all","params":{"term":null},"tools":["update_blog_category"]},
|
|
108
102
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/categories/articles","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/categories/articles","handler":"BlogCategoryController.get_articles","params":{"id":null,"sort_type":null,"term":null}},
|
|
109
103
|
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/build_tree","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/build_tree","handler":"BlogCategoryController.build_tree","params":{"data":null}},
|
|
110
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/
|
|
111
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/create","handler":"BlogCategoryController.create","params":{"commands":null,"id":null,"name":null,"name_render":null},"tools":["create_blog_category"]},
|
|
104
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/create","handler":"BlogCategoryController.create","tools":["create_blog_category"]},
|
|
112
105
|
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/create_or_update_tag","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/create_or_update_tag","handler":"BlogCategoryController.create_or_update_tag","params":{"id":null,"is_removed":null,"name":null}},
|
|
113
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/delete","handler":"BlogCategoryController.delete"
|
|
114
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/blog/categories/detail/:category_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/categories/detail/:category_id","handler":"BlogCategoryController.detail"},
|
|
106
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/delete","handler":"BlogCategoryController.delete"},
|
|
115
107
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/categories/get_max_length_blog_category_description","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/categories/get_max_length_blog_category_description","handler":"BlogCategoryController.get_max_length_blog_category_description"},
|
|
116
108
|
{"id":"get:/api/v1/dashboard/site/:site_id/blog/categories/tags","method":"GET","path":"/api/v1/dashboard/site/:site_id/blog/categories/tags","handler":"BlogCategoryController.get_tags","params":{"term":null}},
|
|
117
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/update","handler":"BlogCategoryController.update","params":{"commands":null
|
|
109
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/blog/categories/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/blog/categories/update","handler":"BlogCategoryController.update","params":{"commands":null},"tools":["update_blog_category"]},
|
|
118
110
|
{"id":"get:/api/v1/dashboard/site/:site_id/cart_triggers","method":"GET","path":"/api/v1/dashboard/site/:site_id/cart_triggers","handler":"CartTriggerController.get"},
|
|
119
111
|
{"id":"get:/api/v1/dashboard/site/:site_id/cart_triggers/pages","method":"GET","path":"/api/v1/dashboard/site/:site_id/cart_triggers/pages","handler":"CartTriggerController.get_pages"},
|
|
120
112
|
{"id":"post:/api/v1/dashboard/site/:site_id/cart_triggers/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/cart_triggers/update","handler":"CartTriggerController.update","params":{"key_add_to_cart":null,"key_quantity":null}},
|
|
121
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/categories/:category_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/:category_id","handler":"CategoryController.get_category_by_id"
|
|
122
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/categories/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/all","handler":"CategoryController.all","params":{"
|
|
123
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/categories/all_category","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/all_category","handler":"CategoryController.get_all_category_by_site_id","params":{"
|
|
113
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/categories/:category_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/:category_id","handler":"CategoryController.get_category_by_id"},
|
|
114
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/categories/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/all","handler":"CategoryController.all","params":{"preload_translations":null,"show_combo_as_product":null,"term":null},"tools":["list_categories","update_product_category"]},
|
|
115
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/categories/all_category","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/all_category","handler":"CategoryController.get_all_category_by_site_id","params":{"show_combo_as_product":null,"term":null}},
|
|
124
116
|
{"id":"post:/api/v1/dashboard/site/:site_id/categories/auto_add_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/auto_add_products","handler":"CategoryController.auto_add_products","params":{"category_id":null,"limit":null,"page":null},"required":["category_id","page"]},
|
|
125
117
|
{"id":"post:/api/v1/dashboard/site/:site_id/categories/build_tree","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/build_tree","handler":"CategoryController.build_tree","params":{"node_change":null,"preload_translations":null,"show_combo_as_product":null,"tree_data":null}},
|
|
126
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/categories/
|
|
127
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/categories/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/create","handler":"CategoryController.create","params":{"commands":null},"tools":["create_product_category"]},
|
|
118
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/categories/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/create","handler":"CategoryController.create","tools":["create_product_category"]},
|
|
128
119
|
{"id":"post:/api/v1/dashboard/site/:site_id/categories/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/delete","handler":"CategoryController.delete","tools":["delete_product_category"]},
|
|
129
120
|
{"id":"get:/api/v1/dashboard/site/:site_id/categories/get_len_short_descriptions","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/get_len_short_descriptions","handler":"CategoryController.get_len_short_descriptions"},
|
|
130
121
|
{"id":"get:/api/v1/dashboard/site/:site_id/categories/index","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/index","handler":"CategoryController.index"},
|
|
131
122
|
{"id":"get:/api/v1/dashboard/site/:site_id/categories/map_category_ids","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/map_category_ids","handler":"CategoryController.get_map_categories_id"},
|
|
132
123
|
{"id":"post:/api/v1/dashboard/site/:site_id/categories/post_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/post_products","handler":"CategoryController.get_products","params":{"custom_sort_product_ids":null,"filter_status":null,"id":null,"limit":null,"page":null,"sort_by":null,"term":null}},
|
|
133
124
|
{"id":"get:/api/v1/dashboard/site/:site_id/categories/products","method":"GET","path":"/api/v1/dashboard/site/:site_id/categories/products","handler":"CategoryController.get_products","params":{"custom_sort_product_ids":null,"filter_status":null,"id":null,"limit":null,"page":null,"sort_by":null,"term":null}},
|
|
134
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/categories/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/update","handler":"CategoryController.update","
|
|
125
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/categories/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/update","handler":"CategoryController.update","tools":["update_product_category"]},
|
|
135
126
|
{"id":"post:/api/v1/dashboard/site/:site_id/categories/update_product","method":"POST","path":"/api/v1/dashboard/site/:site_id/categories/update_product","handler":"CategoryController.update_product","params":{"product_params":null}},
|
|
136
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files","handler":"CMSFileController.get_list_cms_files","perms":["view_ui","manage_application","cms_application"]
|
|
127
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files","handler":"CMSFileController.get_list_cms_files","perms":["view_ui","manage_application","cms_application"]},
|
|
137
128
|
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files","handler":"CMSFileController.create_cms_file_with_type","perms":["view_ui","manage_application","cms_application"],"params":{"content":null,"token":null,"type":null,"type_create":null,"type_file":null,"x_cms_api_key":null},"tools":["create_cms_file"]},
|
|
138
129
|
{"id":"patch:/api/v1/dashboard/site/:site_id/cms_files/:id","method":"PATCH","path":"/api/v1/dashboard/site/:site_id/cms_files/:id","handler":"CMSFileController.update_cms_file_with_type","perms":["view_ui","manage_application","cms_application"],"params":{"content":null,"token":null,"x_cms_api_key":null},"tools":["restore_file_version","update_cms_file"]},
|
|
139
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/debug","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/debug","handler":"CMSFileController.run_debug","perms":["view_ui","manage_application","cms_application"],"params":{"functionName":null,"params":null}
|
|
130
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/debug","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/debug","handler":"CMSFileController.run_debug","perms":["view_ui","manage_application","cms_application"],"params":{"functionName":null,"params":null}},
|
|
140
131
|
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files/http_function","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files/http_function","handler":"CMSFileController.get_http_function_file","perms":["view_ui","manage_application","cms_application"],"tools":["edit_http_function","get_http_function","get_http_function_snippet"]},
|
|
141
132
|
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/http_function","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/http_function","handler":"CMSFileController.create_and_update_http_function_file","perms":["view_ui","manage_application","cms_application"],"params":{"content":null,"token":null,"x_cms_api_key":null},"tools":["edit_http_function","update_http_function"]},
|
|
142
133
|
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/save_version_file","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/save_version_file","handler":"CMSFileController.save_version_file","perms":["view_ui","manage_application","cms_application"],"params":{"content":null,"file_id":null,"is_public":null,"public_type":null},"tools":["save_file_version"]},
|
|
143
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/toggle_is_debug_render","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/toggle_is_debug_render","handler":"CMSFileController.toggle_is_debug_render","perms":["view_ui","manage_application","cms_application"],"params":{"file_id":null}
|
|
144
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files/version_file","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files/version_file","handler":"CMSFileController.get_version_file","perms":["view_ui","manage_application","cms_application"],"params":{"file_id":null},"tools":["
|
|
134
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/cms_files/toggle_is_debug_render","method":"POST","path":"/api/v1/dashboard/site/:site_id/cms_files/toggle_is_debug_render","handler":"CMSFileController.toggle_is_debug_render","perms":["view_ui","manage_application","cms_application"],"params":{"file_id":null}},
|
|
135
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files/version_file","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files/version_file","handler":"CMSFileController.get_version_file","perms":["view_ui","manage_application","cms_application"],"params":{"file_id":null},"tools":["restore_file_version"]},
|
|
145
136
|
{"id":"get:/api/v1/dashboard/site/:site_id/cms_files/version_file_public","method":"GET","path":"/api/v1/dashboard/site/:site_id/cms_files/version_file_public","handler":"CMSFileController.get_version_file_public","perms":["view_ui","manage_application","cms_application"],"params":{"content":null,"file_id":null,"id":null,"public_type":null,"token":null,"type":null,"type_create":null,"type_file":null,"x_cms_api_key":null}},
|
|
146
137
|
{"id":"get:/api/v1/dashboard/site/:site_id/combo_product/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/combo_product/all","handler":"ComboProductController.all","params":{"limit":null,"page":null,"term":null},"tools":["list_combos"]},
|
|
147
138
|
{"id":"post:/api/v1/dashboard/site/:site_id/combo_product/change_active","method":"POST","path":"/api/v1/dashboard/site/:site_id/combo_product/change_active","handler":"ComboProductController.change_active_combo","params":{"ids":null,"is_activated":null}},
|
|
@@ -153,20 +144,20 @@
|
|
|
153
144
|
{"id":"post:/api/v1/dashboard/site/:site_id/combo_product/remove_combo_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/combo_product/remove_combo_products","handler":"ComboProductController.remove_combo_products","params":{"ids":null}},
|
|
154
145
|
{"id":"post:/api/v1/dashboard/site/:site_id/combo_product/update_combo_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/combo_product/update_combo_pos","handler":"ComboProductController.update_combo_pos","params":{"combos":null}},
|
|
155
146
|
{"id":"post:/api/v1/dashboard/site/:site_id/combo_product/update_combo_product","method":"POST","path":"/api/v1/dashboard/site/:site_id/combo_product/update_combo_product","handler":"ComboProductController.update_combo_product","params":{"bonus_products":null,"combo":null,"combo_product_id":null,"combos":null,"id":null,"ids":null,"is_variation_bonus":null,"items":null,"limit":null,"name":null,"page":null,"pos_id":null,"shop_id":null,"term":null}},
|
|
156
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/contact/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/contact/all","handler":"ContactController.all","params":{"status":null,"term":null}
|
|
147
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/contact/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/contact/all","handler":"ContactController.all","params":{"status":null,"term":null}},
|
|
157
148
|
{"id":"post:/api/v1/dashboard/site/:site_id/contact/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/contact/create","handler":"ContactController.create","tools":["create_contact"]},
|
|
158
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/contact/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/contact/delete","handler":"ContactController.delete","params":{"ids":null},"required":["ids"]
|
|
149
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/contact/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/contact/delete","handler":"ContactController.delete","params":{"ids":null},"required":["ids"]},
|
|
159
150
|
{"id":"get:/api/v1/dashboard/site/:site_id/contact/export","method":"GET","path":"/api/v1/dashboard/site/:site_id/contact/export","handler":"ContactController.export","params":{"from":null,"to":null}},
|
|
160
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/course-app","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app","handler":"CourseAppController.get_all_courses","perms":["view_ui","manage_application"],"params":{"has_submission_hidden":null,"term":null}
|
|
151
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/course-app","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app","handler":"CourseAppController.get_all_courses","perms":["view_ui","manage_application"],"params":{"has_submission_hidden":null,"term":null}},
|
|
161
152
|
{"id":"post:/api/v1/dashboard/site/:site_id/course-app","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-app","handler":"CourseAppController.create_course_app","perms":["view_ui","manage_application"],"params":{"product_id":null},"tools":["create_course"]},
|
|
162
|
-
{"id":"delete:/api/v1/dashboard/site/:site_id/course-app/:id","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.delete_course_app","perms":["view_ui","manage_application"]
|
|
163
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/:id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.get_course_by_id","perms":["view_ui","manage_application"]
|
|
164
|
-
{"id":"patch:/api/v1/dashboard/site/:site_id/course-app/:id","method":"PATCH","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.update_course_app","perms":["view_ui","manage_application"]
|
|
165
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/course-app/delete_many","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-app/delete_many","handler":"CourseAppController.delete_courses","perms":["view_ui","manage_application"],"params":{"ids":null}
|
|
153
|
+
{"id":"delete:/api/v1/dashboard/site/:site_id/course-app/:id","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.delete_course_app","perms":["view_ui","manage_application"]},
|
|
154
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/:id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.get_course_by_id","perms":["view_ui","manage_application"]},
|
|
155
|
+
{"id":"patch:/api/v1/dashboard/site/:site_id/course-app/:id","method":"PATCH","path":"/api/v1/dashboard/site/:site_id/course-app/:id","handler":"CourseAppController.update_course_app","perms":["view_ui","manage_application"]},
|
|
156
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/course-app/delete_many","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-app/delete_many","handler":"CourseAppController.delete_courses","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
166
157
|
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/get_customers_by_course_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/get_customers_by_course_id","handler":"CourseAppController.get_customers_by_course_id","perms":["view_ui","manage_application"],"params":{"course_id":null,"has_submission_hidden":null,"term":null}},
|
|
167
158
|
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/get_submit_of_tracks_by_course_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/get_submit_of_tracks_by_course_id","handler":"CourseAppController.get_submit_of_tracks_by_course_id","perms":["view_ui","manage_application"],"params":{"course_app_track_id":null,"course_id":null,"customer_id":null}},
|
|
168
159
|
{"id":"delete:/api/v1/dashboard/site/:site_id/course-app/members","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/course-app/members","handler":"CourseAppController.delete_member","perms":["view_ui","manage_application"],"params":{"course_id":null,"customer_id":null}},
|
|
169
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/members","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/members","handler":"CourseAppController.get_member_data","perms":["view_ui","manage_application"],"params":{"course_id":null,"customer_id":null}
|
|
160
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/members","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/members","handler":"CourseAppController.get_member_data","perms":["view_ui","manage_application"],"params":{"course_id":null,"customer_id":null}},
|
|
170
161
|
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/product/:product_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/product/:product_id","handler":"CourseAppController.get_course_by_product_id","perms":["view_ui","manage_application"]},
|
|
171
162
|
{"id":"get:/api/v1/dashboard/site/:site_id/course-app/submissions","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-app/submissions","handler":"CourseAppController.get_submission_data","perms":["view_ui","manage_application"],"params":{"course_id":null,"customer_id":null}},
|
|
172
163
|
{"id":"post:/api/v1/dashboard/site/:site_id/course-app/submit_track/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-app/submit_track/delete","handler":"CourseAppController.delete_submit_track_dashboard","perms":["view_ui","manage_application"],"params":{"submit_track_id":null}},
|
|
@@ -177,22 +168,21 @@
|
|
|
177
168
|
{"id":"get:/api/v1/dashboard/site/:site_id/course-plan/:id","method":"GET","path":"/api/v1/dashboard/site/:site_id/course-plan/:id","handler":"CoursePlanController.get_course_plan_by_id","perms":["view_ui","manage_application"]},
|
|
178
169
|
{"id":"post:/api/v1/dashboard/site/:site_id/course-plan/:id","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-plan/:id","handler":"CoursePlanController.update_course_plan","perms":["view_ui","manage_application"],"params":{"course_app_ids":null,"expire_time":null,"product_id":null}},
|
|
179
170
|
{"id":"post:/api/v1/dashboard/site/:site_id/course-plan/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/course-plan/delete","handler":"CoursePlanController.delete_course_plans","perms":["view_ui","manage_application"],"params":{"ids":null}},
|
|
180
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/customer/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/all","handler":"CustomerController.all","tools":["list_customers"]},
|
|
171
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/customer/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/all","handler":"CustomerController.all","params":{"status":null,"term":null},"tools":["list_customers"]},
|
|
181
172
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/buy_wholesales_price","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/buy_wholesales_price","handler":"CustomerController.buy_wholesales_price","params":{"id":null,"wholesales":null}},
|
|
182
173
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/create","handler":"CustomerController.create","params":{"addressData":null,"customers":null}},
|
|
183
174
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/create_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/create_address","handler":"CustomerController.create_address","params":{"address":null,"commune_id":null,"country_code":null,"district_id":null,"first_name":null,"idx":null,"last_name":null,"phone_number":null,"province_id":null}},
|
|
184
175
|
{"id":"get:/api/v1/dashboard/site/:site_id/customer/customer_levels","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/customer_levels","handler":"CustomerController.get_customer_levels"},
|
|
185
176
|
{"id":"get:/api/v1/dashboard/site/:site_id/customer/customer_levels_pos","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/customer_levels_pos","handler":"CustomerController.get_customer_levels_pos"},
|
|
186
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/customer/customer_tags","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/customer_tags","handler":"CustomerController.get_customer_tags"
|
|
177
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/customer/customer_tags","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/customer_tags","handler":"CustomerController.get_customer_tags"},
|
|
187
178
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/delete","handler":"CustomerController.delete","params":{"ids":null},"required":["ids"]},
|
|
188
179
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/delete_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/delete_address","handler":"CustomerController.delete_address","params":{"customerId":null,"id":null},"required":["customerId","id"]},
|
|
189
180
|
{"id":"get:/api/v1/dashboard/site/:site_id/customer/edit","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/edit","handler":"CustomerController.edit","params":{"id":null},"required":["id"]},
|
|
190
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/customer/segments","method":"GET","path":"/api/v1/dashboard/site/:site_id/customer/segments","handler":"CustomerController.segments"},
|
|
191
181
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update","handler":"CustomerController.update","params":{"birthday":null,"country_code":null,"custom_data":null,"email":null,"first_name":null,"gender":null,"idx":null,"last_name":null,"name":null,"phone_number":null}},
|
|
192
182
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update_address","handler":"CustomerController.update_address","params":{"address":null,"commune_id":null,"country_code":null,"district_id":null,"first_name":null,"idx":null,"last_name":null,"phone_number":null,"province_id":null}},
|
|
193
183
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update_address_default","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update_address_default","handler":"CustomerController.update_address_default","params":{"id":null,"idAddress":null},"required":["id","idAddress"]},
|
|
194
184
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update_tag_note","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update_tag_note","handler":"CustomerController.update_tag_note","params":{"idx":null,"note":null,"tags":null}},
|
|
195
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update_tags_for_multiple_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update_tags_for_multiple_customers","handler":"CustomerController.update_tags_for_multiple_customers","params":{"
|
|
185
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/customer/update_tags_for_multiple_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/update_tags_for_multiple_customers","handler":"CustomerController.update_tags_for_multiple_customers","params":{"customer_ids":null,"tags":null,"type":null},"tools":["assign_customer_tags"]},
|
|
196
186
|
{"id":"post:/api/v1/dashboard/site/:site_id/customer/upsert_customer_tag","method":"POST","path":"/api/v1/dashboard/site/:site_id/customer/upsert_customer_tag","handler":"CustomerController.upsert_customer_tag","params":{"id":null},"tools":["upsert_customer_tag"]},
|
|
197
187
|
{"id":"get:/api/v1/dashboard/site/:site_id/db_collections","method":"GET","path":"/api/v1/dashboard/site/:site_id/db_collections","handler":"DBCollectionController.get_list_db_collection","perms":["view_ui","manage_application","cms_application"],"params":{"term":null},"tools":["get_http_function","list_collections"]},
|
|
198
188
|
{"id":"post:/api/v1/dashboard/site/:site_id/db_collections","method":"POST","path":"/api/v1/dashboard/site/:site_id/db_collections","handler":"DBCollectionController.create_db_collection","perms":["view_ui","manage_application","cms_application"],"params":{"schema":null,"views":null},"tools":["create_collection"]},
|
|
@@ -217,32 +207,31 @@
|
|
|
217
207
|
{"id":"get:/api/v1/dashboard/site/:site_id/db_collections/token","method":"GET","path":"/api/v1/dashboard/site/:site_id/db_collections/token","handler":"DBCollectionController.get_token_admin","perms":["view_ui","manage_application","cms_application"],"params":{"plug_type":null}},
|
|
218
208
|
{"id":"post:/api/v1/dashboard/site/:site_id/db_collections/token/refresh","method":"POST","path":"/api/v1/dashboard/site/:site_id/db_collections/token/refresh","handler":"DBCollectionController.refresh_token_admin","perms":["view_ui","manage_application","cms_application"],"params":{"plug_type":null}},
|
|
219
209
|
{"id":"get:/api/v1/dashboard/site/:site_id/db_collections/total_items","method":"GET","path":"/api/v1/dashboard/site/:site_id/db_collections/total_items","handler":"DBCollectionController.get_total_items","perms":["view_ui","manage_application","cms_application"]},
|
|
220
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/domains/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/domains/all","handler":"DomainController.get_domains","params":{"advanced_setting":null,"domain":null,"domain_id":null}
|
|
221
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/domains/check_domain","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/check_domain","handler":"DomainController.check_domain","params":{"domain":null},"required":["domain"]
|
|
222
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/domains/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/create","handler":"DomainController.create_domain","params":{"domain":null},"required":["domain"]
|
|
223
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/domains/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/delete","handler":"DomainController.delete_domain","params":{"domain_id":null},"required":["domain_id"]
|
|
224
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/domains/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/update","handler":"DomainController.update_domain","params":{"advanced_setting":null,"domain":null,"domain_id":null}
|
|
225
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/domains/verify","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/verify","handler":"DomainController.verify_domain","params":{"domain_id":null},"required":["domain_id"]
|
|
210
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/domains/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/domains/all","handler":"DomainController.get_domains","params":{"advanced_setting":null,"domain":null,"domain_id":null}},
|
|
211
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/domains/check_domain","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/check_domain","handler":"DomainController.check_domain","params":{"domain":null},"required":["domain"]},
|
|
212
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/domains/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/create","handler":"DomainController.create_domain","params":{"domain":null},"required":["domain"]},
|
|
213
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/domains/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/delete","handler":"DomainController.delete_domain","params":{"domain_id":null},"required":["domain_id"]},
|
|
214
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/domains/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/update","handler":"DomainController.update_domain","params":{"advanced_setting":null,"domain":null,"domain_id":null}},
|
|
215
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/domains/verify","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/verify","handler":"DomainController.verify_domain","params":{"domain_id":null},"required":["domain_id"]},
|
|
226
216
|
{"id":"post:/api/v1/dashboard/site/:site_id/domains/verify_non_www","method":"POST","path":"/api/v1/dashboard/site/:site_id/domains/verify_non_www","handler":"DomainController.verify_domain_non_www","params":{"domain":null,"domain_id":null},"required":["domain"]},
|
|
227
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/export","method":"POST","path":"/api/v1/dashboard/site/:site_id/export","handler":"ExportController.export","params":{"type":null}},
|
|
228
217
|
{"id":"get:/api/v1/dashboard/site/:site_id/external_sync/ybai","method":"GET","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai","handler":"ExternalSyncController.ybai_get_config","perms":["view_ui","manage_application"]},
|
|
229
218
|
{"id":"post:/api/v1/dashboard/site/:site_id/external_sync/ybai","method":"POST","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai","handler":"ExternalSyncController.ybai_create_config","perms":["view_ui","manage_application"],"params":{"config":null},"required":["config"]},
|
|
230
219
|
{"id":"get:/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings","method":"GET","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings","handler":"ExternalSyncController.ybai_list_order_status_mappings","perms":["view_ui","manage_application"]},
|
|
231
220
|
{"id":"post:/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings","method":"POST","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings","handler":"ExternalSyncController.ybai_set_order_status_mappings","perms":["view_ui","manage_application"],"params":{"mappings":null},"required":["mappings"]},
|
|
232
221
|
{"id":"post:/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings/:storecake_status","method":"POST","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai/order_status_mappings/:storecake_status","handler":"ExternalSyncController.ybai_set_order_status_mapping","perms":["view_ui","manage_application"],"params":{"mapping":null},"required":["mapping"]},
|
|
233
222
|
{"id":"post:/api/v1/dashboard/site/:site_id/external_sync/ybai/sync_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/external_sync/ybai/sync_products","handler":"ExternalSyncController.ybai_sync_products","perms":["view_ui","manage_application"]},
|
|
234
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/insight/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/insight/all","handler":"SiteController.get_insight"
|
|
235
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/insight/today","method":"GET","path":"/api/v1/dashboard/site/:site_id/insight/today","handler":"SiteController.get_insight_today"
|
|
223
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/insight/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/insight/all","handler":"SiteController.get_insight"},
|
|
224
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/insight/today","method":"GET","path":"/api/v1/dashboard/site/:site_id/insight/today","handler":"SiteController.get_insight_today"},
|
|
236
225
|
{"id":"post:/api/v1/dashboard/site/:site_id/integrations/pancake/create_or_update_intergration","method":"POST","path":"/api/v1/dashboard/site/:site_id/integrations/pancake/create_or_update_intergration","handler":"IntergrationsController.create_or_update","params":{"id":null,"link_token":null,"page_id":null}},
|
|
237
226
|
{"id":"get:/api/v1/dashboard/site/:site_id/integrations/pancake/get_intergrations","method":"GET","path":"/api/v1/dashboard/site/:site_id/integrations/pancake/get_intergrations","handler":"IntergrationsController.get_intergrations_site_id_by_type"},
|
|
238
227
|
{"id":"get:/api/v1/dashboard/site/:site_id/integrations/pancake/get_page_plugin_chat_from_pancake","method":"GET","path":"/api/v1/dashboard/site/:site_id/integrations/pancake/get_page_plugin_chat_from_pancake","handler":"IntergrationsController.get_page_plugin_chat_from_pancake","params":{"link_token":null}},
|
|
239
228
|
{"id":"post:/api/v1/dashboard/site/:site_id/integrations/pancake/update_white_list_domain_to_pancake","method":"POST","path":"/api/v1/dashboard/site/:site_id/integrations/pancake/update_white_list_domain_to_pancake","handler":"IntergrationsController.update_white_list_domain_to_pancake"},
|
|
240
229
|
{"id":"get:/api/v1/dashboard/site/:site_id/integrations/webcake/pages","method":"GET","path":"/api/v1/dashboard/site/:site_id/integrations/webcake/pages","handler":"WebcakeController.pages"},
|
|
241
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/add_multiple_language","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/add_multiple_language","handler":"SiteController.add_multiple_language","perms":["view_ui","manage_application"],"params":{"language":null,"languages":null}
|
|
230
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/add_multiple_language","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/add_multiple_language","handler":"SiteController.add_multiple_language","perms":["view_ui","manage_application"],"params":{"language":null,"languages":null}},
|
|
242
231
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/article_category_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/article_category_translations","handler":"TranslationController.get_article_category_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
243
232
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/article_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/article_translations","handler":"TranslationController.get_article_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
244
233
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/category_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/category_translations","handler":"TranslationController.get_category_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
245
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/change_language_default","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/change_language_default","handler":"TranslationController.change_language_default","perms":["view_ui","manage_application"],"params":{"language_code":null}
|
|
234
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/change_language_default","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/change_language_default","handler":"TranslationController.change_language_default","perms":["view_ui","manage_application"],"params":{"language_code":null}},
|
|
246
235
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/combo_product_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/combo_product_translations","handler":"TranslationController.get_combo_product_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
247
236
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/export_excel","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/export_excel","handler":"TranslationController.export_excel","perms":["view_ui","manage_application"],"params":{"lang":null,"lang_from":null}},
|
|
248
237
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/global_source_contents","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/global_source_contents","handler":"GlobalSourceController.get_global_source_contents","perms":["view_ui","manage_application"],"params":{"component":null},"required":["component"],"tools":["get_global_source_contents","update_global_source_contents"]},
|
|
@@ -253,7 +242,7 @@
|
|
|
253
242
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/promotion_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/promotion_translations","handler":"TranslationController.get_promotion_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
254
243
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/ribbon_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/ribbon_translations","handler":"TranslationController.get_ribbon_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"term":null}},
|
|
255
244
|
{"id":"get:/api/v1/dashboard/site/:site_id/multilingual/site_translations","method":"GET","path":"/api/v1/dashboard/site/:site_id/multilingual/site_translations","handler":"TranslationController.get_site_translations","perms":["view_ui","manage_application"],"params":{"language_code":null}},
|
|
256
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/translate_json","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/translate_json","handler":"TranslationController.translate_json","perms":["view_ui","manage_application"],"params":{"json":null,"source_language":null,"target_language":null,"type":null},"required":["type"]
|
|
245
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/translate_json","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/translate_json","handler":"TranslationController.translate_json","perms":["view_ui","manage_application"],"params":{"json":null,"source_language":null,"target_language":null,"type":null},"required":["type"]},
|
|
257
246
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/update_article_category_translations","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/update_article_category_translations","handler":"TranslationController.update_article_category_translations","perms":["view_ui","manage_application"],"params":{"article_category_translations":null,"language_code":null}},
|
|
258
247
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/update_article_translations","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/update_article_translations","handler":"TranslationController.update_article_translations","perms":["view_ui","manage_application"],"params":{"article_translations":null,"language_code":null}},
|
|
259
248
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/update_category_translations","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/update_category_translations","handler":"TranslationController.update_category_translations","perms":["view_ui","manage_application"],"params":{"category_translations":null,"language_code":null}},
|
|
@@ -268,12 +257,11 @@
|
|
|
268
257
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/update_ribbon_translations","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/update_ribbon_translations","handler":"TranslationController.update_ribbon_translations","perms":["view_ui","manage_application"],"params":{"language_code":null,"ribbon_translations":null}},
|
|
269
258
|
{"id":"post:/api/v1/dashboard/site/:site_id/multilingual/update_site_translations","method":"POST","path":"/api/v1/dashboard/site/:site_id/multilingual/update_site_translations","handler":"TranslationController.update_site_translations","perms":["view_ui","manage_application"],"params":{"language_code":null}},
|
|
270
259
|
{"id":"get:/api/v1/dashboard/site/:site_id/orders/:order_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/:order_id","handler":"OrderController.order","tools":["get_order"]},
|
|
271
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/orders/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/all","handler":"OrderController.all","params":{"term":null},"tools":["list_orders"]},
|
|
272
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/orders/count_by_status","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/count_by_status","handler":"OrderController.count_order_by_status"
|
|
260
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/orders/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/all","handler":"OrderController.all","params":{"end_time":null,"filter_options":null,"start_time":null,"status":null,"term":null},"tools":["list_orders"]},
|
|
261
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/orders/count_by_status","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/count_by_status","handler":"OrderController.count_order_by_status"},
|
|
273
262
|
{"id":"post:/api/v1/dashboard/site/:site_id/orders/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/orders/create","handler":"OrderController.create_order"},
|
|
274
263
|
{"id":"post:/api/v1/dashboard/site/:site_id/orders/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/orders/delete","handler":"OrderController.delete_orders","params":{"ids":null}},
|
|
275
264
|
{"id":"get:/api/v1/dashboard/site/:site_id/orders/get_by_time","method":"GET","path":"/api/v1/dashboard/site/:site_id/orders/get_by_time","handler":"OrderController.get_order_by_time"},
|
|
276
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/orders/request_packaging","method":"POST","path":"/api/v1/dashboard/site/:site_id/orders/request_packaging","handler":"OrderController.request_packaging","params":{"id":null}},
|
|
277
265
|
{"id":"post:/api/v1/dashboard/site/:site_id/orders/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/orders/update","handler":"OrderController.update_order"},
|
|
278
266
|
{"id":"post:/api/v1/dashboard/site/:site_id/orders/update_status","method":"POST","path":"/api/v1/dashboard/site/:site_id/orders/update_status","handler":"OrderController.update_status","params":{"id":null,"new_status":null,"old_status":null},"required":["new_status","old_status"]},
|
|
279
267
|
{"id":"get:/api/v1/dashboard/site/:site_id/partner_service/botcake/flows","method":"GET","path":"/api/v1/dashboard/site/:site_id/partner_service/botcake/flows","handler":"PartnerServiceController.get_botcake_flows","perms":["view_ui","manage_application"],"params":{"botcake_page_id":null,"platform":null}},
|
|
@@ -303,7 +291,7 @@
|
|
|
303
291
|
{"id":"get:/api/v1/dashboard/site/:site_id/partner_service/pos/customer/get_block_phone_customers","method":"GET","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/customer/get_block_phone_customers","handler":"PartnerServiceController.get_block_phone_customers_pos","params":{"limit":null,"page":null}},
|
|
304
292
|
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/login/facebook","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/login/facebook","handler":"PartnerServiceController.login_pos_facebook","params":{"access_token":null,"fb_id":null}},
|
|
305
293
|
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/login/pancake","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/login/pancake","handler":"PartnerServiceController.login_pancake_id","params":{"authorization_code":null},"required":["authorization_code"]},
|
|
306
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_all_order_to_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_all_order_to_pos","handler":"OrderPosController.sync_all_order_to_pos","params":{"term":null}},
|
|
294
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_all_order_to_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_all_order_to_pos","handler":"OrderPosController.sync_all_order_to_pos","params":{"end_time":null,"filter_options":null,"start_time":null,"status":null,"term":null}},
|
|
307
295
|
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_order_to_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/order/sync_order_to_pos","handler":"OrderPosController.sync_order_to_pos","params":{"order_id":null},"required":["order_id"]},
|
|
308
296
|
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/product/get_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/product/get_products","handler":"PartnerServiceController.get_products","params":{"category_id":null,"limit":null,"page":null,"term":null}},
|
|
309
297
|
{"id":"post:/api/v1/dashboard/site/:site_id/partner_service/pos/product/sync_all_product_from_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/partner_service/pos/product/sync_all_product_from_pos","handler":"PartnerServiceController.sync_all_product_from_pos","params":{"category_id":null,"limit":null,"page":null,"shop_id":null,"term":null}},
|
|
@@ -324,19 +312,19 @@
|
|
|
324
312
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/get_product_max_binding_info","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/get_product_max_binding_info","handler":"ProductController.get_product_max_binding_info"},
|
|
325
313
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/google_product_categories","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/google_product_categories","handler":"ProductController.get_google_product_categories","params":{"language":null}},
|
|
326
314
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/import_excel","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/import_excel","handler":"ProductController.import_product_excel","params":{"products":null}},
|
|
327
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/materials/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/materials/all","handler":"MaterialController.get_all_materials"
|
|
328
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/products/materials/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/materials/create_or_update","handler":"MaterialController.create_or_update_material","params":{"description":null,"id":null,"is_removed":null,"name":null,"parent_id":null,"slug":null}
|
|
315
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/materials/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/materials/all","handler":"MaterialController.get_all_materials"},
|
|
316
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/products/materials/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/materials/create_or_update","handler":"MaterialController.create_or_update_material","params":{"description":null,"id":null,"is_removed":null,"name":null,"parent_id":null,"slug":null}},
|
|
329
317
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/orders_custom_links","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/orders_custom_links","handler":"ProductController.orders_custom_links"},
|
|
330
318
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/orders_short_descriptions","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/orders_short_descriptions","handler":"ProductController.orders_short_descriptions"},
|
|
331
319
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_attrs_used_most","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_attrs_used_most","handler":"ProductController.get_product_attrs_used_most"},
|
|
332
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_brands/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_brands/all","handler":"ProductController.get_all_brand_tags"
|
|
333
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update","handler":"ProductController.create_or_update_brand_tag","params":{"description":null,"id":null,"is_removed":null,"name":null,"slug":null}
|
|
320
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_brands/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_brands/all","handler":"ProductController.get_all_brand_tags"},
|
|
321
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update","handler":"ProductController.create_or_update_brand_tag","params":{"description":null,"id":null,"is_removed":null,"name":null,"slug":null}},
|
|
334
322
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update_sort","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_brands/create_or_update_sort","handler":"SortController.create_or_update_sort","params":{"sort_brand_tag":null}},
|
|
335
323
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_brands/sort_brand_tags","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_brands/sort_brand_tags","handler":"SortController.get_sort_by_site_id"},
|
|
336
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_suppliers/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_suppliers/all","handler":"ProductController.get_all_supplier_tags"
|
|
337
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_suppliers/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_suppliers/create_or_update","handler":"ProductController.create_or_update_supplier_tag","params":{"id":null,"is_removed":null,"name":null}
|
|
338
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_tags/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_tags/all","handler":"ProductController.get_all_product_tags","params":{"term":null}
|
|
339
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_tags/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_tags/create_or_update","handler":"ProductController.create_or_update_product_tag","params":{"id":null,"is_removed":null,"name":null,"slug":null}
|
|
324
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_suppliers/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_suppliers/all","handler":"ProductController.get_all_supplier_tags"},
|
|
325
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_suppliers/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_suppliers/create_or_update","handler":"ProductController.create_or_update_supplier_tag","params":{"id":null,"is_removed":null,"name":null}},
|
|
326
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/product_tags/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/product_tags/all","handler":"ProductController.get_all_product_tags","params":{"term":null}},
|
|
327
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/products/product_tags/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/product_tags/create_or_update","handler":"ProductController.create_or_update_product_tag","params":{"id":null,"is_removed":null,"name":null,"slug":null}},
|
|
340
328
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/published","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/published","handler":"ProductController.change_published","params":{"data":null},"required":["data"],"tools":["set_product_published"]},
|
|
341
329
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/remove","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/remove","handler":"ProductController.remove_products","params":{"ids":null},"tools":["delete_product"]},
|
|
342
330
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/review/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/review/all","handler":"ProductController.get_reviews","params":{"product_id":null}},
|
|
@@ -344,16 +332,16 @@
|
|
|
344
332
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/review/create_by_template","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/review/create_by_template","handler":"ProductController.create_by_template"},
|
|
345
333
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/review/remove","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/review/remove","handler":"ProductController.remove_review","params":{"id":null,"product_id":null}},
|
|
346
334
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/review/templates","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/review/templates","handler":"ProductController.get_template_reviews"},
|
|
347
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/ribbons/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/ribbons/all","handler":"ProductController.get_all_ribbons"
|
|
348
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/products/ribbons/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/ribbons/create_or_update","handler":"ProductController.create_or_update_ribbon","params":{"id":null,"is_removed":null,"type":null}
|
|
349
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/search","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/search","handler":"ProductController.search","params":{"allow_facebook_catalog":null,"allow_google_catalog":null,"allow_google_merchant":null,"attrs":null,"brand":null,"brands":null,"category_ids":null,"data_sort":null,"filter":null,"filter_attrs_hidden":null,"filter_exclude_categories":null,"filter_exclude_tags":null,"gte":null,"has_short_description":null,"id":null,"is_design":null,"is_empty_images":null,"is_filter_attrs_by_or":null,"is_filter_categories_by_or":null,"is_filter_tags_by_or":null,"is_pre_order":null,"is_published":null,"limit":null,"lte":null,"page":null,"product_id":null,"supplier":null,"suppliers":null,"tags":null,"term":null}
|
|
335
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/ribbons/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/ribbons/all","handler":"ProductController.get_all_ribbons"},
|
|
336
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/products/ribbons/create_or_update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/ribbons/create_or_update","handler":"ProductController.create_or_update_ribbon","params":{"id":null,"is_removed":null,"type":null}},
|
|
337
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/search","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/search","handler":"ProductController.search","params":{"allow_facebook_catalog":null,"allow_google_catalog":null,"allow_google_merchant":null,"attrs":null,"brand":null,"brands":null,"category_ids":null,"data_sort":null,"filter":null,"filter_attrs_hidden":null,"filter_exclude_categories":null,"filter_exclude_tags":null,"gte":null,"has_short_description":null,"id":null,"is_design":null,"is_empty_images":null,"is_filter_attrs_by_or":null,"is_filter_categories_by_or":null,"is_filter_tags_by_or":null,"is_pre_order":null,"is_published":null,"limit":null,"lte":null,"page":null,"product_id":null,"supplier":null,"suppliers":null,"tags":null,"term":null}},
|
|
350
338
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/short_descriptions_or_custom_links","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/short_descriptions_or_custom_links","handler":"ProductController.short_descriptions_or_custom_links","params":{"ids":null,"type":null}},
|
|
351
339
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/short_link","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/short_link","handler":"ProductController.create_short_link","params":{"ids":null,"is_published":null,"limit":null,"page":null,"product_id":null,"reference_key":null}},
|
|
352
340
|
{"id":"get:/api/v1/dashboard/site/:site_id/products/site","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/site","handler":"ProductController.get_site"},
|
|
353
341
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/update","handler":"ProductController.update","params":{"product_params":["bonus_products_change","categories","description","name","product_id","ribbons","short_description","total_sold","variations"]},"required":["product_params"],"tools":["update_product"]},
|
|
354
342
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/update_all","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/update_all","handler":"ProductController.update_all","params":{"delete_categories":null,"ids":null,"insert_categories":null,"insert_materials":null,"is_negative":null,"is_pre_order":null,"is_published":null,"is_runout":null,"remove_materials":null,"ribbons":null,"rm_custom_links":null,"rm_ribbons":null,"rm_short_descriptions":null,"rm_tags":null,"tags":null,"update_categories":null,"update_materials":null}},
|
|
355
343
|
{"id":"post:/api/v1/dashboard/site/:site_id/products/update_product","method":"POST","path":"/api/v1/dashboard/site/:site_id/products/update_product","handler":"ProductController.update_product","params":{"custom_slug":null,"id":null,"meta_tags":null,"pixel_data":null,"spec":null},"required":["spec"]},
|
|
356
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/products/variation/:variation_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/variation/:variation_id","handler":"ProductController.get_variation_by_id","params":{"reference_key":null}
|
|
344
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/products/variation/:variation_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/products/variation/:variation_id","handler":"ProductController.get_variation_by_id","params":{"reference_key":null}},
|
|
357
345
|
{"id":"get:/api/v1/dashboard/site/:site_id/promotion_advance/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/promotion_advance/all","handler":"PromotionAdvanceController.all","params":{"bonus_categories_change":null,"bonus_items_change":null,"creation_mode":null,"customer_levels":null,"description":null,"detail_times_change":null,"end_time":null,"id":null,"ids":null,"is_activated":null,"itemsChange":null,"multiple_creation_count":null,"namePrefix":null,"priority_levels":null,"promo_code_info":null,"start_time":null,"term":null,"time_zone":null,"type":null,"types":null}},
|
|
358
346
|
{"id":"post:/api/v1/dashboard/site/:site_id/promotion_advance/change_active","method":"POST","path":"/api/v1/dashboard/site/:site_id/promotion_advance/change_active","handler":"PromotionAdvanceController.change_active","params":{"ids":null,"is_activated":null}},
|
|
359
347
|
{"id":"post:/api/v1/dashboard/site/:site_id/promotion_advance/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/promotion_advance/create","handler":"PromotionAdvanceController.create_promotion_advance","params":{"pos_id":null}},
|
|
@@ -402,7 +390,7 @@
|
|
|
402
390
|
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/google/google_merchant_accounts","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/google_merchant_accounts","handler":"SaleChannelController.get_google_merchant_accounts","perms":["view_ui","manage_sale"]},
|
|
403
391
|
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/google/homepage","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/homepage","handler":"SaleChannelController.get_account_homepage","perms":["view_ui","manage_sale"]},
|
|
404
392
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/init_account","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/init_account","handler":"SaleChannelController.init_account","perms":["view_ui","manage_sale"],"params":{"google_merchant_account_id":null,"target_country":null,"target_language":null}},
|
|
405
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/google/merchants","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/merchants","handler":"SaleChannelController.get_merchants","perms":["view_ui","manage_sale"],"params":{"platform":null}
|
|
393
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/google/merchants","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/merchants","handler":"SaleChannelController.get_merchants","perms":["view_ui","manage_sale"],"params":{"platform":null}},
|
|
406
394
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_id/disconnect","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_id/disconnect","handler":"SaleChannelController.disconnect","perms":["view_ui","manage_sale"]},
|
|
407
395
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_id/disconnect_account","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_id/disconnect_account","handler":"SaleChannelController.disconnect_account","perms":["view_ui","manage_sale"]},
|
|
408
396
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_source_id/update_merchant_source","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/merchants/:merchant_source_id/update_merchant_source","handler":"SaleChannelController.update_merchant_source","perms":["view_ui","manage_sale"],"params":{"config":null}},
|
|
@@ -421,50 +409,46 @@
|
|
|
421
409
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/verify_phone_number","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/verify_phone_number","handler":"SaleChannelController.verify_phone_number","perms":["view_ui","manage_sale"],"params":{"verification_code":null,"verification_id":null}},
|
|
422
410
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/google/verify_website","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/verify_website","handler":"SaleChannelController.verify_website","perms":["view_ui","manage_sale"],"params":{"website_url":null}},
|
|
423
411
|
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/google/web_resource","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/google/web_resource","handler":"SaleChannelController.get_web_resource","perms":["view_ui","manage_sale"]},
|
|
424
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id","handler":"PartnerFeedController.
|
|
425
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/all","handler":"PartnerFeedController.get_partner_product_feeds","perms":["view_ui","manage_sale"],"params":{"source":null},"tools":["list_partner_feed_products"]},
|
|
412
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/all","handler":"PartnerFeedController.get_partner_product_feeds","perms":["view_ui","manage_sale"],"params":{"term":null}},
|
|
426
413
|
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/expand_data","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/expand_data","handler":"PartnerFeedController.update_expand_data_partner_product_feeds","perms":["view_ui","manage_sale"],"params":{"product_ids":null,"type":null,"update_expand_data":null}},
|
|
427
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/sync","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/sync","handler":"PartnerFeedController.sync_partner_product_feeds","perms":["view_ui","manage_sale"]
|
|
428
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/update","handler":"PartnerFeedController.update_partner_feed","perms":["view_ui","manage_sale"],"
|
|
429
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/all","handler":"PartnerFeedController.get_partner_feeds","perms":["view_ui","manage_sale"],"params":{"status":null,"term":null,"type":null}
|
|
430
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/auto_add_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/auto_add_products","handler":"PartnerFeedController.auto_add_products","perms":["view_ui","manage_sale"],"params":{"limit":null,"page":null,"partner_feed_id":null},"required":["partner_feed_id"]},
|
|
431
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/
|
|
432
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/
|
|
433
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/create","handler":"PartnerFeedController.create_partner_feed","perms":["view_ui","manage_sale"],"tools":["create_partner_feed"]},
|
|
434
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/delete","handler":"PartnerFeedController.delete_partner_feeds","perms":["view_ui","manage_sale"],"params":{"partner_feed_ids":null},"tools":["delete_partner_feeds"]},
|
|
435
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/preview","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/preview","handler":"PartnerFeedController.preview_partner_product_feeds","perms":["view_ui","manage_sale"],"params":{"candidates":null,"ids_only":null,"source":null}},
|
|
414
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/sync","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/products/sync","handler":"PartnerFeedController.sync_partner_product_feeds","perms":["view_ui","manage_sale"]},
|
|
415
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/:partner_feed_id/update","handler":"PartnerFeedController.update_partner_feed","perms":["view_ui","manage_sale"],"params":{"add_partner_product_feed_ids":null,"delete_partner_product_feed_ids":null,"partner_feed":null,"type":null}},
|
|
416
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/all","handler":"PartnerFeedController.get_partner_feeds","perms":["view_ui","manage_sale"],"params":{"status":null,"term":null,"type":null}},
|
|
417
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/auto_add_products","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/auto_add_products","handler":"PartnerFeedController.auto_add_products","perms":["view_ui","manage_sale"],"params":{"limit":null,"page":null,"partner_feed_id":null},"required":["page","partner_feed_id"]},
|
|
418
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/create","handler":"PartnerFeedController.create_partner_feed","perms":["view_ui","manage_sale"],"params":{"add_partner_product_feed_ids":null,"delete_partner_product_feed_ids":null,"partner_feed":null,"type":null}},
|
|
419
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/delete","handler":"PartnerFeedController.delete_partner_feeds","perms":["view_ui","manage_sale"],"params":{"partner_feed_ids":null}},
|
|
436
420
|
{"id":"get:/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/products","method":"GET","path":"/api/v1/dashboard/site/:site_id/sale_channels/partner_feeds/products","handler":"PartnerFeedController.get_products_by_category_ids","perms":["view_ui","manage_sale"],"params":{"category_ids":null}},
|
|
437
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/saved_filters","method":"GET","path":"/api/v1/dashboard/site/:site_id/saved_filters","handler":"SavedFilterController.index","params":{"table_key":null},"required":["table_key"]
|
|
438
|
-
{"id":"delete:/api/v1/dashboard/site/:site_id/saved_filters/:id","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/saved_filters/:id","handler":"SavedFilterController.delete"
|
|
439
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/saved_filters/:id/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/saved_filters/:id/update","handler":"SavedFilterController.update","params":{"saved_filter":["filters","for_all_employees","name"]},"required":["saved_filter"]
|
|
440
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/saved_filters/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/saved_filters/create","handler":"SavedFilterController.create","params":{"saved_filter":["filters","for_all_employees","name","table_key"]},"required":["saved_filter"]
|
|
441
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/send_email/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/send_email/all","handler":"SendEmailController.all"
|
|
442
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/send_email/save","method":"POST","path":"/api/v1/dashboard/site/:site_id/send_email/save","handler":"SendEmailController.save","params":{"email":null,"email_customer_order":null,"email_customer_recieve":null,"email_order_to_shop":null,"id":null}
|
|
421
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/saved_filters","method":"GET","path":"/api/v1/dashboard/site/:site_id/saved_filters","handler":"SavedFilterController.index","params":{"table_key":null},"required":["table_key"]},
|
|
422
|
+
{"id":"delete:/api/v1/dashboard/site/:site_id/saved_filters/:id","method":"DELETE","path":"/api/v1/dashboard/site/:site_id/saved_filters/:id","handler":"SavedFilterController.delete"},
|
|
423
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/saved_filters/:id/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/saved_filters/:id/update","handler":"SavedFilterController.update","params":{"saved_filter":["filters","for_all_employees","name"]},"required":["saved_filter"]},
|
|
424
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/saved_filters/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/saved_filters/create","handler":"SavedFilterController.create","params":{"saved_filter":["filters","for_all_employees","name","table_key"]},"required":["saved_filter"]},
|
|
425
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/send_email/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/send_email/all","handler":"SendEmailController.all"},
|
|
426
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/send_email/save","method":"POST","path":"/api/v1/dashboard/site/:site_id/send_email/save","handler":"SendEmailController.save","params":{"email":null,"email_customer_order":null,"email_customer_recieve":null,"email_order_to_shop":null,"id":null}},
|
|
443
427
|
{"id":"post:/api/v1/dashboard/site/:site_id/seos/custom_slug","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/custom_slug","handler":"SeoController.update_custom_slug","perms":["view_ui","manage_sale"]},
|
|
444
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/seos/redirect_urls/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/all","handler":"SeoController.get_redirect_urls","perms":["view_ui","manage_sale"],"params":{"term":null}
|
|
445
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/create","handler":"SeoController.create_redirect_url","perms":["view_ui","manage_sale"],"params":{"redirect_url":null}
|
|
446
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/delete","handler":"SeoController.delete_redirect_urls","perms":["view_ui","manage_sale"],"params":{"redirect_url_ids":null},"required":["redirect_url_ids"]
|
|
447
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/update","handler":"SeoController.update_redirect_url","perms":["view_ui","manage_sale"],"params":{"redirect_url":null}
|
|
448
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/settings/block_phone_number/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/all","handler":"SettingController.get_block_phone_numbers","params":{"term":null,"type":null}
|
|
449
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/block_phone_number/remove_all_block_phone_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/remove_all_block_phone_customers","handler":"SettingController.remove_all_block_phone_customers"
|
|
450
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/block_phone_number/upsert_block_phone_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/upsert_block_phone_customers","handler":"SettingController.upsert_block_phone_customers","params":{"phone_numbers":null}
|
|
451
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/settings/employee/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/employee/all","handler":"SitePermissionController.all"
|
|
452
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/change_permissions","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/change_permissions","handler":"SitePermissionController.change_permissions","params":{"site_permission":null}
|
|
453
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/delete_employees","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/delete_employees","handler":"SitePermissionController.delete_employees","params":{"site_permission_ids":null}
|
|
454
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/invite","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/invite","handler":"InvitationController.invite","params":{"email":null,"permission_role_id":null}
|
|
428
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/seos/redirect_urls/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/all","handler":"SeoController.get_redirect_urls","perms":["view_ui","manage_sale"],"params":{"term":null}},
|
|
429
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/create","handler":"SeoController.create_redirect_url","perms":["view_ui","manage_sale"],"params":{"redirect_url":null}},
|
|
430
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/delete","handler":"SeoController.delete_redirect_urls","perms":["view_ui","manage_sale"],"params":{"redirect_url_ids":null},"required":["redirect_url_ids"]},
|
|
431
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/seos/redirect_urls/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/seos/redirect_urls/update","handler":"SeoController.update_redirect_url","perms":["view_ui","manage_sale"],"params":{"redirect_url":null}},
|
|
432
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/settings/block_phone_number/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/all","handler":"SettingController.get_block_phone_numbers","params":{"term":null,"type":null}},
|
|
433
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/block_phone_number/remove_all_block_phone_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/remove_all_block_phone_customers","handler":"SettingController.remove_all_block_phone_customers"},
|
|
434
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/block_phone_number/upsert_block_phone_customers","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/block_phone_number/upsert_block_phone_customers","handler":"SettingController.upsert_block_phone_customers","params":{"phone_numbers":null}},
|
|
435
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/settings/employee/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/employee/all","handler":"SitePermissionController.all"},
|
|
436
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/change_permissions","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/change_permissions","handler":"SitePermissionController.change_permissions","params":{"site_permission":null}},
|
|
437
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/delete_employees","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/delete_employees","handler":"SitePermissionController.delete_employees","params":{"site_permission_ids":null}},
|
|
438
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/invite","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/invite","handler":"InvitationController.invite","params":{"email":null,"permission_role_id":null}},
|
|
455
439
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/employee/move_owner_permission","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/employee/move_owner_permission","handler":"SitePermissionController.move_owner_permission","params":{"site_permission_id":null}},
|
|
456
440
|
{"id":"get:/api/v1/dashboard/site/:site_id/settings/permission_role/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/permission_role/all","handler":"PermissionRoleController.all"},
|
|
457
441
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/permission_role/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/permission_role/create","handler":"PermissionRoleController.create","params":{"permission_role":null}},
|
|
458
442
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/permission_role/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/permission_role/delete","handler":"PermissionRoleController.delete","params":{"permission_role_ids":null}},
|
|
459
443
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/permission_role/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/permission_role/update","handler":"PermissionRoleController.update","params":{"permission_role":null}},
|
|
460
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/settings/price_contact/get","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/price_contact/get","handler":"SettingController.get_price_contacts","params":{"type":null}
|
|
461
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/price_contact/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/price_contact/update","handler":"SettingController.update_price_contact","params":{"category_ids":null,"product_ids":null,"type":null}
|
|
462
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/settings/product_measurement","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/product_measurement","handler":"SettingController.get_product_measurement"
|
|
463
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/product_measurement/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/product_measurement/update","handler":"SettingController.update_product_measurement","params":{"last_editor_id":null,"product_measurement":null}
|
|
464
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/settings/shipping","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/shipping","handler":"ShippingController.get"
|
|
444
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/settings/price_contact/get","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/price_contact/get","handler":"SettingController.get_price_contacts","params":{"type":null}},
|
|
445
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/price_contact/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/price_contact/update","handler":"SettingController.update_price_contact","params":{"category_ids":null,"product_ids":null,"type":null}},
|
|
446
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/settings/product_measurement","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/product_measurement","handler":"SettingController.get_product_measurement"},
|
|
447
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/product_measurement/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/product_measurement/update","handler":"SettingController.update_product_measurement","params":{"last_editor_id":null,"product_measurement":null}},
|
|
448
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/settings/shipping","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/shipping","handler":"ShippingController.get"},
|
|
465
449
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/create","handler":"ShippingController.create"},
|
|
466
450
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/fee_shipping","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/fee_shipping","handler":"ShippingController.calc_price_shipping","params":{"category_ids":null,"communes":null,"country":null,"currency":null,"districts":null,"payment_method":null,"province":null,"quantity":null,"shipping_fee_id":null,"total_price":null,"weight":null}},
|
|
467
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/update","handler":"ShippingController.update","params":{"idx":null}
|
|
451
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/update","handler":"ShippingController.update","params":{"idx":null}},
|
|
468
452
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/update_price_ship_order","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/update_price_ship_order","handler":"ShippingController.update_price_ship_order","params":{"id":null,"price_ship_orders":null}},
|
|
469
453
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/shipping/update_sources_address","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/shipping/update_sources_address","handler":"ShippingController.update_sources_address","params":{"id":null,"source_address":null}},
|
|
470
454
|
{"id":"get:/api/v1/dashboard/site/:site_id/settings/shop_sync_info","method":"GET","path":"/api/v1/dashboard/site/:site_id/settings/shop_sync_info","handler":"SettingController.get_shop_sync_info"},
|
|
@@ -475,23 +459,23 @@
|
|
|
475
459
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/update_setting_sync_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/update_setting_sync_pos","handler":"SettingController.update_setting_sync_pos","params":{"settings":null}},
|
|
476
460
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/update_shop_sync_info","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/update_shop_sync_info","handler":"SettingController.update_shop_sync_info","params":{"attrs":null}},
|
|
477
461
|
{"id":"post:/api/v1/dashboard/site/:site_id/settings/update_status_sync_pos","method":"POST","path":"/api/v1/dashboard/site/:site_id/settings/update_status_sync_pos","handler":"SettingController.update_status_sync_pos","params":{"is_syncing":null}},
|
|
478
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/site_utms/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/site_utms/all","handler":"SiteUtmController.get_site_utms","perms":["view_ui","manage_sale"],"params":{"end_time":null,"start_time":null,"term":null}
|
|
479
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/create","handler":"SiteUtmController.create_site_utm","perms":["view_ui","manage_sale"],"params":{"site_utm":null}
|
|
480
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/delete","handler":"SiteUtmController.delete_site_utms","perms":["view_ui","manage_sale"],"params":{"ids":null}
|
|
462
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/site_utms/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/site_utms/all","handler":"SiteUtmController.get_site_utms","perms":["view_ui","manage_sale"],"params":{"end_time":null,"start_time":null,"term":null}},
|
|
463
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/create","handler":"SiteUtmController.create_site_utm","perms":["view_ui","manage_sale"],"params":{"site_utm":null}},
|
|
464
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/delete","handler":"SiteUtmController.delete_site_utms","perms":["view_ui","manage_sale"],"params":{"ids":null}},
|
|
481
465
|
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/short_link","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/short_link","handler":"SiteUtmController.create_utm_short_link","perms":["view_ui","manage_sale"],"params":{"utm_id":null}},
|
|
482
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/update","handler":"SiteUtmController.update_site_utm","perms":["view_ui","manage_sale"],"params":{"site_utm":null}
|
|
483
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/subscriber/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/subscriber/all","handler":"SubscriberController.all","params":{"form_id":null,"term":null}
|
|
484
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/subscriber/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/subscriber/create","handler":"SubscriberController.create","params":{"aff_data":null,"detect_address":null}
|
|
485
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/subscriber/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/subscriber/delete","handler":"SubscriberController.delete","params":{"ids":null},"required":["ids"]
|
|
466
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/site_utms/update","method":"POST","path":"/api/v1/dashboard/site/:site_id/site_utms/update","handler":"SiteUtmController.update_site_utm","perms":["view_ui","manage_sale"],"params":{"site_utm":null}},
|
|
467
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/subscriber/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/subscriber/all","handler":"SubscriberController.all","params":{"form_id":null,"term":null}},
|
|
468
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/subscriber/create","method":"POST","path":"/api/v1/dashboard/site/:site_id/subscriber/create","handler":"SubscriberController.create","params":{"aff_data":null,"detect_address":null}},
|
|
469
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/subscriber/delete","method":"POST","path":"/api/v1/dashboard/site/:site_id/subscriber/delete","handler":"SubscriberController.delete","params":{"ids":null},"required":["ids"]},
|
|
486
470
|
{"id":"get:/api/v1/dashboard/site/:site_id/subscriber/export","method":"GET","path":"/api/v1/dashboard/site/:site_id/subscriber/export","handler":"SubscriberController.export","params":{"form_id":null,"from":null,"to":null}},
|
|
487
471
|
{"id":"get:/api/v1/dashboard/site/:site_id/subscriber/forms","method":"GET","path":"/api/v1/dashboard/site/:site_id/subscriber/forms","handler":"SubscriberController.forms"},
|
|
488
472
|
{"id":"post:/api/v1/dashboard/site/:site_id/subscriber/forms/update_sync_config","method":"POST","path":"/api/v1/dashboard/site/:site_id/subscriber/forms/update_sync_config","handler":"SubscriberController.update_form_sync_config","params":{"allow_sync_sub_form":null,"form_id":null,"tags_sub_form":null}},
|
|
489
|
-
{"id":"get:/api/v1/dashboard/site/:site_id/system_logs/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/system_logs/all","handler":"SystemLogController.get_system_logs","params":{"id":null,"type":null}
|
|
473
|
+
{"id":"get:/api/v1/dashboard/site/:site_id/system_logs/all","method":"GET","path":"/api/v1/dashboard/site/:site_id/system_logs/all","handler":"SystemLogController.get_system_logs","params":{"id":null,"type":null}},
|
|
490
474
|
{"id":"post:/api/v1/dashboard/site/:site_id/tags/check_tag_slug","method":"POST","path":"/api/v1/dashboard/site/:site_id/tags/check_tag_slug","handler":"ProductController.check_tag_slug","params":{"slug":null,"type":null}},
|
|
491
475
|
{"id":"get:/api/v1/dashboard/site/:site_id/tbp_connection_status","method":"GET","path":"/api/v1/dashboard/site/:site_id/tbp_connection_status","handler":"TiktokController.tbp_connection_status"},
|
|
492
476
|
{"id":"post:/api/v1/dashboard/site/:site_id/tbp_disconnect","method":"POST","path":"/api/v1/dashboard/site/:site_id/tbp_disconnect","handler":"TiktokController.tbp_disconnect"},
|
|
493
477
|
{"id":"get:/api/v1/dashboard/site/:site_id/tbp_external_data","method":"GET","path":"/api/v1/dashboard/site/:site_id/tbp_external_data","handler":"TiktokController.tbp_external_data"},
|
|
494
|
-
{"id":"post:/api/v1/dashboard/site/:site_id/update_payment_method","method":"POST","path":"/api/v1/dashboard/site/:site_id/update_payment_method","handler":"SiteController.update_payment_method","params":{"addi_payment_account":null,"by_ai":null,"category_ids":null,"changes":null,"domain":null,"filter":null,"global_sections":null,"global_sources":null,"id":null,"ids":null,"is_create_pos":null,"is_publish":null,"khqr_payment_account":null,"language":null,"languages":null,"limit":null,"mercadopago_payment_account":null,"momo_payment_account":null,"name":null,"onepay_payment_account":null,"page":null,"page_contents":null,"pages":null,"paykit_settings":null,"paymongo_payment_account":null,"paypal_settings":null,"paystack_payment_account":null,"persona_or_team":null,"settings":null,"slug":null,"status":null,"stripe_payment_account":null,"tag":null,"tag_ids":null,"term":null,"turn":null,"type":null,"
|
|
478
|
+
{"id":"post:/api/v1/dashboard/site/:site_id/update_payment_method","method":"POST","path":"/api/v1/dashboard/site/:site_id/update_payment_method","handler":"SiteController.update_payment_method","params":{"addi_payment_account":null,"by_ai":null,"category_ids":null,"changes":null,"domain":null,"filter":null,"global_sections":null,"global_sources":null,"id":null,"ids":null,"is_create_pos":null,"is_publish":null,"khqr_payment_account":null,"language":null,"languages":null,"limit":null,"mercadopago_payment_account":null,"momo_payment_account":null,"name":null,"onepay_payment_account":null,"page":null,"page_contents":null,"pages":null,"paykit_settings":null,"paymongo_payment_account":null,"paypal_settings":null,"paystack_payment_account":null,"persona_or_team":null,"settings":null,"slug":null,"status":null,"stripe_payment_account":null,"tag":null,"tag_ids":null,"term":null,"turn":null,"type":null,"vnpay_settings":null,"xendit_payment_account":null,"zalopay_payment_account":null}},
|
|
495
479
|
{"id":"post:/api/v1/dashboard/site/:site_id/update_site","method":"POST","path":"/api/v1/dashboard/site/:site_id/update_site","handler":"SiteController.update","params":{"auto_combine_customer_same_phone":null,"google_merchant_settings":null,"multiple_currency":null,"settings":null,"use_referral_code":null},"tools":["append_site_custom_code","update_site_custom_code","update_site_settings"]},
|
|
496
480
|
{"id":"post:/api/v1/dashboard/site/:site_id/variations/bulk_toggle_hidden","method":"POST","path":"/api/v1/dashboard/site/:site_id/variations/bulk_toggle_hidden","handler":"VariationController.bulk_toggle_hidden","params":{"attributes":null,"is_hidden":null,"product_ids":null}},
|
|
497
481
|
{"id":"get:/api/v1/dashboard/site/ai_usage","method":"GET","path":"/api/v1/dashboard/site/ai_usage","handler":"AgentController.ai_usage"},
|
|
@@ -500,7 +484,7 @@
|
|
|
500
484
|
{"id":"post:/api/v1/dashboard/site/chat_brief","method":"POST","path":"/api/v1/dashboard/site/chat_brief","handler":"AgentController.chat_brief","params":{"extracted_fields":null,"messages":null,"mode":null}},
|
|
501
485
|
{"id":"post:/api/v1/dashboard/site/chat_brief_landing","method":"POST","path":"/api/v1/dashboard/site/chat_brief_landing","handler":"AgentController.chat_brief_landing","params":{"extracted_fields":null,"messages":null,"mode":null}},
|
|
502
486
|
{"id":"get:/api/v1/dashboard/site/check_availability","method":"GET","path":"/api/v1/dashboard/site/check_availability","handler":"SiteController.check_availability","params":{"name":null,"slug":null}},
|
|
503
|
-
{"id":"post:/api/v1/dashboard/site/create","method":"POST","path":"/api/v1/dashboard/site/create","handler":"SiteController.create","params":{"
|
|
487
|
+
{"id":"post:/api/v1/dashboard/site/create","method":"POST","path":"/api/v1/dashboard/site/create","handler":"SiteController.create","params":{"by_ai":null,"name":null,"slug":null},"tools":["create_site"]},
|
|
504
488
|
{"id":"post:/api/v1/dashboard/site/create_ai","method":"POST","path":"/api/v1/dashboard/site/create_ai","handler":"AgentController.create_ai"},
|
|
505
489
|
{"id":"post:/api/v1/dashboard/site/create_global_sources","method":"POST","path":"/api/v1/dashboard/site/create_global_sources","handler":"AgentController.create_global_sources","params":{"extracted_fields":null,"image_url_map":null,"messages":null,"mode":null,"site_id":null,"theme_id":null}},
|
|
506
490
|
{"id":"post:/api/v1/dashboard/site/delete","method":"POST","path":"/api/v1/dashboard/site/delete","handler":"SiteController.delete","params":{"site_id":null,"status":null},"required":["site_id"]},
|
|
@@ -513,12 +497,12 @@
|
|
|
513
497
|
{"id":"get:/api/v1/dashboard/site/get_tag","method":"GET","path":"/api/v1/dashboard/site/get_tag","handler":"SiteController.get_tag","params":{"term":null},"required":["term"]},
|
|
514
498
|
{"id":"post:/api/v1/dashboard/site/import_default_site","method":"POST","path":"/api/v1/dashboard/site/import_default_site","handler":"SiteController.import_default_site"},
|
|
515
499
|
{"id":"post:/api/v1/dashboard/site/import_store","method":"POST","path":"/api/v1/dashboard/site/import_store","handler":"SiteController.import_store","params":{"file":null},"required":["file"]},
|
|
516
|
-
{"id":"post:/api/v1/dashboard/site/import_store_to_theme","method":"POST","path":"/api/v1/dashboard/site/import_store_to_theme","handler":"SiteController.import_store_to_theme","params":{"by_ai":null,"id":null,"is_create_pos":null,"name":null,"slug":null,"turn":null
|
|
517
|
-
{"id":"post:/api/v1/dashboard/site/invitations/accept","method":"POST","path":"/api/v1/dashboard/site/invitations/accept","handler":"InvitationController.accept","params":{"invitation_id":null}
|
|
518
|
-
{"id":"get:/api/v1/dashboard/site/invitations/all","method":"GET","path":"/api/v1/dashboard/site/invitations/all","handler":"InvitationController.all"
|
|
519
|
-
{"id":"post:/api/v1/dashboard/site/invitations/refuse","method":"POST","path":"/api/v1/dashboard/site/invitations/refuse","handler":"InvitationController.refuse","params":{"invitation_id":null}
|
|
520
|
-
{"id":"get:/api/v1/dashboard/site/notifications/all","method":"GET","path":"/api/v1/dashboard/site/notifications/all","handler":"NotificationController.get_notifications"
|
|
521
|
-
{"id":"post:/api/v1/dashboard/site/notifications/mark_as_read","method":"POST","path":"/api/v1/dashboard/site/notifications/mark_as_read","handler":"NotificationController.mark_as_read","params":{"notification_id":null}
|
|
500
|
+
{"id":"post:/api/v1/dashboard/site/import_store_to_theme","method":"POST","path":"/api/v1/dashboard/site/import_store_to_theme","handler":"SiteController.import_store_to_theme","params":{"by_ai":null,"id":null,"is_create_pos":null,"name":null,"slug":null,"turn":null},"required":["id","name"],"tools":["create_site_from_template"]},
|
|
501
|
+
{"id":"post:/api/v1/dashboard/site/invitations/accept","method":"POST","path":"/api/v1/dashboard/site/invitations/accept","handler":"InvitationController.accept","params":{"invitation_id":null}},
|
|
502
|
+
{"id":"get:/api/v1/dashboard/site/invitations/all","method":"GET","path":"/api/v1/dashboard/site/invitations/all","handler":"InvitationController.all"},
|
|
503
|
+
{"id":"post:/api/v1/dashboard/site/invitations/refuse","method":"POST","path":"/api/v1/dashboard/site/invitations/refuse","handler":"InvitationController.refuse","params":{"invitation_id":null}},
|
|
504
|
+
{"id":"get:/api/v1/dashboard/site/notifications/all","method":"GET","path":"/api/v1/dashboard/site/notifications/all","handler":"NotificationController.get_notifications"},
|
|
505
|
+
{"id":"post:/api/v1/dashboard/site/notifications/mark_as_read","method":"POST","path":"/api/v1/dashboard/site/notifications/mark_as_read","handler":"NotificationController.mark_as_read","params":{"notification_id":null}},
|
|
522
506
|
{"id":"get:/api/v1/dashboard/site/notify/all","method":"GET","path":"/api/v1/dashboard/site/notify/all","handler":"SystemLogController.log_expired_package"},
|
|
523
507
|
{"id":"post:/api/v1/dashboard/site/notify/update","method":"POST","path":"/api/v1/dashboard/site/notify/update","handler":"SystemLogController.update_status","params":{"notify_id":null}},
|
|
524
508
|
{"id":"post:/api/v1/dashboard/site/override_site","method":"POST","path":"/api/v1/dashboard/site/override_site","handler":"SiteController.override_site","params":{"file":null,"site_id":null},"required":["file","site_id"]},
|
|
@@ -528,89 +512,6 @@
|
|
|
528
512
|
{"id":"post:/api/v1/dashboard/site/restore_in_team","method":"POST","path":"/api/v1/dashboard/site/restore_in_team","handler":"SiteController.restore_in_team","params":{"ids":null}},
|
|
529
513
|
{"id":"get:/api/v1/dashboard/tinymce/get_key","method":"GET","path":"/api/v1/dashboard/tinymce/get_key","handler":"TinymceController.get_key"},
|
|
530
514
|
{"id":"post:/api/v1/dashboard/tinymce/lock_key","method":"POST","path":"/api/v1/dashboard/tinymce/lock_key","handler":"TinymceController.lock_key","params":{"key":null},"required":["key"]},
|
|
531
|
-
{"id":"post:/api/v1/editor_v2/import","method":"POST","path":"/api/v1/editor_v2/import","handler":"EditorV2.SiteController.import","params":{"name":null,"slug":null},"required":["name"]},
|
|
532
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/ai/image/edit","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/ai/image/edit","handler":"EditorV2.AiImageController.edit","params":{"action":null,"color":null,"image":null,"mask":null,"mode":null,"prompt":null}},
|
|
533
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/ai/image/enhance_prompt","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/ai/image/enhance_prompt","handler":"EditorV2.AiImageController.enhance_prompt","params":{"mode":null,"prompt":null}},
|
|
534
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/ai/image/generate","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/ai/image/generate","handler":"EditorV2.AiImageController.generate","params":{"dimension":null,"prompt":null,"reference_image":null,"style":null}},
|
|
535
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/ai/image/save","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/ai/image/save","handler":"EditorV2.AiImageController.save","params":{"image":null}},
|
|
536
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/ai/image/usage","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/ai/image/usage","handler":"EditorV2.AiImageController.usage"},
|
|
537
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/attributes","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/attributes","handler":"EditorV2.Bindings.AttributeController.index"},
|
|
538
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/attributes/:name","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/attributes/:name","handler":"EditorV2.Bindings.AttributeController.show"},
|
|
539
|
-
{"id":"put:/api/v1/editor_v2/sites/:site_id/bindings/attributes/:name","method":"PUT","path":"/api/v1/editor_v2/sites/:site_id/bindings/attributes/:name","handler":"EditorV2.Bindings.AttributeController.update_primary_attr"},
|
|
540
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/blogs","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/blogs","handler":"EditorV2.Bindings.BlogController.index","params":{"term":null}},
|
|
541
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/blogs/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/blogs/:id","handler":"EditorV2.Bindings.BlogController.show"},
|
|
542
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/blogs/by_ids","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/blogs/by_ids","handler":"EditorV2.Bindings.BlogController.by_ids","params":{"ids":null}},
|
|
543
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/categories","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/categories","handler":"EditorV2.Bindings.CategoryController.index","params":{"default_last":null,"preload_translations":null,"show_combo_as_product":null,"term":null,"tree":null}},
|
|
544
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/categories/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/categories/:id","handler":"EditorV2.Bindings.CategoryController.show"},
|
|
545
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/categories/all","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/categories/all","handler":"EditorV2.Bindings.CategoryController.all","params":{"default_last":null,"preload_translations":null,"show_combo_as_product":null,"term":null}},
|
|
546
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/categories/by_ids","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/categories/by_ids","handler":"EditorV2.Bindings.CategoryController.by_ids","params":{"ids":null}},
|
|
547
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/posts","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/posts","handler":"EditorV2.Bindings.PostController.index","params":{"pin_article_ids":null,"term":null}},
|
|
548
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/posts/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/posts/:id","handler":"EditorV2.Bindings.PostController.show"},
|
|
549
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/posts/by_category/:category_id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/posts/by_category/:category_id","handler":"EditorV2.Bindings.PostController.by_category","params":{"term":null}},
|
|
550
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/posts/by_ids","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/posts/by_ids","handler":"EditorV2.Bindings.PostController.by_ids","params":{"ids":null}},
|
|
551
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/products","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/products","handler":"EditorV2.Bindings.ProductController.index","params":{"is_published":null,"limit":null,"page":null,"term":null}},
|
|
552
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/products/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/products/:id","handler":"EditorV2.Bindings.ProductController.show"},
|
|
553
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/products/by_category/:category_id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/products/by_category/:category_id","handler":"EditorV2.Bindings.ProductController.by_category","params":{"is_published":null,"limit":null,"page":null,"term":null}},
|
|
554
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/products/by_ids","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/products/by_ids","handler":"EditorV2.Bindings.ProductController.by_ids","params":{"ids":null,"lang":null}},
|
|
555
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/bindings/sources","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/bindings/sources","handler":"EditorV2.Bindings.SourceController.index"},
|
|
556
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/duplicate","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/duplicate","handler":"EditorV2.SiteController.duplicate","params":{"name":null,"slug":null},"required":["name"]},
|
|
557
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/export","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/export","handler":"EditorV2.SiteController.export"},
|
|
558
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_nodes","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_nodes","handler":"EditorV2.GlobalNodeController.index","params":{"page_id":null,"type":null}},
|
|
559
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/global_nodes","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/global_nodes","handler":"EditorV2.GlobalNodeController.create"},
|
|
560
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/global_nodes/:id","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/:id","handler":"EditorV2.GlobalNodeController.delete"},
|
|
561
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_nodes/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/:id","handler":"EditorV2.GlobalNodeController.show"},
|
|
562
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/global_nodes/:id","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/:id","handler":"EditorV2.GlobalNodeController.update","params":{"name":null,"source":null,"type":null}},
|
|
563
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/global_nodes/:id/rename","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/:id/rename","handler":"EditorV2.GlobalNodeController.rename"},
|
|
564
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_nodes/:id/usage","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/:id/usage","handler":"EditorV2.GlobalNodeController.usage"},
|
|
565
|
-
{"id":"put:/api/v1/editor_v2/sites/:site_id/global_nodes/update-applied-pages","method":"PUT","path":"/api/v1/editor_v2/sites/:site_id/global_nodes/update-applied-pages","handler":"EditorV2.GlobalNodeController.update_applied_pages","params":{"id":null,"page_ids":null}},
|
|
566
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_sections","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_sections","handler":"EditorV2.GlobalSectionController.index"},
|
|
567
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_sections/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_sections/:id","handler":"EditorV2.GlobalSectionController.show"},
|
|
568
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/global_sections/:id","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/global_sections/:id","handler":"EditorV2.GlobalSectionController.update","params":{"source":null}},
|
|
569
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/global_sections/:id/rename","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/global_sections/:id/rename","handler":"EditorV2.GlobalSectionController.rename"},
|
|
570
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/global_sections/:id/usage","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/global_sections/:id/usage","handler":"EditorV2.GlobalSectionController.usage"},
|
|
571
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/node_data_commons","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons","handler":"EditorV2.NodeDataCommonController.index","params":{"page_id":null,"type":null}},
|
|
572
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/node_data_commons","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons","handler":"EditorV2.NodeDataCommonController.create"},
|
|
573
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","handler":"EditorV2.NodeDataCommonController.delete"},
|
|
574
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","handler":"EditorV2.NodeDataCommonController.show"},
|
|
575
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons/:id","handler":"EditorV2.NodeDataCommonController.update","params":{"source":null,"type":null}},
|
|
576
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/node_data_commons/:id/rename","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons/:id/rename","handler":"EditorV2.NodeDataCommonController.rename"},
|
|
577
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/node_data_commons/:id/usage","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/node_data_commons/:id/usage","handler":"EditorV2.NodeDataCommonController.usage"},
|
|
578
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/node_templates","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/node_templates","handler":"EditorV2.NodeTemplateController.index"},
|
|
579
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages","handler":"EditorV2.PageController.index"},
|
|
580
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages","handler":"EditorV2.PageController.create","params":{"type":null}},
|
|
581
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/pages/:id","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/pages/:id","handler":"EditorV2.PageController.delete"},
|
|
582
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/:id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/:id","handler":"EditorV2.PageController.show"},
|
|
583
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages/:id","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages/:id","handler":"EditorV2.PageController.update"},
|
|
584
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/:id/assignment","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/assignment","handler":"EditorV2.PageAssignmentController.show"},
|
|
585
|
-
{"id":"put:/api/v1/editor_v2/sites/:site_id/pages/:id/assignment","method":"PUT","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/assignment","handler":"EditorV2.PageAssignmentController.update","params":{"apply_type":null,"target_ids":null}},
|
|
586
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/pages/:id/meta","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/meta","handler":"EditorV2.PageController.update_meta"},
|
|
587
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/pages/:id/nodes/:node_id","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/nodes/:node_id","handler":"EditorV2.NodeController.delete"},
|
|
588
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/pages/:id/nodes/:node_id","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/nodes/:node_id","handler":"EditorV2.NodeController.update"},
|
|
589
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/:id/preview","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/preview","handler":"EditorV2.RenderController.preview"},
|
|
590
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/pages/:id/rename","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/rename","handler":"EditorV2.PageController.rename"},
|
|
591
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/:id/versions","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/versions","handler":"EditorV2.VersionController.index","params":{"limit":null,"page":null}},
|
|
592
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages/:id/versions","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/versions","handler":"EditorV2.VersionController.create","params":{"label":null}},
|
|
593
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/:id/versions/:version_id","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/versions/:version_id","handler":"EditorV2.VersionController.show"},
|
|
594
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages/:id/versions/:version_id/restore","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages/:id/versions/:version_id/restore","handler":"EditorV2.VersionController.restore"},
|
|
595
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages/init_default_pages","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages/init_default_pages","handler":"EditorV2.PageController.init_default_pages","params":{"pages":null},"required":["pages"]},
|
|
596
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/pages/save","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/pages/save","handler":"EditorV2.PageController.save_all","params":{"pages":null}},
|
|
597
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/pages/sources","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/pages/sources","handler":"EditorV2.PageController.sources","params":{"ids":null}},
|
|
598
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/publish","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/publish","handler":"EditorV2.SiteController.publish","params":{"slug":null,"theme_id":null}},
|
|
599
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/store_themes","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/store_themes","handler":"EditorV2.StoreThemeController.create"},
|
|
600
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/style_globals","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/style_globals","handler":"EditorV2.StyleGlobalController.delete_global_styling"},
|
|
601
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/style_globals","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/style_globals","handler":"EditorV2.StyleGlobalController.get_global_styling"},
|
|
602
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/style_globals","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/style_globals","handler":"EditorV2.StyleGlobalController.create_global_styling"},
|
|
603
|
-
{"id":"put:/api/v1/editor_v2/sites/:site_id/style_globals","method":"PUT","path":"/api/v1/editor_v2/sites/:site_id/style_globals","handler":"EditorV2.StyleGlobalController.update_global_styling"},
|
|
604
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/themes","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/themes","handler":"EditorV2.ThemeController.index"},
|
|
605
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/themes","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/themes","handler":"EditorV2.ThemeController.create","params":{"name":null,"store_theme_id":null},"required":["store_theme_id"]},
|
|
606
|
-
{"id":"delete:/api/v1/editor_v2/sites/:site_id/themes/:id","method":"DELETE","path":"/api/v1/editor_v2/sites/:site_id/themes/:id","handler":"EditorV2.ThemeController.delete"},
|
|
607
|
-
{"id":"patch:/api/v1/editor_v2/sites/:site_id/themes/:id","method":"PATCH","path":"/api/v1/editor_v2/sites/:site_id/themes/:id","handler":"EditorV2.ThemeController.update","params":{"name":null},"required":["name"]},
|
|
608
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/themes/:id/duplicate","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/themes/:id/duplicate","handler":"EditorV2.ThemeController.duplicate","params":{"name":null}},
|
|
609
|
-
{"id":"get:/api/v1/editor_v2/sites/:site_id/themes/:id/export","method":"GET","path":"/api/v1/editor_v2/sites/:site_id/themes/:id/export","handler":"EditorV2.ThemeController.export"},
|
|
610
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/themes/:id/publish","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/themes/:id/publish","handler":"EditorV2.ThemeController.publish"},
|
|
611
|
-
{"id":"post:/api/v1/editor_v2/sites/:site_id/themes/import","method":"POST","path":"/api/v1/editor_v2/sites/:site_id/themes/import","handler":"EditorV2.ThemeController.import","params":{"file":null,"name":null}},
|
|
612
|
-
{"id":"get:/api/v1/editor_v2/store_themes","method":"GET","path":"/api/v1/editor_v2/store_themes","handler":"EditorV2.StoreThemeController.index","params":{"limit":null,"page":null,"tag_ids":null,"term":null}},
|
|
613
|
-
{"id":"get:/api/v1/editor_v2/store_themes/tags","method":"GET","path":"/api/v1/editor_v2/store_themes/tags","handler":"EditorV2.StoreThemeController.tags"},
|
|
614
515
|
{"id":"post:/api/v1/external/oauth/request","method":"POST","path":"/api/v1/external/oauth/request","handler":"GatewayController.request","params":{"site_id":null},"required":["site_id"]},
|
|
615
516
|
{"id":"get:/api/v1/geo/communes","method":"GET","path":"/api/v1/geo/communes","handler":"GeoController.get_communes","params":{"country_code":null,"district_id":null}},
|
|
616
517
|
{"id":"get:/api/v1/geo/districts","method":"GET","path":"/api/v1/geo/districts","handler":"GeoController.get_districts","params":{"country_code":null,"province_id":null}},
|
|
@@ -624,7 +525,7 @@
|
|
|
624
525
|
{"id":"post:/api/v1/org/add_member","method":"POST","path":"/api/v1/org/add_member","handler":"OrganizationController.add_member","params":{"mail":null,"member_type_id":null,"status":null}},
|
|
625
526
|
{"id":"get:/api/v1/org/all_site_in_team","method":"GET","path":"/api/v1/org/all_site_in_team","handler":"OrganizationController.get_all_site_in_team","params":{"filter":null,"idtag":null,"limit":null,"page":null,"term":null}},
|
|
626
527
|
{"id":"post:/api/v1/org/create","method":"POST","path":"/api/v1/org/create","handler":"OrganizationController.create_organization","params":{"name":null},"required":["name"]},
|
|
627
|
-
{"id":"post:/api/v1/org/create_site","method":"POST","path":"/api/v1/org/create_site","handler":"SiteController.org_create","params":{"
|
|
528
|
+
{"id":"post:/api/v1/org/create_site","method":"POST","path":"/api/v1/org/create_site","handler":"SiteController.org_create","params":{"by_ai":null,"category_ids":null,"name":null,"slug":null,"tag_ids":null}},
|
|
628
529
|
{"id":"post:/api/v1/org/delete_member","method":"POST","path":"/api/v1/org/delete_member","handler":"OrganizationController.delete_member","params":{"account_id":null}},
|
|
629
530
|
{"id":"post:/api/v1/org/edit_member","method":"POST","path":"/api/v1/org/edit_member","handler":"OrganizationController.edit_member","params":{"account_id":null,"member_type":null,"org_id":null,"status":null}},
|
|
630
531
|
{"id":"post:/api/v1/org/edit_tag","method":"POST","path":"/api/v1/org/edit_tag","handler":"OrganizationController.edit_tag","params":{"id":null,"tag_ids":null}},
|
|
@@ -644,7 +545,7 @@
|
|
|
644
545
|
{"id":"post:/api/v1/site/:site_id/ai/image/generate","method":"POST","path":"/api/v1/site/:site_id/ai/image/generate","handler":"AiImageController.generate","params":{"dimension":null,"prompt":null,"reference_image":null,"style":null}},
|
|
645
546
|
{"id":"post:/api/v1/site/:site_id/ai/image/save","method":"POST","path":"/api/v1/site/:site_id/ai/image/save","handler":"AiImageController.save","params":{"image":null}},
|
|
646
547
|
{"id":"get:/api/v1/site/:site_id/ai/image/usage","method":"GET","path":"/api/v1/site/:site_id/ai/image/usage","handler":"AiImageController.usage"},
|
|
647
|
-
{"id":"get:/api/v1/site/:site_id/api_keys/all","method":"GET","path":"/api/v1/site/:site_id/api_keys/all","handler":"SiteController.get_api_keys_by_site_id"
|
|
548
|
+
{"id":"get:/api/v1/site/:site_id/api_keys/all","method":"GET","path":"/api/v1/site/:site_id/api_keys/all","handler":"SiteController.get_api_keys_by_site_id"},
|
|
648
549
|
{"id":"get:/api/v1/site/:site_id/bestseller_product","method":"GET","path":"/api/v1/site/:site_id/bestseller_product","handler":"BuildController.get_bestseller_product","params":{"dateRange":null,"lang":null,"limit":null,"page":null}},
|
|
649
550
|
{"id":"post:/api/v1/site/:site_id/cart/create_source_cart","method":"POST","path":"/api/v1/site/:site_id/cart/create_source_cart","handler":"GlobalSourceController.create_source_cart","params":{"source":null,"type":null},"tools":["create_global_source"]},
|
|
650
551
|
{"id":"get:/api/v1/site/:site_id/cart/get_source_cart","method":"GET","path":"/api/v1/site/:site_id/cart/get_source_cart","handler":"GlobalSourceController.get_source_cart","tools":["fetch_images_for_alt_fill","list_image_elements","scan_unique_images","set_image_alts"]},
|
|
@@ -675,27 +576,26 @@
|
|
|
675
576
|
{"id":"post:/api/v1/site/:site_id/global_source/create","method":"POST","path":"/api/v1/site/:site_id/global_source/create","handler":"GlobalSourceController.create_global_source","params":{"component":null,"source":null,"type":null},"tools":["create_global_source"]},
|
|
676
577
|
{"id":"post:/api/v1/site/:site_id/global_source/delete","method":"POST","path":"/api/v1/site/:site_id/global_source/delete","handler":"GlobalSourceController.delete_global_source","params":{"global_source_id":null},"tools":["delete_global_source"]},
|
|
677
578
|
{"id":"post:/api/v1/site/:site_id/global_source/update","method":"POST","path":"/api/v1/site/:site_id/global_source/update","handler":"GlobalSourceController.update_global_source","params":{"global_source_id":null,"source":null,"type":null},"tools":["set_image_alts","update_global_source","update_global_source_element","update_global_source_elements"]},
|
|
678
|
-
{"id":"get:/api/v1/site/:site_id/load_font_groups","method":"GET","path":"/api/v1/site/:site_id/load_font_groups","handler":"FontController.load_font_groups"
|
|
679
|
-
{"id":"get:/api/v1/site/:site_id/load_fonts","method":"GET","path":"/api/v1/site/:site_id/load_fonts","handler":"FontController.load_fonts"
|
|
579
|
+
{"id":"get:/api/v1/site/:site_id/load_font_groups","method":"GET","path":"/api/v1/site/:site_id/load_font_groups","handler":"FontController.load_font_groups"},
|
|
580
|
+
{"id":"get:/api/v1/site/:site_id/load_fonts","method":"GET","path":"/api/v1/site/:site_id/load_fonts","handler":"FontController.load_fonts"},
|
|
680
581
|
{"id":"post:/api/v1/site/:site_id/media/add_video","method":"POST","path":"/api/v1/site/:site_id/media/add_video","handler":"FolderController.add_media_to_videos","params":{"time":null}},
|
|
681
|
-
{"id":"get:/api/v1/site/:site_id/media/all","method":"GET","path":"/api/v1/site/:site_id/media/all","handler":"FolderController.get_all_by_folder_id","params":{"create_type":null,"folder_id":null,"is_trash":null,"keyword":null,"media_types":null,"order":null,"page":null,"page_size":null}
|
|
682
|
-
{"id":"get:/api/v1/site/:site_id/media/capacity","method":"GET","path":"/api/v1/site/:site_id/media/capacity","handler":"FolderController.get_capacity"
|
|
683
|
-
{"id":"get:/api/v1/site/:site_id/media/content","method":"GET","path":"/api/v1/site/:site_id/media/content","handler":"FolderController.get_content_by_folder_id","params":{"create_type":null,"folder_id":null,"is_trash":null,"keyword":null,"media_types":null,"order":null,"page":null,"page_size":null}
|
|
684
|
-
{"id":"post:/api/v1/site/:site_id/media/content/b64","method":"POST","path":"/api/v1/site/:site_id/media/content/b64","handler":"ContentController.upload_base64","params":{"base64":null,"content_type":null},"tools":["upload_images"
|
|
582
|
+
{"id":"get:/api/v1/site/:site_id/media/all","method":"GET","path":"/api/v1/site/:site_id/media/all","handler":"FolderController.get_all_by_folder_id","params":{"create_type":null,"folder_id":null,"is_trash":null,"keyword":null,"media_types":null,"order":null,"page":null,"page_size":null}},
|
|
583
|
+
{"id":"get:/api/v1/site/:site_id/media/capacity","method":"GET","path":"/api/v1/site/:site_id/media/capacity","handler":"FolderController.get_capacity"},
|
|
584
|
+
{"id":"get:/api/v1/site/:site_id/media/content","method":"GET","path":"/api/v1/site/:site_id/media/content","handler":"FolderController.get_content_by_folder_id","params":{"create_type":null,"folder_id":null,"is_trash":null,"keyword":null,"media_types":null,"order":null,"page":null,"page_size":null}},
|
|
585
|
+
{"id":"post:/api/v1/site/:site_id/media/content/b64","method":"POST","path":"/api/v1/site/:site_id/media/content/b64","handler":"ContentController.upload_base64","params":{"base64":null,"content_type":null},"tools":["upload_images"]},
|
|
685
586
|
{"id":"post:/api/v1/site/:site_id/media/content/create","method":"POST","path":"/api/v1/site/:site_id/media/content/create","handler":"ContentController.create_content","params":{"create_type":null,"is_synced_pos":null,"product_id":null}},
|
|
686
|
-
{"id":"post:/api/v1/site/:site_id/media/content/update","method":"POST","path":"/api/v1/site/:site_id/media/content/update","handler":"ContentController.update_content_by_id","params":{"id":null}
|
|
687
|
-
{"id":"post:/api/v1/site/:site_id/media/empty_trash","method":"POST","path":"/api/v1/site/:site_id/media/empty_trash","handler":"FolderController.empty_trash"
|
|
688
|
-
{"id":"get:/api/v1/site/:site_id/media/folder","method":"GET","path":"/api/v1/site/:site_id/media/folder","handler":"FolderController.get_folder","params":{"create_type":null,"folder_id":null,"
|
|
587
|
+
{"id":"post:/api/v1/site/:site_id/media/content/update","method":"POST","path":"/api/v1/site/:site_id/media/content/update","handler":"ContentController.update_content_by_id","params":{"id":null}},
|
|
588
|
+
{"id":"post:/api/v1/site/:site_id/media/empty_trash","method":"POST","path":"/api/v1/site/:site_id/media/empty_trash","handler":"FolderController.empty_trash"},
|
|
589
|
+
{"id":"get:/api/v1/site/:site_id/media/folder","method":"GET","path":"/api/v1/site/:site_id/media/folder","handler":"FolderController.get_folder","params":{"create_type":null,"folder_id":null,"is_special":null,"is_trash":null,"is_tree":null,"keyword":null,"order":null,"page":null,"page_size":null}},
|
|
689
590
|
{"id":"post:/api/v1/site/:site_id/media/folder/create","method":"POST","path":"/api/v1/site/:site_id/media/folder/create","handler":"FolderController.create_folder","params":{"create_type":null,"folder_id":null,"is_synced_pos":null,"name":null,"product_id":null}},
|
|
690
|
-
{"id":"post:/api/v1/site/:site_id/media/folder/update","method":"POST","path":"/api/v1/site/:site_id/media/folder/update","handler":"FolderController.update_folder_by_id","params":{"id":null}
|
|
691
|
-
{"id":"post:/api/v1/site/:site_id/media/upload_image_from_url","method":"POST","path":"/api/v1/site/:site_id/media/upload_image_from_url","handler":"ContentController.upload_image_from_url","params":{"url":null}},
|
|
591
|
+
{"id":"post:/api/v1/site/:site_id/media/folder/update","method":"POST","path":"/api/v1/site/:site_id/media/folder/update","handler":"FolderController.update_folder_by_id","params":{"id":null}},
|
|
692
592
|
{"id":"get:/api/v1/site/:site_id/media/videos_from_media","method":"GET","path":"/api/v1/site/:site_id/media/videos_from_media","handler":"FolderController.get_videos_was_uploaded_from_media","params":{"page":null,"page_size":null}},
|
|
693
593
|
{"id":"get:/api/v1/site/:site_id/order_transactions/all","method":"GET","path":"/api/v1/site/:site_id/order_transactions/all","handler":"OrderTransactionsController.all","params":{"end_time":null,"start_time":null,"type":null}},
|
|
694
594
|
{"id":"post:/api/v1/site/:site_id/page","method":"POST","path":"/api/v1/site/:site_id/page","handler":"PageController.create_page","params":{"by_ai":null,"name":null,"pages":null,"settings":null,"source":null,"type":null},"tools":["build_page","commit_page_draft","create_page"]},
|
|
695
595
|
{"id":"get:/api/v1/site/:site_id/page_contents","method":"GET","path":"/api/v1/site/:site_id/page_contents","handler":"PageController.page_contents","tools":["list_page_contents"]},
|
|
696
596
|
{"id":"get:/api/v1/site/:site_id/page_contents/count","method":"GET","path":"/api/v1/site/:site_id/page_contents/count","handler":"TranslationController.count"},
|
|
697
597
|
{"id":"post:/api/v1/site/:site_id/page_contents/page_content","method":"POST","path":"/api/v1/site/:site_id/page_contents/page_content","handler":"PageController.page_content","params":{"lang":null,"page_id":null},"required":["lang","page_id"],"tools":["list_page_contents","update_page_content"]},
|
|
698
|
-
{"id":"get:/api/v1/site/:site_id/page_versions/:page_id","method":"GET","path":"/api/v1/site/:site_id/page_versions/:page_id","handler":"PageController.get_page_versions","params":{"global_sources_id":null,"limit":null,"page":null,"type":null}
|
|
598
|
+
{"id":"get:/api/v1/site/:site_id/page_versions/:page_id","method":"GET","path":"/api/v1/site/:site_id/page_versions/:page_id","handler":"PageController.get_page_versions","params":{"global_sources_id":null,"limit":null,"page":null,"type":null}},
|
|
699
599
|
{"id":"get:/api/v1/site/:site_id/pages","method":"GET","path":"/api/v1/site/:site_id/pages","handler":"PageController.pages","tools":["add_section","fetch_images_for_alt_fill","list_image_elements","preview_page","scan_unique_images","set_image_alts"]},
|
|
700
600
|
{"id":"get:/api/v1/site/:site_id/partner_service/deviant_art/folders","method":"GET","path":"/api/v1/site/:site_id/partner_service/deviant_art/folders","handler":"PartnerServiceController.get_deviant_art_folders"},
|
|
701
601
|
{"id":"get:/api/v1/site/:site_id/partner_service/deviant_art/gallery","method":"GET","path":"/api/v1/site/:site_id/partner_service/deviant_art/gallery","handler":"PartnerServiceController.get_deviant_art_gallery","params":{"folder_id":null}},
|
|
@@ -717,20 +617,20 @@
|
|
|
717
617
|
{"id":"get:/api/v1/site/:site_id/promotional_products","method":"GET","path":"/api/v1/site/:site_id/promotional_products","handler":"BuildController.get_promotional_products","params":{"lang":null,"limit":null,"page":null,"promotion_id":null}},
|
|
718
618
|
{"id":"get:/api/v1/site/:site_id/promotionals_for_product","method":"GET","path":"/api/v1/site/:site_id/promotionals_for_product","handler":"ProductController.get_promotionals_for_product","params":{"product_id":null},"required":["product_id"]},
|
|
719
619
|
{"id":"post:/api/v1/site/:site_id/publish","method":"POST","path":"/api/v1/site/:site_id/publish","handler":"SiteController.publish"},
|
|
720
|
-
{"id":"get:/api/v1/site/:site_id/publish_histories","method":"GET","path":"/api/v1/site/:site_id/publish_histories","handler":"SiteController.get_publish_histories_by_site_id","params":{"currency":null,"lang":null}
|
|
620
|
+
{"id":"get:/api/v1/site/:site_id/publish_histories","method":"GET","path":"/api/v1/site/:site_id/publish_histories","handler":"SiteController.get_publish_histories_by_site_id","params":{"currency":null,"lang":null}},
|
|
721
621
|
{"id":"get:/api/v1/site/:site_id/publish_newest","method":"GET","path":"/api/v1/site/:site_id/publish_newest","handler":"SiteController.get_publish_newest_by_site_id","params":{"currency":null,"lang":null}},
|
|
722
|
-
{"id":"get:/api/v1/site/:site_id/pwa","method":"GET","path":"/api/v1/site/:site_id/pwa","handler":"PwaController.get"
|
|
723
|
-
{"id":"post:/api/v1/site/:site_id/pwa/upsert","method":"POST","path":"/api/v1/site/:site_id/pwa/upsert","handler":"PwaController.save"
|
|
622
|
+
{"id":"get:/api/v1/site/:site_id/pwa","method":"GET","path":"/api/v1/site/:site_id/pwa","handler":"PwaController.get"},
|
|
623
|
+
{"id":"post:/api/v1/site/:site_id/pwa/upsert","method":"POST","path":"/api/v1/site/:site_id/pwa/upsert","handler":"PwaController.save"},
|
|
724
624
|
{"id":"get:/api/v1/site/:site_id/remaining_amount_package_by_site_id","method":"GET","path":"/api/v1/site/:site_id/remaining_amount_package_by_site_id","handler":"SubscriptionPackageController.remaining_amount_package","params":{"upgrade_from":null}},
|
|
725
|
-
{"id":"delete:/api/v1/site/:site_id/remove_font","method":"DELETE","path":"/api/v1/site/:site_id/remove_font","handler":"FontController.remove_font","params":{"id":null},"required":["id"]
|
|
726
|
-
{"id":"delete:/api/v1/site/:site_id/remove_font_groups","method":"DELETE","path":"/api/v1/site/:site_id/remove_font_groups","handler":"FontController.remove_font_group","params":{"id":null}
|
|
625
|
+
{"id":"delete:/api/v1/site/:site_id/remove_font","method":"DELETE","path":"/api/v1/site/:site_id/remove_font","handler":"FontController.remove_font","params":{"id":null},"required":["id"]},
|
|
626
|
+
{"id":"delete:/api/v1/site/:site_id/remove_font_groups","method":"DELETE","path":"/api/v1/site/:site_id/remove_font_groups","handler":"FontController.remove_font_group","params":{"id":null}},
|
|
727
627
|
{"id":"delete:/api/v1/site/:site_id/remove_theme","method":"DELETE","path":"/api/v1/site/:site_id/remove_theme","handler":"SiteStyleController.remove_theme","params":{"id":null}},
|
|
728
628
|
{"id":"post:/api/v1/site/:site_id/request_subscription_otp","method":"POST","path":"/api/v1/site/:site_id/request_subscription_otp","handler":"SubscriptionPackageController.request_otp"},
|
|
729
629
|
{"id":"get:/api/v1/site/:site_id/ribbons/all","method":"GET","path":"/api/v1/site/:site_id/ribbons/all","handler":"ProductController.get_all_ribbons"},
|
|
730
630
|
{"id":"post:/api/v1/site/:site_id/save","method":"POST","path":"/api/v1/site/:site_id/save","handler":"SiteController.save","params":{"changes":null,"domain":null,"global_sections":null,"global_sources":null,"is_publish":null,"page_contents":null,"pages":null,"settings":null}},
|
|
731
631
|
{"id":"post:/api/v1/site/:site_id/set_theme","method":"POST","path":"/api/v1/site/:site_id/set_theme","handler":"SiteStyleController.set_theme","params":{"id":null}},
|
|
732
632
|
{"id":"get:/api/v1/site/:site_id/similar_product","method":"GET","path":"/api/v1/site/:site_id/similar_product","handler":"BuildController.get_similar_product","params":{"lang":null,"limit":null,"page":null,"product_id":null}},
|
|
733
|
-
{"id":"get:/api/v1/site/:site_id/tags/article_preview","method":"GET","path":"/api/v1/site/:site_id/tags/article_preview","handler":"ArticleController.get_preview_tags","params":{"article_id":null}},
|
|
633
|
+
{"id":"get:/api/v1/site/:site_id/tags/article_preview","method":"GET","path":"/api/v1/site/:site_id/tags/article_preview","handler":"ArticleController.get_preview_tags","params":{"article_id":null,"content":null,"snapshot_type":null}},
|
|
734
634
|
{"id":"get:/api/v1/site/:site_id/tags/blog_preview","method":"GET","path":"/api/v1/site/:site_id/tags/blog_preview","handler":"BlogCategoryController.get_preview_tags","params":{"blog_cate_id":null}},
|
|
735
635
|
{"id":"get:/api/v1/site/:site_id/tags/product_preview","method":"GET","path":"/api/v1/site/:site_id/tags/product_preview","handler":"ProductController.get_preview_tags","params":{"product_id":null,"type":null}},
|
|
736
636
|
{"id":"get:/api/v1/site/:site_id/themes","method":"GET","path":"/api/v1/site/:site_id/themes","handler":"SiteStyleController.get_themes","tools":["list_themes"]},
|
|
@@ -741,10 +641,10 @@
|
|
|
741
641
|
{"id":"post:/api/v1/site/:site_id/update_conversion_api","method":"POST","path":"/api/v1/site/:site_id/update_conversion_api","handler":"TrackingController.update_conversion_api","params":{"fb_conversion_api":null,"tiktok_conversion_api":null}},
|
|
742
642
|
{"id":"post:/api/v1/site/:site_id/update_domain","method":"POST","path":"/api/v1/site/:site_id/update_domain","handler":"SiteController.update_domain"},
|
|
743
643
|
{"id":"post:/api/v1/site/:site_id/update_font_group","method":"POST","path":"/api/v1/site/:site_id/update_font_group","handler":"FontController.update_font_group","params":{"name":null}},
|
|
744
|
-
{"id":"post:/api/v1/site/:site_id/update_payment_method","method":"POST","path":"/api/v1/site/:site_id/update_payment_method","handler":"SiteController.update_payment_method","params":{"addi_payment_account":null,"by_ai":null,"category_ids":null,"changes":null,"domain":null,"filter":null,"global_sections":null,"global_sources":null,"id":null,"ids":null,"is_create_pos":null,"is_publish":null,"khqr_payment_account":null,"language":null,"languages":null,"limit":null,"mercadopago_payment_account":null,"momo_payment_account":null,"name":null,"onepay_payment_account":null,"page":null,"page_contents":null,"pages":null,"paykit_settings":null,"paymongo_payment_account":null,"paypal_settings":null,"paystack_payment_account":null,"persona_or_team":null,"settings":null,"slug":null,"status":null,"stripe_payment_account":null,"tag":null,"tag_ids":null,"term":null,"turn":null,"type":null,"
|
|
644
|
+
{"id":"post:/api/v1/site/:site_id/update_payment_method","method":"POST","path":"/api/v1/site/:site_id/update_payment_method","handler":"SiteController.update_payment_method","params":{"addi_payment_account":null,"by_ai":null,"category_ids":null,"changes":null,"domain":null,"filter":null,"global_sections":null,"global_sources":null,"id":null,"ids":null,"is_create_pos":null,"is_publish":null,"khqr_payment_account":null,"language":null,"languages":null,"limit":null,"mercadopago_payment_account":null,"momo_payment_account":null,"name":null,"onepay_payment_account":null,"page":null,"page_contents":null,"pages":null,"paykit_settings":null,"paymongo_payment_account":null,"paypal_settings":null,"paystack_payment_account":null,"persona_or_team":null,"settings":null,"slug":null,"status":null,"stripe_payment_account":null,"tag":null,"tag_ids":null,"term":null,"turn":null,"type":null,"vnpay_settings":null,"xendit_payment_account":null,"zalopay_payment_account":null}},
|
|
745
645
|
{"id":"post:/api/v1/site/:site_id/update_site","method":"POST","path":"/api/v1/site/:site_id/update_site","handler":"SiteController.update","params":{"auto_combine_customer_same_phone":null,"google_merchant_settings":null,"multiple_currency":null,"settings":null,"use_referral_code":null}},
|
|
746
|
-
{"id":"post:/api/v1/site/:site_id/update_site_name","method":"POST","path":"/api/v1/site/:site_id/update_site_name","handler":"SiteController.update_site_name","params":{"name":null}
|
|
747
|
-
{"id":"post:/api/v1/site/:site_id/update_slug_name","method":"POST","path":"/api/v1/site/:site_id/update_slug_name","handler":"SiteController.update_slug_name","params":{"slug":null}
|
|
646
|
+
{"id":"post:/api/v1/site/:site_id/update_site_name","method":"POST","path":"/api/v1/site/:site_id/update_site_name","handler":"SiteController.update_site_name","params":{"name":null}},
|
|
647
|
+
{"id":"post:/api/v1/site/:site_id/update_slug_name","method":"POST","path":"/api/v1/site/:site_id/update_slug_name","handler":"SiteController.update_slug_name","params":{"slug":null}},
|
|
748
648
|
{"id":"post:/api/v1/site/:site_id/update_subscription_package","method":"POST","path":"/api/v1/site/:site_id/update_subscription_package","handler":"SubscriptionPackageController.update_subscription_package","params":{"attrs":null,"id":null}},
|
|
749
649
|
{"id":"post:/api/v1/site/:site_id/update_theme","method":"POST","path":"/api/v1/site/:site_id/update_theme","handler":"SiteStyleController.update_theme","params":{"id":null}},
|
|
750
650
|
{"id":"get:/api/v1/site/:site_id/warehouse","method":"GET","path":"/api/v1/site/:site_id/warehouse","handler":"WarehouseController.get_warehouses_by_site_id"},
|