Add delete connection function to DELETE /who

This commit is contained in:
breel
2020-07-25 21:51:55 -06:00
parent 93dff873e2
commit c0fc3530fd
3 changed files with 197 additions and 1 deletions

View File

@@ -78,10 +78,11 @@ paths:
delete:
tags:
- who
summary: "Delete the specified entity, which is assumed to be a leaf"
summary: "Delete the specified entity, which is assumed to be a leaf, or only its connection if specified"
parameters:
- $ref: "#/components/parameters/id"
- $ref: "#/components/parameters/namespace"
- $ref: "#/components/parameters/connection"
responses:
200:
$ref: "#/components/schemas/ok"
@@ -98,6 +99,13 @@ components:
namespace:
$ref: "./swagger.yaml#/components/parameters/namespace"
connection:
name: connection
in: query
description: "An entity's connection's name"
schema:
type: string
light:
name: light
in: query