api-evangelist/routeros

GitHub: api-evangelist/routeros

RouterOS API 是 MikroTik 路由器操作系统的网络管理接口,用于自动化配置和管理网络设备。

Stars: 0 | Forks: 0

# 路由器操作系统 RouterOS 是 MikroTik 的强大网络操作系统,专为管理路由器、交换机、接入点和其它网络设备而设计。它提供全面的 REST API(v7.1+)和基于 TCP 的二进制 API,用于程序化管理 IP 地址、接口、防火墙规则、路由、VPN 配置、DHCP、DNS 和系统资源。RouterOS 可驱动 MikroTik 硬件,也可以作为虚拟机(CHR)部署。 **URL:** [访问 APIs.json URL](https://raw.githubusercontent.com/api-evangelist/routeros/refs/heads/main/apis.yml) ## 范围 - **类型:** 索引 - **位置:** 消费 - **访问:** 第三方 ## 标签 - 网络,路由器,网络管理,防火墙,MikroTik ## 时间戳 - **创建:** 2024-11-07 - **修改:** 2026-05-02 ## API ### RouterOS REST API RouterOS REST API 是 RouterOS 控制台 API 的 JSON 封装,从 RouterOS v7.1beta4+ 开始提供。它通过 HTTP 方法支持对所有路由器配置菜单的 CRUD 操作。可通过 `https://{router-ip}/rest` 访问。 **人类 URL:** [https://help.mikrotik.com/docs/spaces/ROS/pages/47579162/REST+API](https://help.mikrotik.com/docs/spaces/ROS/pages/47579162/REST+API) #### 标签 - 网络,路由器管理,REST API,网络配置,防火墙,DHCP,DNS #### 属性 - [文档](https://help.mikrotik.com/docs/spaces/ROS/pages/47579162/REST+API) - [文档](https://help.mikrotik.com/docs/spaces/ROS/pages/47579160/API) - [OpenAPI](openapi/routeros-rest-api-openapi.yml) - [SpectralRules](rules/routeros-rules.yml) - [NaftikoCapabilities](capabilities/network-management.yaml) - [JSONSchema](json-schema/routeros-ip-address-schema.json) - [JSONSchema](json-schema/routeros-interface-schema.json) - [JSONSchema](json-schema/routeros-firewall-filter-schema.json) - [JSONStructure](json-structure/routeros-ip-address-structure.json) - [JSONLDContext](json-ld/routeros-context.jsonld) - [示例](examples/routeros-list-ip-addresses-example.json) - [示例](examples/routeros-list-firewall-filters-example.json) - [示例](examples/routeros-get-system-resource-example.json) - [词汇表](vocabulary/routeros-vocabulary.yml) ### RouterOS TCP API RouterOS TCP API 是在 TCP:8728(标准)和 TCP:8729(SSL)上运行的本地二进制协议。基于句子的词协议,支持带标签的并发命令、流式传输和取消。 **人类 URL:** [https://help.mikrotik.com/docs/spaces/ROS/pages/47579160/API](https://help.mikrotik.com/docs/spaces/ROS/pages/47579160/API) #### 标签 - 网络,路由器管理,TCP API,二进制协议 #### 属性 - [文档](https://help.mikrotik.com/docs/spaces/ROS/pages/47579160/API) - [文档](https://wiki.mikrotik.com/wiki/Manual:API) ## 资产 ### OpenAPI 规范 | 文件 | 描述 | |---|---| | [routeros-rest-api-openapi.yml](openapi/routeros-rest-api-openapi.yml) | RouterOS REST API — IP,接口,防火墙,路由,系统,DHCP,DNS,无线 | ### Spectral 规则 | 文件 | 描述 | |---|---| | [routeros-rules.yml](rules/routeros-rules.yml) | 强制执行 RouterOS API 规范的 Spectral 规则集 | ### 功能 | 文件 | 描述 | |---|---| | [network-management.yaml](capabilities/network-management.yaml) | 统一网络管理工作流程 — IP,防火墙,路由,DHCP,DNS,无线(14 个工具) | | [shared/routeros-rest.yaml](capabilities/shared/routeros-rest.yaml) | RouterOS REST API 的每个 API 的共享定义 | ### JSON 模式 | 文件 | 描述 | |---|---| | [routeros-ip-address-schema.json](json-schema/routeros-ip-address-schema.json) | IP 地址资源模式 | | [routeros-interface-schema.json](json-schema/routeros-interface-schema.json) | 网络接口资源模式 | | [routeros-firewall-filter-schema.json](json-schema/routeros-firewall-filter-schema.json) | 防火墙过滤规则模式 | ### JSON 结构 | 文件 | 描述 | |---|---| | [routeros-ip-address-structure.json](json-structure/routeros-ip-address-structure.json) | IP 地址字段文档 | ### JSON-LD | 文件 | 描述 | |---|---| | [routeros-context.jsonld](json-ld/routeros-context.jsonld) | 将 RouterOS 词汇映射到 schema.org 的 JSON-LD 上下文 | ### 示例 | 文件 | 描述 | |---|---| | [routeros-list-ip-addresses-example.json](examples/routeros-list-ip-addresses-example.json) | 列出 IP 地址请求/响应 | | [routeros-list-firewall-filters-example.json](examples/routeros-list-firewall-filters-example.json) | 列出防火墙过滤规则请求/响应 | | [routeros-get-system-resource-example.json](examples/routeros-get-system-resource-example.json) | 获取系统资源请求/响应 | ### 词汇表 | 文件 | 描述 | |---|---| | [routeros-vocabulary.yml](vocabulary/routeros-vocabulary.yml) | RouterOS 领域术语 — 接口,防火墙,路由,VPN,API | ## 资源 - **网站:** https://mikrotik.com - **文档:** https://help.mikrotik.com/docs/spaces/ROS - **GitHub:** https://github.com/mikrotik - **论坛:** https://forum.mikrotik.com - **Wiki:** https://wiki.mikrotik.com ## 维护者 **FN:** Kin Lane **邮箱:** kin@apievangelist.com
标签:日志审计, 逆向工具