From 4bd83baad5f1781704e489e5f482f2e72777ac46 Mon Sep 17 00:00:00 2001 From: drasko Date: Tue, 17 Oct 2023 13:38:29 +0000 Subject: [PATCH] deploy: cd82cc5a43917bf7d364d4e76a05fd43e3cf8507 --- apis/api/openapi/things.yml | 54 ------------------------------------- apis/api/openapi/users.yml | 54 ------------------------------------- 2 files changed, 108 deletions(-) diff --git a/apis/api/openapi/things.yml b/apis/api/openapi/things.yml index 9e9179439a..f9b2912a1c 100644 --- a/apis/api/openapi/things.yml +++ b/apis/api/openapi/things.yml @@ -540,60 +540,6 @@ paths: "500": $ref: "#/components/responses/ServiceError" - /channels/{chanID}/assign: - post: - summary: Assigns a member to a channel - description: | - Assigns a specific member to a channel that is identifier by the channel ID. - tags: - - Channels - parameters: - - $ref: "#/components/parameters/chanID" - requestBody: - $ref: "#/components/requestBodies/AssignReq" - security: - - bearerAuth: [] - responses: - "200": - description: Thing shared. - "400": - description: Failed due to malformed thing's ID. - "401": - description: Missing or invalid access token provided. - "404": - description: A non-existent entity request. - "422": - description: Database can't process request. - "500": - $ref: "#/components/responses/ServiceError" - - /channels/{chanID}/unassign: - post: - summary: Unassigns a member from a channel - description: | - Unassigns a specific member from a channel that is identifier by the channel ID. - tags: - - Channels - parameters: - - $ref: "#/components/parameters/chanID" - requestBody: - $ref: "#/components/requestBodies/AssignReq" - security: - - bearerAuth: [] - responses: - "200": - description: Thing unshared. - "400": - description: Failed due to malformed thing's ID. - "401": - description: Missing or invalid access token provided. - "404": - description: A non-existent entity request. - "422": - description: Database can't process request. - "500": - $ref: "#/components/responses/ServiceError" - /channels/{chanID}/users/assign: post: summary: Assigns a member to a channel diff --git a/apis/api/openapi/users.yml b/apis/api/openapi/users.yml index 381e1718a7..a9e2ba57c2 100644 --- a/apis/api/openapi/users.yml +++ b/apis/api/openapi/users.yml @@ -690,60 +690,6 @@ paths: "500": $ref: "#/components/responses/ServiceError" - /groups/{groupID}/members/assign: - post: - summary: Assigns a member to a group - description: | - Assigns a specific member to a group that is identifier by the group ID. - tags: - - Groups - parameters: - - $ref: "#/components/parameters/GroupID" - requestBody: - $ref: "#/components/requestBodies/AssignReq" - security: - - bearerAuth: [] - responses: - "200": - description: Member assigned. - "400": - description: Failed due to malformed group's ID. - "401": - description: Missing or invalid access token provided. - "404": - description: A non-existent entity request. - "422": - description: Database can't process request. - "500": - $ref: "#/components/responses/ServiceError" - - /groups/{groupID}/members/unassign: - post: - summary: Unassigns a member to a group - description: | - Unassigns a specific member to a group that is identifier by the group ID. - tags: - - Groups - parameters: - - $ref: "#/components/parameters/GroupID" - requestBody: - $ref: "#/components/requestBodies/AssignReq" - security: - - bearerAuth: [] - responses: - "200": - description: Member assigned. - "400": - description: Failed due to malformed group's ID. - "401": - description: Missing or invalid access token provided. - "404": - description: A non-existent entity request. - "422": - description: Database can't process request. - "500": - $ref: "#/components/responses/ServiceError" - /groups/{groupID}/users/assign: post: summary: Assigns a user to a group