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 expedy --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search expedy --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 USB Print Job | create-usb-print-job | Send a print job to a USB printer connected to an Expedy Cloud Print Box. |
| Read USB Scan Results | read-usb-scan-results | Read the results of a previous USB device scan, including device status and information for each USB port. |
| Scan USB Devices | scan-usb-devices | Trigger a scan of USB devices connected to an Expedy device. |
| Get USB Configuration | get-usb-configuration | Get the USB printer configuration for an Expedy device, including information about connected printers on each USB port. |
| Update Device | update-device | Trigger a software update on an Expedy device. |
| Shutdown Device | shutdown-device | Remotely shut down an Expedy device (Cloud Print Box or Raspberry Pi). |
| Reboot Device | reboot-device | Remotely reboot an Expedy device (Cloud Print Box or Raspberry Pi). |
| Ping Device | ping-device | Send a ping request to an Expedy device to check connectivity and get the last ping timestamp. |
| Get Device Status | get-device-status | Get the current status of an Expedy device, including the timestamp of its last ping to the API platform. |
| Create Print Job | create-print-job | Send a print job to an Expedy cloud printer. |
| 名称 | 键 | 描述 |
|---|---|---|
| Create USB Print Job | create-usb-print-job | 将打印任务发送到连接Expedy云打印盒的USB打印机。 |
| Read USB Scan Results | read-usb-scan-results | 读取之前USB设备扫描的结果,包括设备状态和每个USB端口的信息。 |
| Scan USB Devices | scan-usb-devices | 触发扫描连接到Expedy设备的USB设备。 |
| Get USB Configuration | get-usb-configuration | 获取Expedy设备的USB打印机配置,包括每个USB端口上连接的打印机信息。 |
| Update Device | update-device | 触发Expedy设备的软件更新。 |
| Shutdown Device | shutdown-device | 远程关闭Expedy设备(云打印盒或树莓派)。 |
| Reboot Device | reboot-device | 远程重启Expedy设备(云打印盒或树莓派)。 |
| Ping Device | ping-device | 向Expedy设备发送ping请求检查连通性,获取最后一次ping的时间戳。 |
| Get Device Status | get-device-status | 获取Expedy设备的当前状态,包括它最后一次向API平台发送ping的时间戳。 |
| Create Print Job | create-print-job | 向Expedy云打印机发送打印任务。 |
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