Files
cloudpods/docs/identity/endpoints.yaml
2019-06-29 15:22:39 +08:00

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