Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/cli@latestmembranenpm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane connection ensuremembrane connection ensure "https://documenterra.ru/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://documenterra.ru/" --jsonREADYBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrorBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrormembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchemamembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchema| Name | Key | Description |
|---|---|---|
| List Users | list-users | Retrieves a list of all users (authors and readers) in the Documenterra portal. |
| Export Publication | export-publication | Exports an existing publication to a user-selected format (PDF, DOCX, HTML, CHM, etc.). |
| Create Project Backup | create-project-backup | Creates a backup of a project and saves it to the specified location in Documenterra's storage. |
| Create Page | create-page | Creates a new page (article) within a project. |
| List Pages | list-pages | Retrieves a list of all pages (articles) within a specific project. |
| List Projects | list-projects | Retrieves a list of all projects and publications accessible to the authenticated user. |
| 名称 | 标识 | 描述 |
|---|---|---|
| 列出用户 | list-users | 获取Documenterra门户中所有用户(作者和读者)的列表。 |
| 导出出版物 | export-publication | 将现有出版物导出为用户选择的格式(PDF、DOCX、HTML、CHM等)。 |
| 创建项目备份 | create-project-backup | 创建项目备份并保存到Documenterra存储中的指定位置。 |
| 创建页面 | create-page | 在项目中创建新页面(文章)。 |
| 列出页面 | list-pages | 获取指定项目中所有页面(文章)的列表。 |
| 列出项目 | list-projects | 获取已认证用户可访问的所有项目和出版物的列表。 |
membrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE)。默认为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY