From 87ed951988ed0c6a225061fcb22652c4a8136cc3 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 1 Feb 2021 11:15:16 -0500 Subject: [PATCH] restore query params to relevant sections of apigrpc swagger (#539) * restore query params to relevant sections of apigrpc swagger * Fix accidental nesting of parameters in responses block --- apigrpc/apigrpc.swagger.json | 94 ++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/apigrpc/apigrpc.swagger.json b/apigrpc/apigrpc.swagger.json index 9a0fa2c66..42d3f87c6 100644 --- a/apigrpc/apigrpc.swagger.json +++ b/apigrpc/apigrpc.swagger.json @@ -1417,6 +1417,28 @@ } } }, + "parameters": [ + { + "name": "ids", + "description": "The account id of a user.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } + }, + { + "name": "usernames", + "description": "The account username of a user.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } + } + ], "tags": [ "Nakama" ] @@ -1440,6 +1462,28 @@ } } }, + "parameters": [ + { + "name": "ids", + "description": "The account id of a user.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } + }, + { + "name": "usernames", + "description": "The account username of a user.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } + } + ], "tags": [ "Nakama" ] @@ -1659,6 +1703,16 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "user_ids", + "description": "The users to add.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } } ], "tags": [ @@ -1691,6 +1745,16 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "user_ids", + "description": "The users to ban.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } } ], "tags": [ @@ -1723,6 +1787,16 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "user_ids", + "description": "The users to demote.", + "in": "query", + "required": true, + "type": "array", + "items": { + "type": "string" + } } ], "tags": [ @@ -1787,6 +1861,16 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "user_ids", + "description": "The users to kick.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } } ], "tags": [ @@ -1851,6 +1935,16 @@ "in": "path", "required": true, "type": "string" + }, + { + "name": "user_ids", + "description": "The users to promote.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + } } ], "tags": [ -- GitLab