From 38bb2c0c424ce382183fac436fdf7cb3b77ffcab Mon Sep 17 00:00:00 2001 From: Th0rn0 Date: Tue, 30 Apr 2024 19:28:50 +0100 Subject: [PATCH] updated postman --- api.postman_collection.json | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/api.postman_collection.json b/api.postman_collection.json index a17b52f..5b78f9e 100644 --- a/api.postman_collection.json +++ b/api.postman_collection.json @@ -28,6 +28,24 @@ }, "response": [] }, + { + "name": "stop", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{apiUrl}}/player/stop", + "host": [ + "{{apiUrl}}" + ], + "path": [ + "player", + "stop" + ] + } + }, + "response": [] + }, { "name": "volume", "request": { @@ -430,7 +448,7 @@ "basic": [ { "key": "password", - "value": "changeme", + "value": "{{password}}", "type": "string" }, { @@ -461,15 +479,14 @@ } ], "variable": [ - { - "key": "accessKey", - "value": "", - "type": "string" - }, { "key": "apiUrl", "value": "http://localhost:8888", "type": "string" + }, + { + "key": "password", + "value": "changeme" } ] } \ No newline at end of file