hap-cli 0.6.9__tar.gz → 0.6.10__tar.gz
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.
- hap_cli-0.6.10/MANIFEST.in +13 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/PKG-INFO +1 -1
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/__init__.py +1 -1
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/PKG-INFO +1 -1
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/SOURCES.txt +29 -1
- hap_cli-0.6.10/sources/v3-api-schema/INDEX.json +262 -0
- hap_cli-0.6.10/sources/v3-api-schema/add_member_to_role.yaml +197 -0
- hap_cli-0.6.10/sources/v3-api-schema/batch_delete_records.yaml +172 -0
- hap_cli-0.6.10/sources/v3-api-schema/create_optionset.yaml +205 -0
- hap_cli-0.6.10/sources/v3-api-schema/create_role.yaml +552 -0
- hap_cli-0.6.10/sources/v3-api-schema/delete_optionset.yaml +135 -0
- hap_cli-0.6.10/sources/v3-api-schema/delete_record.yaml +165 -0
- hap_cli-0.6.10/sources/v3-api-schema/delete_role.yaml +136 -0
- hap_cli-0.6.10/sources/v3-api-schema/delete_worksheet.yaml +133 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_app_info.yaml +275 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_app_knowledge_list.yaml +154 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_app_worksheets_list.yaml +162 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_optionset_list.yaml +238 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_details.yaml +215 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_discussions.yaml +336 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_list.yaml +395 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_logs.yaml +289 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_pivot_data.yaml +443 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_relations.yaml +206 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_record_share_link.yaml +170 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_regions.yaml +189 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_role_details.yaml +460 -0
- hap_cli-0.6.10/sources/v3-api-schema/get_role_list.yaml +256 -0
- hap_cli-0.6.10/sources/v3-api-schema/knowledge_search.yaml +268 -0
- hap_cli-0.6.10/sources/v3-api-schema/leave_all_roles.yaml +133 -0
- hap_cli-0.6.10/sources/v3-api-schema/remove_member_from_role.yaml +173 -0
- hap_cli-0.6.10/sources/v3-api-schema/update_optionset.yaml +205 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/README.md +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/README.md +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/README_CN.md +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/app_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/auth_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/calendar_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/chart_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/chat_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/chatbot_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/config_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/contact_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/department_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/group_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/icon_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/instance_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/node_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/optionset_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/page_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/post_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/record_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/region_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/role_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/v3_registry.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/workflow_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/commands/worksheet_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/context.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/action_spec_adapter.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/app.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/auth.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/calendar_mod.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/chart.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/chat.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/chatbot.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/contact.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/control_type_codes.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/department.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/field_normalizer.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/field_spec_adapter.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/filter_translator.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/flow_node.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/global_meta.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/group.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/icon_index.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/instance.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/logger.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/optionset.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/page.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/post.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/record.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/response_crypto.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/role.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/session.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/token_crypto.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/v3/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/v3/dispatcher.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/v3/render.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/v3/schema.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/view_spec_adapter.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/workflow.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/worksheet.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/core/worksheet_templates.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/hap_cli.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/i18n.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/locale/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/locale/messages.json +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/locale/messages.schema.json +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/conftest.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_auth_prerelease.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_chart.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_config_cmd.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_core.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_full_e2e.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_global_meta.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_i18n.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_approval.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_calendar.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_destructive.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_misc.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_post.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_social.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_v3.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_workflow.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_integration_worksheet_extra.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_org_id_cli.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_org_id_docs.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_parameter_conventions.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_parameter_mapping_registry.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_v3_api_schema_loader.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_v3_dispatcher.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_v3_registry_coverage.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_v3_session.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/tests/test_v3_yaml_translation.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/utils/__init__.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/utils/formatting.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/utils/options.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli/utils/parameter_mapping.py +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/dependency_links.txt +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/entry_points.txt +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/requires.txt +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/hap_cli.egg-info/top_level.txt +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/setup.cfg +0 -0
- {hap_cli-0.6.9 → hap_cli-0.6.10}/setup.py +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# V3 OpenAPI schemas live at repo-root sources/v3-api-schema/ (canonical for
|
|
2
|
+
# development). They must be shipped in the sdist so that wheel-from-sdist
|
|
3
|
+
# builds (e.g. `python -m build`) can run setup.py's _CopyV3Schemas step,
|
|
4
|
+
# which relocates them into hap_cli/sources/v3-api-schema/ for the runtime
|
|
5
|
+
# loader (hap_cli/core/v3/schema.py). Without this, the sdist drops the
|
|
6
|
+
# directory and `hap --version` fails with V3SchemaError at import time.
|
|
7
|
+
recursive-include sources/v3-api-schema *.yaml
|
|
8
|
+
include sources/v3-api-schema/INDEX.json
|
|
9
|
+
|
|
10
|
+
# Package data shipped inside the wheel.
|
|
11
|
+
include hap_cli/README.md
|
|
12
|
+
include hap_cli/README_CN.md
|
|
13
|
+
recursive-include hap_cli/locale *.json
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
MANIFEST.in
|
|
1
2
|
README.md
|
|
2
3
|
setup.py
|
|
3
4
|
hap_cli/README.md
|
|
@@ -105,4 +106,31 @@ hap_cli/tests/test_v3_yaml_translation.py
|
|
|
105
106
|
hap_cli/utils/__init__.py
|
|
106
107
|
hap_cli/utils/formatting.py
|
|
107
108
|
hap_cli/utils/options.py
|
|
108
|
-
hap_cli/utils/parameter_mapping.py
|
|
109
|
+
hap_cli/utils/parameter_mapping.py
|
|
110
|
+
sources/v3-api-schema/INDEX.json
|
|
111
|
+
sources/v3-api-schema/add_member_to_role.yaml
|
|
112
|
+
sources/v3-api-schema/batch_delete_records.yaml
|
|
113
|
+
sources/v3-api-schema/create_optionset.yaml
|
|
114
|
+
sources/v3-api-schema/create_role.yaml
|
|
115
|
+
sources/v3-api-schema/delete_optionset.yaml
|
|
116
|
+
sources/v3-api-schema/delete_record.yaml
|
|
117
|
+
sources/v3-api-schema/delete_role.yaml
|
|
118
|
+
sources/v3-api-schema/delete_worksheet.yaml
|
|
119
|
+
sources/v3-api-schema/get_app_info.yaml
|
|
120
|
+
sources/v3-api-schema/get_app_knowledge_list.yaml
|
|
121
|
+
sources/v3-api-schema/get_app_worksheets_list.yaml
|
|
122
|
+
sources/v3-api-schema/get_optionset_list.yaml
|
|
123
|
+
sources/v3-api-schema/get_record_details.yaml
|
|
124
|
+
sources/v3-api-schema/get_record_discussions.yaml
|
|
125
|
+
sources/v3-api-schema/get_record_list.yaml
|
|
126
|
+
sources/v3-api-schema/get_record_logs.yaml
|
|
127
|
+
sources/v3-api-schema/get_record_pivot_data.yaml
|
|
128
|
+
sources/v3-api-schema/get_record_relations.yaml
|
|
129
|
+
sources/v3-api-schema/get_record_share_link.yaml
|
|
130
|
+
sources/v3-api-schema/get_regions.yaml
|
|
131
|
+
sources/v3-api-schema/get_role_details.yaml
|
|
132
|
+
sources/v3-api-schema/get_role_list.yaml
|
|
133
|
+
sources/v3-api-schema/knowledge_search.yaml
|
|
134
|
+
sources/v3-api-schema/leave_all_roles.yaml
|
|
135
|
+
sources/v3-api-schema/remove_member_from_role.yaml
|
|
136
|
+
sources/v3-api-schema/update_optionset.yaml
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"category": "角色",
|
|
4
|
+
"file": "add_member_to_role.yaml",
|
|
5
|
+
"method": "POST",
|
|
6
|
+
"path": "/v3/app/roles/{role_id}/members",
|
|
7
|
+
"source_url": "https://apifox.mingdao.com/add_member_to_role.md",
|
|
8
|
+
"summary": "添加角色成员",
|
|
9
|
+
"title": "添加角色成员",
|
|
10
|
+
"tool": "add_member_to_role"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"category": "工作表行记录",
|
|
14
|
+
"file": "batch_delete_records.yaml",
|
|
15
|
+
"method": "DELETE",
|
|
16
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/batch",
|
|
17
|
+
"source_url": "https://apifox.mingdao.com/batch_delete_records.md",
|
|
18
|
+
"summary": "批量删除行记录",
|
|
19
|
+
"title": "批量删除行记录",
|
|
20
|
+
"tool": "batch_delete_records"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"category": "选项集",
|
|
24
|
+
"file": "create_optionset.yaml",
|
|
25
|
+
"method": "POST",
|
|
26
|
+
"path": "/v3/app/optionsets",
|
|
27
|
+
"source_url": "https://apifox.mingdao.com/create_optionset.md",
|
|
28
|
+
"summary": "创建选项集",
|
|
29
|
+
"title": "创建选项集",
|
|
30
|
+
"tool": "create_optionset"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"category": "角色",
|
|
34
|
+
"file": "create_role.yaml",
|
|
35
|
+
"method": "POST",
|
|
36
|
+
"path": "/v3/app/roles",
|
|
37
|
+
"source_url": "https://apifox.mingdao.com/create_role.md",
|
|
38
|
+
"summary": "创建角色",
|
|
39
|
+
"title": "创建角色",
|
|
40
|
+
"tool": "create_role"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"category": "选项集",
|
|
44
|
+
"file": "delete_optionset.yaml",
|
|
45
|
+
"method": "DELETE",
|
|
46
|
+
"path": "/v3/app/optionsets/{optionset_id}",
|
|
47
|
+
"source_url": "https://apifox.mingdao.com/delete_optionset.md",
|
|
48
|
+
"summary": "停用选项集",
|
|
49
|
+
"title": "停用选项集",
|
|
50
|
+
"tool": "delete_optionset"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"category": "工作表行记录",
|
|
54
|
+
"file": "delete_record.yaml",
|
|
55
|
+
"method": "DELETE",
|
|
56
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}",
|
|
57
|
+
"source_url": "https://apifox.mingdao.com/delete_record.md",
|
|
58
|
+
"summary": "删除行记录",
|
|
59
|
+
"title": "删除行记录",
|
|
60
|
+
"tool": "delete_record"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"category": "角色",
|
|
64
|
+
"file": "delete_role.yaml",
|
|
65
|
+
"method": "DELETE",
|
|
66
|
+
"path": "/v3/app/roles/{role_id}",
|
|
67
|
+
"source_url": "https://apifox.mingdao.com/delete_role.md",
|
|
68
|
+
"summary": "删除角色",
|
|
69
|
+
"title": "删除角色",
|
|
70
|
+
"tool": "delete_role"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"category": "工作表",
|
|
74
|
+
"file": "delete_worksheet.yaml",
|
|
75
|
+
"method": "DELETE",
|
|
76
|
+
"path": "/v3/app/worksheets/{worksheet_id}",
|
|
77
|
+
"source_url": "https://apifox.mingdao.com/delete_worksheet.md",
|
|
78
|
+
"summary": "删除工作表",
|
|
79
|
+
"title": "删除工作表",
|
|
80
|
+
"tool": "delete_worksheet"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"category": "应用",
|
|
84
|
+
"file": "get_app_info.yaml",
|
|
85
|
+
"method": "GET",
|
|
86
|
+
"path": "/v3/app",
|
|
87
|
+
"source_url": "https://apifox.mingdao.com/get_app_info.md",
|
|
88
|
+
"summary": "获取应用信息",
|
|
89
|
+
"title": "获取应用信息",
|
|
90
|
+
"tool": "get_app_info"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"category": "知识库",
|
|
94
|
+
"file": "get_app_knowledge_list.yaml",
|
|
95
|
+
"method": "POST",
|
|
96
|
+
"path": "/v3/app/knowledge/list",
|
|
97
|
+
"source_url": "https://apifox.mingdao.com/get_app_knowledge_list.md",
|
|
98
|
+
"summary": "获取应用下知识库列表",
|
|
99
|
+
"title": "获取应用下知识库列表",
|
|
100
|
+
"tool": "get_app_knowledge_list"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"category": "工作表",
|
|
104
|
+
"file": "get_app_worksheets_list.yaml",
|
|
105
|
+
"method": "POST",
|
|
106
|
+
"path": "/v3/app/worksheets/list",
|
|
107
|
+
"source_url": "https://apifox.mingdao.com/get_app_worksheets_list.md",
|
|
108
|
+
"summary": "获取工作表列表",
|
|
109
|
+
"title": "获取工作表列表",
|
|
110
|
+
"tool": "get_app_worksheets_list"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"category": "选项集",
|
|
114
|
+
"file": "get_optionset_list.yaml",
|
|
115
|
+
"method": "GET",
|
|
116
|
+
"path": "/v3/app/optionsets",
|
|
117
|
+
"source_url": "https://apifox.mingdao.com/get_optionset_list.md",
|
|
118
|
+
"summary": "获取选项集列表",
|
|
119
|
+
"title": "获取选项集列表",
|
|
120
|
+
"tool": "get_optionset_list"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"category": "工作表行记录",
|
|
124
|
+
"file": "get_record_details.yaml",
|
|
125
|
+
"method": "GET",
|
|
126
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}",
|
|
127
|
+
"source_url": "https://apifox.mingdao.com/get_record_details.md",
|
|
128
|
+
"summary": "获取行记录详情",
|
|
129
|
+
"title": "获取行记录详情",
|
|
130
|
+
"tool": "get_record_details"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"category": "工作表行记录",
|
|
134
|
+
"file": "get_record_discussions.yaml",
|
|
135
|
+
"method": "GET",
|
|
136
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}/discussions",
|
|
137
|
+
"source_url": "https://apifox.mingdao.com/get_record_discussions.md",
|
|
138
|
+
"summary": "获取行记录讨论",
|
|
139
|
+
"title": "获取行记录讨论",
|
|
140
|
+
"tool": "get_record_discussions"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"category": "工作表行记录",
|
|
144
|
+
"file": "get_record_list.yaml",
|
|
145
|
+
"method": "POST",
|
|
146
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/list",
|
|
147
|
+
"source_url": "https://apifox.mingdao.com/get_record_list.md",
|
|
148
|
+
"summary": "获取行记录列表",
|
|
149
|
+
"title": "获取行记录列表",
|
|
150
|
+
"tool": "get_record_list"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"category": "工作表行记录",
|
|
154
|
+
"file": "get_record_logs.yaml",
|
|
155
|
+
"method": "GET",
|
|
156
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}/logs",
|
|
157
|
+
"source_url": "https://apifox.mingdao.com/get_record_logs.md",
|
|
158
|
+
"summary": "获取行记录日志",
|
|
159
|
+
"title": "获取行记录日志",
|
|
160
|
+
"tool": "get_record_logs"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"category": "工作表行记录",
|
|
164
|
+
"file": "get_record_pivot_data.yaml",
|
|
165
|
+
"method": "POST",
|
|
166
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/pivot",
|
|
167
|
+
"source_url": "https://apifox.mingdao.com/get_record_pivot_data.md",
|
|
168
|
+
"summary": "获取行记录透视数据",
|
|
169
|
+
"title": "获取行记录透视数据",
|
|
170
|
+
"tool": "get_record_pivot_data"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"category": "工作表行记录",
|
|
174
|
+
"file": "get_record_relations.yaml",
|
|
175
|
+
"method": "GET",
|
|
176
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}/relations/{field}",
|
|
177
|
+
"source_url": "https://apifox.mingdao.com/get_record_relations.md",
|
|
178
|
+
"summary": "获取关联记录",
|
|
179
|
+
"title": "获取关联记录",
|
|
180
|
+
"tool": "get_record_relations"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"category": "工作表行记录",
|
|
184
|
+
"file": "get_record_share_link.yaml",
|
|
185
|
+
"method": "POST",
|
|
186
|
+
"path": "/v3/app/worksheets/{worksheet_id}/rows/{row_id}/share-link",
|
|
187
|
+
"source_url": "https://apifox.mingdao.com/get_record_share_link.md",
|
|
188
|
+
"summary": "获取记录分享链接",
|
|
189
|
+
"title": "获取记录分享链接",
|
|
190
|
+
"tool": "get_record_share_link"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"category": "公共查询",
|
|
194
|
+
"file": "get_regions.yaml",
|
|
195
|
+
"method": "GET",
|
|
196
|
+
"path": "/v3/regions",
|
|
197
|
+
"source_url": "https://apifox.mingdao.com/get_regions.md",
|
|
198
|
+
"summary": "获取地区信息",
|
|
199
|
+
"title": "获取地区信息",
|
|
200
|
+
"tool": "get_regions"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"category": "角色",
|
|
204
|
+
"file": "get_role_details.yaml",
|
|
205
|
+
"method": "GET",
|
|
206
|
+
"path": "/v3/app/roles/{role_id}",
|
|
207
|
+
"source_url": "https://apifox.mingdao.com/get_role_details.md",
|
|
208
|
+
"summary": "获取角色详情",
|
|
209
|
+
"title": "获取角色详情",
|
|
210
|
+
"tool": "get_role_details"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"category": "角色",
|
|
214
|
+
"file": "get_role_list.yaml",
|
|
215
|
+
"method": "GET",
|
|
216
|
+
"path": "/v3/app/roles",
|
|
217
|
+
"source_url": "https://apifox.mingdao.com/get_role_list.md",
|
|
218
|
+
"summary": "获取角色列表",
|
|
219
|
+
"title": "获取角色列表",
|
|
220
|
+
"tool": "get_role_list"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"category": "知识库",
|
|
224
|
+
"file": "knowledge_search.yaml",
|
|
225
|
+
"method": "POST",
|
|
226
|
+
"path": "/v3/app/knowledge/search",
|
|
227
|
+
"source_url": "https://apifox.mingdao.com/knowledge_search.md",
|
|
228
|
+
"summary": "知识库检索",
|
|
229
|
+
"title": "知识库检索",
|
|
230
|
+
"tool": "knowledge_search"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"category": "角色",
|
|
234
|
+
"file": "leave_all_roles.yaml",
|
|
235
|
+
"method": "DELETE",
|
|
236
|
+
"path": "/v3/app/roles/users/{user_id}",
|
|
237
|
+
"source_url": "https://apifox.mingdao.com/leave_all_roles.md",
|
|
238
|
+
"summary": "成员退出所有角色",
|
|
239
|
+
"title": "成员退出所有角色",
|
|
240
|
+
"tool": "leave_all_roles"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"category": "角色",
|
|
244
|
+
"file": "remove_member_from_role.yaml",
|
|
245
|
+
"method": "DELETE",
|
|
246
|
+
"path": "/v3/app/roles/{role_id}/members",
|
|
247
|
+
"source_url": "https://apifox.mingdao.com/remove_member_from_role.md",
|
|
248
|
+
"summary": "移除角色成员",
|
|
249
|
+
"title": "移除角色成员",
|
|
250
|
+
"tool": "remove_member_from_role"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"category": "选项集",
|
|
254
|
+
"file": "update_optionset.yaml",
|
|
255
|
+
"method": "PUT",
|
|
256
|
+
"path": "/v3/app/optionsets/{optionset_id}",
|
|
257
|
+
"source_url": "https://apifox.mingdao.com/update_optionset.md",
|
|
258
|
+
"summary": "编辑选项集",
|
|
259
|
+
"title": "编辑选项集",
|
|
260
|
+
"tool": "update_optionset"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
openapi: 3.0.1
|
|
2
|
+
info:
|
|
3
|
+
title: ''
|
|
4
|
+
description: ''
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
paths:
|
|
7
|
+
/v3/app/roles/{role_id}/members:
|
|
8
|
+
post:
|
|
9
|
+
summary: 添加角色成员
|
|
10
|
+
deprecated: false
|
|
11
|
+
description: |
|
|
12
|
+
添加角色成员信息
|
|
13
|
+
数据包括:添加用户、职位、部门
|
|
14
|
+
tags:
|
|
15
|
+
- V3-beta(AI 友好)/角色
|
|
16
|
+
- role
|
|
17
|
+
parameters:
|
|
18
|
+
- name: role_id
|
|
19
|
+
in: path
|
|
20
|
+
description: 角色ID
|
|
21
|
+
required: true
|
|
22
|
+
example: ''
|
|
23
|
+
schema:
|
|
24
|
+
type: string
|
|
25
|
+
- name: HAP-Appkey
|
|
26
|
+
in: header
|
|
27
|
+
description: HAP应用密钥
|
|
28
|
+
required: true
|
|
29
|
+
example: ''
|
|
30
|
+
schema:
|
|
31
|
+
type: string
|
|
32
|
+
- name: HAP-Sign
|
|
33
|
+
in: header
|
|
34
|
+
description: HAP签名
|
|
35
|
+
required: true
|
|
36
|
+
example: ''
|
|
37
|
+
schema:
|
|
38
|
+
type: string
|
|
39
|
+
requestBody:
|
|
40
|
+
content:
|
|
41
|
+
application/json:
|
|
42
|
+
schema:
|
|
43
|
+
type: object
|
|
44
|
+
properties:
|
|
45
|
+
userIds:
|
|
46
|
+
type: array
|
|
47
|
+
items:
|
|
48
|
+
type: string
|
|
49
|
+
description: 用户ID合集
|
|
50
|
+
departmentIds:
|
|
51
|
+
type: array
|
|
52
|
+
items:
|
|
53
|
+
type: string
|
|
54
|
+
description: 部门ID合集
|
|
55
|
+
departmentTreeIds:
|
|
56
|
+
type: array
|
|
57
|
+
items:
|
|
58
|
+
type: string
|
|
59
|
+
description: 部门树ID合集(包含子部门)
|
|
60
|
+
jobIds:
|
|
61
|
+
type: array
|
|
62
|
+
items:
|
|
63
|
+
type: string
|
|
64
|
+
description: 职位ID合集
|
|
65
|
+
projectOrganizeIds:
|
|
66
|
+
type: array
|
|
67
|
+
items:
|
|
68
|
+
type: string
|
|
69
|
+
description: 组织角色ID合集
|
|
70
|
+
description: 添加角色成员请求参数
|
|
71
|
+
x-apifox-orders:
|
|
72
|
+
- userIds
|
|
73
|
+
- departmentIds
|
|
74
|
+
- departmentTreeIds
|
|
75
|
+
- jobIds
|
|
76
|
+
- projectOrganizeIds
|
|
77
|
+
x-apifox-ignore-properties: []
|
|
78
|
+
example:
|
|
79
|
+
userIds:
|
|
80
|
+
- user123
|
|
81
|
+
- user456
|
|
82
|
+
departmentIds:
|
|
83
|
+
- dept123
|
|
84
|
+
departmentTreeIds:
|
|
85
|
+
- deptTree123
|
|
86
|
+
jobIds:
|
|
87
|
+
- job123
|
|
88
|
+
- job456
|
|
89
|
+
projectOrganizeIds:
|
|
90
|
+
- org123
|
|
91
|
+
responses:
|
|
92
|
+
'200':
|
|
93
|
+
description: 成功添加角色成员
|
|
94
|
+
content:
|
|
95
|
+
application/json:
|
|
96
|
+
schema:
|
|
97
|
+
allOf:
|
|
98
|
+
- $ref: '#/components/schemas/baseResponse'
|
|
99
|
+
- type: object
|
|
100
|
+
properties:
|
|
101
|
+
data:
|
|
102
|
+
type: object
|
|
103
|
+
properties: {}
|
|
104
|
+
description: 空对象
|
|
105
|
+
x-apifox-orders: []
|
|
106
|
+
x-apifox-ignore-properties: []
|
|
107
|
+
x-apifox-orders:
|
|
108
|
+
- data
|
|
109
|
+
x-apifox-ignore-properties: []
|
|
110
|
+
example:
|
|
111
|
+
data:
|
|
112
|
+
addedCount: 5
|
|
113
|
+
successUsers:
|
|
114
|
+
- user123
|
|
115
|
+
- user456
|
|
116
|
+
successDepartments:
|
|
117
|
+
- dept123
|
|
118
|
+
failedItems: []
|
|
119
|
+
success: true
|
|
120
|
+
headers: {}
|
|
121
|
+
x-apifox-name: 成功
|
|
122
|
+
security: []
|
|
123
|
+
x-apifox-folder: V3-beta(AI 友好)/角色
|
|
124
|
+
x-apifox-status: released
|
|
125
|
+
x-run-in-apifox: https://app.apifox.com/web/project/6133169/apis/api-339496612-run
|
|
126
|
+
components:
|
|
127
|
+
schemas:
|
|
128
|
+
baseResponse:
|
|
129
|
+
type: object
|
|
130
|
+
properties:
|
|
131
|
+
success:
|
|
132
|
+
type: boolean
|
|
133
|
+
description: 是否调用成功
|
|
134
|
+
error_code:
|
|
135
|
+
type: integer
|
|
136
|
+
description: 错误代码
|
|
137
|
+
error_msg:
|
|
138
|
+
type: string
|
|
139
|
+
description: 错误消息
|
|
140
|
+
title: 基础返回对象
|
|
141
|
+
description: 所有API的基础返回结构
|
|
142
|
+
x-apifox-orders:
|
|
143
|
+
- success
|
|
144
|
+
- error_code
|
|
145
|
+
- error_msg
|
|
146
|
+
x-apifox-ignore-properties: []
|
|
147
|
+
x-apifox-folder: ''
|
|
148
|
+
securitySchemes:
|
|
149
|
+
bearer:
|
|
150
|
+
type: bearer
|
|
151
|
+
scheme: bearer
|
|
152
|
+
bearerAuth:
|
|
153
|
+
type: jwt
|
|
154
|
+
scheme: bearer
|
|
155
|
+
bearerFormat: JWT
|
|
156
|
+
description: 'Authorization: Bearer <access_token>'
|
|
157
|
+
hapAppId:
|
|
158
|
+
type: apikey
|
|
159
|
+
in: header
|
|
160
|
+
name: HAP-Appid
|
|
161
|
+
description: 应用 ID
|
|
162
|
+
hapAppKey:
|
|
163
|
+
type: apikey
|
|
164
|
+
in: header
|
|
165
|
+
name: HAP-AppKey
|
|
166
|
+
description: AppKey 认证头
|
|
167
|
+
hapSign:
|
|
168
|
+
type: apikey
|
|
169
|
+
in: header
|
|
170
|
+
name: HAP-Sign
|
|
171
|
+
description: Sign 签名头
|
|
172
|
+
sessionToken:
|
|
173
|
+
type: apikey
|
|
174
|
+
in: header
|
|
175
|
+
name: Authorization
|
|
176
|
+
description: 填写格式 `md_pss_id <sessionId>`
|
|
177
|
+
Combination:
|
|
178
|
+
group:
|
|
179
|
+
- id: 1195133
|
|
180
|
+
- id: 1195134
|
|
181
|
+
type: combination
|
|
182
|
+
Combination1:
|
|
183
|
+
group:
|
|
184
|
+
- id: 1195135
|
|
185
|
+
- id: 1195136
|
|
186
|
+
type: combination
|
|
187
|
+
Combination2:
|
|
188
|
+
group:
|
|
189
|
+
- id: 1195137
|
|
190
|
+
- id: 1195134
|
|
191
|
+
type: combination
|
|
192
|
+
servers:
|
|
193
|
+
- url: https://api.mingdao.com
|
|
194
|
+
description: 正式环境
|
|
195
|
+
- url: '{{url}}'
|
|
196
|
+
description: 自定义
|
|
197
|
+
security: []
|