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 hashnode --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search hashnode --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 |
|---|---|---|
| Get User | get-user | Get a user's public profile by username |
| Add Comment | add-comment | Add a comment to a post |
| Update Post | update-post | Update an existing post |
| Create Draft | create-draft | Create a new draft post without publishing it |
| Publish Post | publish-post | Create and publish a new post to a publication |
| Get Post | get-post | Get a single post by its slug from a publication |
| List Posts | list-posts | List posts from a publication with pagination support |
| Get Publication | get-publication | Get a publication by its host (e.g., 'myblog.hashnode.dev') |
| Get My Publications | get-my-publications | Get the authenticated user's publications (blogs) |
| Get Me | get-me | Get the authenticated user's information including profile details and publications |
| 名称 | 键 | 描述 |
|---|---|---|
| 获取用户 | get-user | 通过用户名获取用户的公开资料 |
| 添加评论 | add-comment | 为文章添加评论 |
| 更新文章 | update-post | 更新现有文章 |
| 创建草稿 | create-draft | 创建新的草稿文章但不发布 |
| 发布文章 | publish-post | 创建并发布新文章到出版物 |
| 获取文章 | get-post | 通过文章slug从出版物中获取单篇文章 |
| 列出文章 | list-posts | 列出出版物中的文章,支持分页 |
| 获取出版物 | get-publication | 通过主机名(例如'myblog.hashnode.dev')获取出版物 |
| 获取我的出版物 | get-my-publications | 获取已验证用户的出版物(博客) |
| 获取我的信息 | get-me | 获取已验证用户的信息,包括资料详情和出版物 |
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