ziniao-openapi-explorer
紫鸟 API 探索:当现有快捷命令无法满足需求时,通过通用 api 命令和已知路径清单探索紫鸟全部 73 个 API 接口。
ziniao-device
紫鸟设备管理:代理设备(IP)的查询、添加、修改、绑定/解绑、购买续费和自动续费。当用户需要查看代理设备列表、添加/修改自有代理、绑定设备到店铺或管理设备费用时使用。
Full skill instructions
CRITICAL — 开始前 MUST 先用 Read 工具读取 ../ziniao-shared/SKILL.md
管理紫鸟浏览器使用的代理设备(IP)。常用 9 个接口已有快捷命令覆盖;价格查询、历史绑定记录使用通用 api 命令。
| CLI 值 | API 值 | 说明 |
|---|---|---|
| http | 0 | HTTP 代理 |
| https | 1 | HTTPS 代理 |
| socks5 | 2 | SOCKS5 代理 |
| ssh | 3 | SSH 隧道 |
| ssl | 4 | SSL 代理 |
| 命令 | 说明 | 详细文档 |
|---|---|---|
device list | 查询设备列表 | references/ziniao-device-list.md |
device add-custom | 添加自有设备 | references/ziniao-device-add-custom.md |
device update-custom | 修改自有设备 | 部分更新:--id xxx --addr "1.2.3.4" |
ziniao-cli device list --format table
ziniao-cli device list --page-all
ziniao-cli device add-custom --name "我的代理" --proxy-type socks5 \
--addr "1.2.3.4" --port 1080 --proxy-user admin --proxy-pass secret
ziniao-cli device update-custom --id 123 --addr "5.6.7.8"
底层接口:设备列表 /superbrowser/rest/v1/erp/ip/page;添加自有设备 /superbrowser/rest/v1/erp/ip/self/add/new;修改自有设备 /superbrowser/rest/v1/erp/ip/self/edit/new。
| 命令 | 说明 |
|---|---|
device bind --id --store-id | 将设备绑定到店铺(--store-id 支持批量) |
device unbind --store-id | 按店铺 ID 解绑设备(--store-id 支持批量) |
# 将设备 10 绑定到三个店铺
ziniao-cli device bind --id 10 --store-id "101,102,103"
# 批量解绑
ziniao-cli device unbind --store-id "101,102,103"
⚠ 批量解绑为逐个执行,部分失败不影响已成功项,也不会回滚。
底层接口:绑定 /superbrowser/rest/v1/erp/ip/bind;解绑 /superbrowser/rest/v1/erp/ip/unbind。
⚠
purchase和renew为high-risk-write,执行前会要求确认或需传--yes。
| 命令 | 说明 |
|---|---|
device plan-list | 查询可购买的套餐列表(先看这里) |
device purchase --plan-id --period-id --count | 购买套餐(涉及费用,不可撤销) |
device renew --id --period-id | 续费设备(--id 支持批量,涉及费用) |
device auto-renew --id --enable | 批量开启/关闭自动续费 |
# 先查套餐,再购买
ziniao-cli device plan-list --format table
ziniao-cli device purchase --plan-id "plan_xxx" --period-id 1 --count 3
# 续费单台
ziniao-cli device renew --id 10 --period-id 1
# 批量开启自动续费
ziniao-cli device auto-renew --id "10,11,12" --enable true
# 关闭自动续费(bool 类型必须用等号连接)
ziniao-cli device auto-renew --id "10,11,12" --enable=false
# 关闭自动续费
ziniao-cli device auto-renew --id 10 --enable=false
底层接口:套餐 /superbrowser/rest/v1/erp/package/new;购买 /superbrowser/rest/v1/erp/purchase;续费 /superbrowser/rest/v1/erp/renew;自动续费 /superbrowser/rest/v1/erp/ip/renewal。
# 查询已购设备价格
ziniao-cli api /superbrowser/rest/v1/erp/proxy/purchased_package_info --data '{"proxyId":"123"}'
# 查询设备历史绑定记录
ziniao-cli api /superbrowser/rest/v1/erp/ip/historybind --data '{"proxyId":"123"}'
紫鸟 API 探索:当现有快捷命令无法满足需求时,通过通用 api 命令和已知路径清单探索紫鸟全部 73 个 API 接口。
紫鸟角色管理:角色的查询、创建、修改、分配和权限查看。当用户需要查看角色列表、创建/修改角色、将角色分配给员工或查看角色成员时使用。
创建 ziniao-cli 的自定义 Skill。当用户需要把紫鸟 API 操作封装成可复用的 Skill(包装原子 API 或编排多步流程)时使用。
紫鸟访问策略管理:网页访问规则、网页/网页分组、规则生效成员/账号、账号绑定策略的查询和维护。当前无快捷命令,全部通过 ziniao-cli api 直调。
紫鸟部门管理:部门的查询、创建、修改、删除和排序。当用户需要查看组织架构、创建/修改/删除部门、调整部门排序时使用。
批量账号授权工作流:编排 account list + staff list + api 调用完成批量授权店铺给员工。适用于新员工入职时批量分配店铺权限。
紫鸟账号(店铺)管理:店铺账号的查询、创建、修改、删除、授权和标签管理。当用户需要查看店铺账号列表、创建/修改/删除账号、管理账号授权或标签时使用。
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience