Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search educateme --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search educateme --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Create Learner Session | create-learner-session | Create a new session for a learner by email, returning an access token for SSO authentication. |
| Get Course Activities | get-course-activities | Retrieve the lessons/activities for a specific course by its ID. |
| Create Course | create-course | Create a new course in EducateMe with specified title, type, and optional settings. |
| List Courses | list-courses | Retrieve a list of courses with optional filters for learner email, finished status, and suspended status. |
| 名称 | 键 | 描述 |
|---|---|---|
| 创建学习者会话 | create-learner-session | 通过邮箱为学习者创建新会话,返回用于SSO身份验证的访问令牌。 |
| 获取课程活动 | get-course-activities | 根据课程ID获取指定课程的课时/活动列表。 |
| 创建课程 | create-course | 在 EducateMe 中创建新课程,可指定标题、类型和可选设置。 |
| 列出课程 | list-courses | 获取课程列表,可按学习者邮箱、完成状态、暂停状态筛选。 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane 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