Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
HAP
https://help.mingdao.com
Admin
HAP是一个创新的超级应用平台,帮助用户零代码构建企业应用,自动化业务流程,整合内部数据,并支持与外部系统集成,具备高可组合性、国际化支持及多云部署能力。
Tokens:
744,064
Snippets:
5,673
Trust Score:
8.9
Update:
7 hours ago
Context
Chat
Benchmark
48
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### post list / search / get Source: https://help.mingdao.com/ai/cli/ Read posts and dynamics. Use list to browse, search to find, and get to retrieve a specific post. ```APIDOC ## post list / search / get ### Description Read posts and dynamics. Use list to browse, search to find, and get to retrieve a specific post. ### Method CLI command ### Command `post list / search / get` ### Usage - `post list` - List posts - `post search` - Search posts - `post get` - Get a specific post ``` -------------------------------- ### config log view Source: https://help.mingdao.com/zh-Hant/ai/cli/ Tail the log file. Use --lines to specify number of lines and --no-follow to not follow new lines. ```APIDOC ## config log view ### Description Tail the log file. Use --lines to specify number of lines and --no-follow to not follow new lines. ### Command `config log view [--lines N] [--no-follow]` ### Parameters - `--lines N` - Number of lines to show - `--no-follow` - Do not follow new lines ### Usage - `config log view` - Tail log file - `config log view --lines 100 --no-follow` - Show last 100 lines without following ``` -------------------------------- ### Install mdye npm package Source: https://help.mingdao.com/extensions/developer/view/ Install the mdye package to interact with HAP application worksheet data. The scaffold already includes this dependency by default; use this command only for manual installation. ```shell $ npm i mdye --save ``` -------------------------------- ### config show Source: https://help.mingdao.com/ai/cli/ Display CLI configuration summary. ```APIDOC ## config show ### Description Display CLI configuration summary. ### Method CLI command ### Command `config show` ### Usage - `config show` - Show configuration summary ``` -------------------------------- ### GET /v3/app/worksheets/{worksheet_id}/rows/list Source: https://help.mingdao.com/zh-Hant/api/v3/ 查询工作表行记录列表。支持复杂筛选条件,使用 GET 方法访问列表接口。 ```APIDOC ## [GET] /v3/app/worksheets/{worksheet_id}/rows/list ### Description 查询工作表行记录列表,支持复杂筛选条件。 ### Method GET ### Endpoint /v3/app/worksheets/{worksheet_id}/rows/list ### Parameters #### Path Parameters - **worksheet_id** (string) - Required - 工作表 ID ### Response #### Success Response (200) - **rows** (array) - 行记录列表 #### Response Example { "rows": [] } ``` -------------------------------- ### region get Source: https://help.mingdao.com/ai/cli/ Get region information by exact ID or fuzzy search by keyword. ```APIDOC ## region get ### Description Get region information by exact ID or fuzzy search by keyword. ### Method CLI command ### Command `region get` ### Parameters - `--id` - Exact ID lookup - `--search` - Keyword fuzzy search ### Usage - `region get --id <id>` - Get region by ID - `region get --search <keyword>` - Search regions by keyword ``` -------------------------------- ### config log view Source: https://help.mingdao.com/ai/cli/ View and follow the log file. ```APIDOC ## config log view ### Description View and follow the log file. ### Method CLI command ### Command `config log view [--lines N] [--no-follow]` ### Parameters - `--lines N` - Number of lines to show - `--no-follow` - Do not follow the log file ### Usage - `config log view` - View log file - `config log view --lines 100 --no-follow` - View last 100 lines without following ``` -------------------------------- ### 启动本地调试 (npx mdye start) Source: https://help.mingdao.com/en/plugin/mdye-intranet-guide/ 在内网启动本地调试,mdye start 会读取 mdye.json 中的 host 和 webui 直接连接内网明道云。首次运行时会弹出内网授权页面完成登录。 ```bash npx mdye start ``` -------------------------------- ### openNewRecord(params) Source: https://help.mingdao.com/extensions/developer/view/ Opens a create record dialog and returns a Promise that resolves to the newly created record. ```APIDOC ## openNewRecord(params) ### Description Opens a create record dialog and returns a Promise that resolves to the newly created record. ### Method Function call ### Parameters - **params** (object) - Required - Parameter object containing: - **appId** (string) - Required - Application ID - **worksheetId** (string) - Required - Worksheet ID ### Return Value Returns a Promise that resolves to the newly created record. ### Response Example ```typescript { rowid: string, [key: string]: any } ``` ``` -------------------------------- ### selectDepartments(params) Source: https://help.mingdao.com/extensions/developer/view/ Opens a department selection dialog and returns a Promise that resolves to the selected departments. ```APIDOC ## selectDepartments(params) ### Description Opens a department selection dialog and returns a Promise that resolves to the selected departments. ### Method Function call ### Parameters - **params** (object) - Required - Parameter object containing: - **projectId** (string) - Optional - Organization ID, defaults to the current application's organization - **unique** (boolean) - Required - Whether only one department can be selected ### Return Value Returns a Promise that resolves to the selected departments. ### Response Example ```typescript [{ departmentId: string, departmentName: string }] ``` ```