From e29ecd6bd5e16da073636ad02b2eb90ed285dbef Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Tue, 1 Nov 2022 12:20:05 +0000 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9E=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- duplicate_api.postman_collection.json | 222 ++++++++++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 duplicate_api.postman_collection.json diff --git a/duplicate_api.postman_collection.json b/duplicate_api.postman_collection.json new file mode 100644 index 0000000..1a90509 --- /dev/null +++ b/duplicate_api.postman_collection.json @@ -0,0 +1,222 @@ +{ + "info": { + "_postman_id": "303bcbe8-49ca-4082-8ef5-b8e18b7d3b3a", + "name": "duplicate_api", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "Invalid Request", + "request": { + "method": "POST", + "header": [], + "url": "http://server.domain/duplicate_api.php" + }, + "response": [] + }, + { + "name": "insertDuplicate", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"file1\":\"ff2\",\r\n \"file2\":\"ff1\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?insertDuplicate", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "insertDuplicate", + "value": null + } + ] + } + }, + "response": [] + }, + { + "name": "getDuplicates", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"amount\":50\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?getDuplicates", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "getDuplicates", + "value": null + } + ] + } + }, + "response": [] + }, + { + "name": "noDuplicate", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"duplicateId\":5\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?noDuplicate", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "noDuplicate", + "value": null + } + ] + } + }, + "response": [] + }, + { + "name": "isDuplicate", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"duplicateId\":2\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?isDuplicate", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "isDuplicate", + "value": null + } + ] + } + }, + "response": [] + }, + { + "name": "totalDuplicates", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?totalDuplicates", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "totalDuplicates", + "value": null + } + ] + } + }, + "response": [] + }, + { + "name": "undoDuplicate", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"duplicateId\":2\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "http://server.domain/duplicate_api.php?undoDuplicate", + "protocol": "http", + "host": [ + "server", + "domain" + ], + "path": [ + "duplicate_api.php" + ], + "query": [ + { + "key": "undoDuplicate", + "value": null + } + ] + } + }, + "response": [] + } + ] +} \ No newline at end of file