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 growsurf --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search growsurf --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 |
|---|---|---|
| Send Invites | send-invites | Sends bulk referral email invites on behalf of a participant. |
| Get Campaign Analytics | get-campaign-analytics | Retrieves analytics stats for a campaign. |
| List Referrals | list-referrals | Retrieves a list of referrals in the program. |
| Delete Reward | delete-reward | Deletes a reward. |
| Fulfill Reward | fulfill-reward | Marks an approved reward as fulfilled. |
| Approve Reward | approve-reward | Approves a pending reward. |
| List Participant Rewards | list-participant-rewards | Retrieves rewards earned by a participant in a program. |
| Delete Participant | delete-participant | Removes a participant from the program using the participant ID. |
| Trigger Referral | trigger-referral | Triggers a referral using an existing referred participant's ID, awarding referral credit to their referrer. |
| Update Participant | update-participant | Updates a participant within the program using the ID of the participant. |
| Add Participant | add-participant | Adds a new participant to the program. |
| Get Leaderboard | get-leaderboard | Retrieves a list of participants in the program ordered by referral count. |
| List Participants | list-participants | Retrieves a list of participants in the program with pagination support |
| Get Participant by Email | get-participant-by-email | Retrieves a single participant from a program using the given participant email |
| Get Participant by ID | get-participant-by-id | Retrieves a single participant from a program using the given participant ID |
| List Campaigns | list-campaigns | Retrieves a list of your programs. |
| Get Campaign | get-campaign | Retrieves a program for the given program ID |
| 名称 | 键 | 描述 |
|---|---|---|
| 发送邀请 | send-invites | 代表参与者批量发送推荐邮件邀请。 |
| 获取活动分析数据 | get-campaign-analytics | 查询指定活动的分析统计数据。 |
| 列出推荐记录 | list-referrals | 查询推荐计划内的推荐记录列表。 |
| 删除奖励 | delete-reward | 删除指定奖励。 |
| 兑现奖励 | fulfill-reward | 将已审批的奖励标记为已兑现。 |
| 审批奖励 | approve-reward | 审批待处理的奖励。 |
| 列出参与者奖励 | list-participant-rewards | 查询参与者在计划内获得的奖励列表。 |
| 删除参与者 | delete-participant | 根据参与者ID将其从计划中移除。 |
| 触发推荐结算 | trigger-referral | 根据已存在的被推荐参与者ID触发推荐结算,给推荐人发放推荐奖励。 |
| 更新参与者信息 | update-participant | 根据参与者ID更新其在计划内的信息。 |
| 添加参与者 | add-participant | 向计划中添加新的参与者。 |
| 获取排行榜 | get-leaderboard | 查询计划内按推荐数量排序的参与者列表。 |
| 列出参与者 | list-participants | 查询计划内的参与者列表,支持分页。 |
| 根据邮箱查询参与者 | get-participant-by-email | 根据参与者提供的邮箱查询计划内的单个参与者信息。 |
| 根据ID查询参与者 | get-participant-by-id | 根据参与者ID查询计划内的单个参与者信息。 |
| 列出活动 | list-campaigns | 查询你的所有推荐计划列表。 |
| 获取活动详情 | get-campaign | 根据计划ID查询对应推荐计划的详情。 |
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