From 3caf06b5e178a0de61eea33ff155e258ac16c698 Mon Sep 17 00:00:00 2001 From: "Leon Etienne (ubuntu wsl)" Date: Mon, 28 Sep 2020 14:11:21 +0200 Subject: [PATCH] Updated postman examples --- Tubio_rest.postman_collection.json | 62 ++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/Tubio_rest.postman_collection.json b/Tubio_rest.postman_collection.json index 95a839b..c931053 100644 --- a/Tubio_rest.postman_collection.json +++ b/Tubio_rest.postman_collection.json @@ -87,13 +87,40 @@ "response": [] }, { - "name": "FetchQueue", + "name": "FetchSessionCache", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\r\n \"request\": \"fetch_queue\"\r\n}", + "raw": "{\r\n \"request\": \"fetch_session_cache\",\r\n \"max_age\": -1,\r\n \"max_num:\": 5\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/api", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "api" + ] + } + }, + "response": [] + }, + { + "name": "FetAlltimeCache", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": \"fetch_session_cache\"\r\n}", "options": { "raw": { "language": "json" @@ -211,13 +238,40 @@ "response": [] }, { - "name": "FetchLogs", + "name": "FetchSessionLogs", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\r\n \"request\": \"fetch_logs\"\r\n}", + "raw": "{\r\n \"request\": \"fetch_logs\"\r\n \"max_age\": -1,\r\n \"max_num\": -1\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "localhost:6969/api", + "host": [ + "localhost" + ], + "port": "6969", + "path": [ + "api" + ] + } + }, + "response": [] + }, + { + "name": "FetchAlltimeLogs", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"request\": \"fetch_logs\"\r\n \"max_age\": -1,\r\n \"max_num\": -1\r\n}", "options": { "raw": { "language": "json"