mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
add networkinterfaces api docs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
summary: 获取指定虚拟网卡详情信息
|
||||
parameters:
|
||||
- $ref: "../parameters/networkinterface.yaml#/networkinterfaceId"
|
||||
responses:
|
||||
200:
|
||||
description: 虚拟网卡详情信息
|
||||
schema:
|
||||
$ref: "../schemas/networkinterface.yaml#/NetworkinterfaceResponse"
|
||||
tags:
|
||||
- networkinterfaces
|
||||
@@ -0,0 +1,14 @@
|
||||
get:
|
||||
summary: 按指定条件列出虚拟网卡列表
|
||||
parameters:
|
||||
- $ref: '../parameters/common.yaml#/limit'
|
||||
- $ref: '../parameters/common.yaml#/offset'
|
||||
- $ref: '../parameters/common.yaml#/cloudregion'
|
||||
- $ref: '../parameters/common.yaml#/zone'
|
||||
responses:
|
||||
200:
|
||||
description: 虚拟网卡列表信息
|
||||
schema:
|
||||
$ref: "../schemas/networkinterface.yaml#/NetworkinterfaceListResponse"
|
||||
tags:
|
||||
- networkinterfaces
|
||||
Reference in New Issue
Block a user