mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-15 11:36:02 +08:00
29 lines
670 B
YAML
29 lines
670 B
YAML
get:
|
|
summary: 按指定条件列出服务接入点
|
|
parameters:
|
|
- $ref: '../parameters/common.yaml#/offset'
|
|
- $ref: '../parameters/common.yaml#/limit'
|
|
responses:
|
|
200:
|
|
description: 接入点列表信息
|
|
schema:
|
|
$ref: "../schemas/endpoint.yaml#/EndpointListResponse"
|
|
tags:
|
|
- endpoints
|
|
|
|
post:
|
|
summary: 新建一个接入点
|
|
parameters:
|
|
- name: endpoint
|
|
in: body
|
|
required: true
|
|
schema:
|
|
$ref: "../schemas/endpoint.yaml#/EndpointCreateInput"
|
|
responses:
|
|
200:
|
|
description: 接入点信息
|
|
schema:
|
|
$ref: "../schemas/endpoint.yaml#/EndpointGetResponse"
|
|
tags:
|
|
- endpoints
|