From a14413dc12ce355168a3290dc7be2fd86cc822b7 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 14 Aug 2018 14:02:26 -0400 Subject: [PATCH] Update postman some --- tools/TGS.postman_collection.json | 70 +++++++++++++++++++++++-------- 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/tools/TGS.postman_collection.json b/tools/TGS.postman_collection.json index 84428d142c..01685c7275 100644 --- a/tools/TGS.postman_collection.json +++ b/tools/TGS.postman_collection.json @@ -1,13 +1,12 @@ { "info": { - "_postman_id": "768127a5-f5e5-44f7-a6a1-7af42f975fb2", + "_postman_id": "d02378a8-d5e6-421e-9ba9-23184503cb14", "name": "TGS", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Administration", - "description": null, "item": [ { "name": "Get Update Versions", @@ -148,7 +147,6 @@ }, { "name": "Users", - "description": null, "item": [ { "name": "Read Current User", @@ -659,11 +657,9 @@ }, { "name": "Instance", - "description": null, "item": [ { "name": "Chat", - "description": null, "item": [ { "name": "Make ID 1 use NS auth", @@ -693,7 +689,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"id\": \"1\",\n\t\"connectionString\": \"irc.rizon.net;6667;tgs4_test;0;2;asdfasdf\"\n}" + "raw": "{\n\t\"id\": 1,\n\t\"connectionString\": \"irc.rizon.net;6667;tgs4_test;0;2;asdfasdf\"\n}" }, "url": { "raw": "localhost:5000/Chat", @@ -824,7 +820,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"id\": \"1\",\n\t\"connectionString\": \"irc.rizon.net;6667;tgs4_test;0;1;asdfasdf\"\n}" + "raw": "{\n\t\"id\": 1,\n\t\"connectionString\": \"irc.rizon.net;6667;tgs4_test;0;1;asdfasdf\"\n}" }, "url": { "raw": "localhost:5000/Chat", @@ -910,7 +906,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"id\": 1,\n\t\"channels\": [\n\t\t{\n\t\t\t\"ircChannel\": \"#botbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true\n\t\t}\n\t\t]\n}" + "raw": "{\n\t\"id\": 1,\n\t\"channels\": [\n\t\t{\n\t\t\t\"ircChannel\": \"#botbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true,\n\t\t\t\"isUpdatesChannel\": true\n\t\t}\n\t\t]\n}" }, "url": { "raw": "localhost:5000/Chat", @@ -1039,7 +1035,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"id\": 1,\n\t\"channels\": [\n\t\t{\n\t\t\t\"ircChannel\": \"#coderbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true\n\t\t},\n\t\t{\n\t\t\t\"ircChannel\": \"#botbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true\n\t\t}\n\t\t]\n}" + "raw": "{\n\t\"id\": 1,\n\t\"channels\": [\n\t\t{\n\t\t\t\"ircChannel\": \"#coderbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true,\n\t\t\t\"isUpdatesChannel\": true\n\t\t},\n\t\t{\n\t\t\t\"ircChannel\": \"#botbus\",\n\t\t\t\"isAdminChannel\": true,\n\t\t\t\"isWatchdogChannel\": true,\n\t\t\t\"isUpdatesChannel\": true\n\t\t}\n\t\t]\n}" }, "url": { "raw": "localhost:5000/Chat", @@ -1190,7 +1186,6 @@ }, { "name": "Users", - "description": null, "item": [ { "name": "Add admin to Instace ID 1 all perms", @@ -1284,7 +1279,6 @@ }, { "name": "Jobs", - "description": null, "item": [ { "name": "List Ids", @@ -1361,14 +1355,14 @@ "raw": "{\n\t\"userId\": 1,\n\t\"byondRights\": -1,\n\t\"dreamDaemonRights\": -1,\n\t\"dreamMakerRights\": -1,\n\t\"repositoryRights\": -1,\n\t\"chatSettingsRights\": -1,\n\t\"configurationRights\": -1\n}" }, "url": { - "raw": "localhost:5000/Job/29", + "raw": "localhost:5000/Job/1", "host": [ "localhost" ], "port": "5000", "path": [ "Job", - "29" + "1" ] } }, @@ -1445,7 +1439,6 @@ }, { "name": "Byond", - "description": null, "item": [ { "name": "List installed versions", @@ -1625,7 +1618,6 @@ }, { "name": "Repo", - "description": null, "item": [ { "name": "Read Info", @@ -1827,7 +1819,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"updateFromOrigin\": true,\n\t\"reference\": \"master\",\n\t\"newTestMerges\": [\n\t\t{\n\t\t\t\"number\": 39514,\n\t\t\t\"pullRequestRevision\": \"28c6762\",\n\t\t\t\"comment\": \"babby's first pr\"\n\t\t},\n\t\t{\n\t\t\t\"number\": 39512,\n\t\t\t\"pullRequestRevision\": \"09be343791fd233444fb3985ef54496e277397f7\",\n\t\t\t\"comment\": \"gud boi antur\"\n\t\t}\n\t\t]\n}" + "raw": "{\n\t\"updateFromOrigin\": true,\n\t\"reference\": \"master\",\n\t\"newTestMerges\": [\n\t\t{\n\t\t\t\"number\": 39147,\n\t\t\t\"comment\": \"electric boogaloo\"\n\t\t}\n\t\t]\n}" }, "url": { "raw": "localhost:5000/Repository", @@ -1933,7 +1925,6 @@ }, { "name": "Compiler", - "description": null, "item": [ { "name": "Read", @@ -1977,6 +1968,49 @@ } }, "response": [] + }, + { + "name": "Compile", + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "User-Agent", + "value": "Postman/1.0" + }, + { + "key": "Api", + "value": "Tgstation.Server.Api/4.0.0.0" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Instance", + "value": "1" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "localhost:5000/DreamMaker", + "host": [ + "localhost" + ], + "port": "5000", + "path": [ + "DreamMaker" + ] + } + }, + "response": [] } ], "_postman_isSubFolder": true @@ -2123,7 +2157,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"name\": \"Test Instance\",\n \"path\": \"D:\\\\TestInstance\"\n}" + "raw": "{\n \"name\": \"Test Instance\",\n \"path\": \"C:\\\\TestInstance\"\n}" }, "url": { "raw": "localhost:5000/Instance",