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://www.dacast.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://www.dacast.com/" --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 Videos | list-videos | Get a paginated, searchable list of your account's VOD content |
| List Streams | list-streams | Get a paginated, searchable list of your account's live streams |
| List Playlists | list-playlists | Get a paginated, searchable list of your account's playlists |
| List Folders | list-folders | Get a paginated, searchable list of your account's folders |
| Lookup Video | lookup-video | Get information about an individual piece of VOD content |
| Lookup Stream | lookup-stream | Get information about an individual live stream |
| Lookup Playlist | lookup-playlist | Get information about an individual playlist |
| Lookup Folder | lookup-folder | Get information about an individual folder |
| Create Video | create-video | Create a new VOD video entry |
| Create Stream | create-stream | Create a new live stream channel |
| Create Playlist | create-playlist | Create a new playlist |
| Create Folder | create-folder | Create a new folder |
| Update Video | update-video | Update a VOD video's metadata |
| Update Stream | update-stream | Update a live streaming channel's metadata |
| Update Playlist | update-playlist | Update a playlist's metadata |
| Delete Video | delete-video | Delete a VOD video |
| Delete Stream | delete-stream | Delete a live stream channel |
| Delete Playlist | delete-playlist | Delete a playlist |
| Delete Folder | delete-folder | Delete a folder |
| List Online Streams | list-online-streams | Get a list of currently online live streams |
| 名称 | 键值 | 描述 |
|---|---|---|
| List Videos | list-videos | 获取账户点播内容的分页可搜索列表 |
| List Streams | list-streams | 获取账户直播流的分页可搜索列表 |
| List Playlists | list-playlists | 获取账户播放列表的分页可搜索列表 |
| List Folders | list-folders | 获取账户文件夹的分页可搜索列表 |
| Lookup Video | lookup-video | 获取单个点播内容的信息 |
| Lookup Stream | lookup-stream | 获取单个直播流的信息 |
| Lookup Playlist | lookup-playlist | 获取单个播放列表的信息 |
| Lookup Folder | lookup-folder | 获取单个文件夹的信息 |
| Create Video | create-video | 创建新的点播视频条目 |
| Create Stream | create-stream | 创建新的直播频道 |
| Create Playlist | create-playlist | 创建新的播放列表 |
| Create Folder | create-folder | 创建新的文件夹 |
| Update Video | update-video | 更新点播视频的元数据 |
| Update Stream | update-stream | 更新直播频道的元数据 |
| Update Playlist | update-playlist | 更新播放列表的元数据 |
| Delete Video | delete-video | 删除点播视频 |
| Delete Stream | delete-stream | 删除直播频道 |
| Delete Playlist | delete-playlist | 删除播放列表 |
| Delete Folder | delete-folder | 删除文件夹 |
| List Online Streams | list-online-streams | 获取当前在线的直播流列表 |
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