From 7dbc94cff0ed515cd2b95902643e33a785496454 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Fri, 12 Mar 2021 19:49:05 +0100 Subject: [PATCH] Localhostified postman collection --- Tubio_rest.postman_collection.json | 78 +++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 17 deletions(-) diff --git a/Tubio_rest.postman_collection.json b/Tubio_rest.postman_collection.json index 5f46249..daa1545 100644 --- a/Tubio_rest.postman_collection.json +++ b/Tubio_rest.postman_collection.json @@ -32,6 +32,33 @@ }, "response": [] }, + { + "name": "GetServerVersion", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": \"kill_yourself\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/api", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "api" + ] + } + }, + "response": [] + }, { "name": "DownloadVideo", "request": { @@ -182,12 +209,9 @@ } }, "url": { - "raw": "192.168.1.12:6969/api", + "raw": "localhost:6969/api", "host": [ - "192", - "168", - "1", - "12" + "localhost" ], "port": "6969", "path": [ @@ -212,12 +236,9 @@ } }, "url": { - "raw": "192.168.1.12:6969/api", + "raw": "localhost:6969/api", "host": [ - "192", - "168", - "1", - "12" + "localhost" ], "port": "6969", "path": [ @@ -323,12 +344,9 @@ } }, "url": { - "raw": "192.168.1.12:6969/api", + "raw": "localhost:6969/api", "host": [ - "192", - "168", - "1", - "12" + "localhost" ], "port": "6969", "path": [ @@ -499,7 +517,33 @@ } }, "response": [] + }, + { + "name": "ResetConfig to default", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": \"reset_config_to_default_values\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/api", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "api" + ] + } + }, + "response": [] } - ], - "protocolProfileBehavior": {} + ] } \ No newline at end of file