diff options
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/openapi.json | 84 |
1 files changed, 36 insertions, 48 deletions
diff --git a/apps/federation/openapi.json b/apps/federation/openapi.json index c8b4d1a91b3..3740b8ad04f 100644 --- a/apps/federation/openapi.json +++ b/apps/federation/openapi.json @@ -63,32 +63,26 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "url", - "token" - ], - "properties": { - "url": { - "type": "string", - "description": "URL of the server" - }, - "token": { - "type": "string", - "description": "Token of the server" - } - } - } - } - } - }, "parameters": [ { + "name": "url", + "in": "query", + "description": "URL of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "token", + "in": "query", + "description": "Token of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", @@ -297,32 +291,26 @@ "basic_auth": [] } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "url", - "token" - ], - "properties": { - "url": { - "type": "string", - "description": "URL of the server" - }, - "token": { - "type": "string", - "description": "Token of the server" - } - } - } - } - } - }, "parameters": [ { + "name": "url", + "in": "query", + "description": "URL of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "token", + "in": "query", + "description": "Token of the server", + "required": true, + "schema": { + "type": "string" + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", |