From 006e793d4f704c514cb53ea396a76d18493a9f6c Mon Sep 17 00:00:00 2001 From: Ng Heng Khai Date: Tue, 26 Mar 2024 03:42:54 +0800 Subject: [PATCH] Add files via upload --- ThunderClient/EndpointTests.json | 160 +++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 ThunderClient/EndpointTests.json diff --git a/ThunderClient/EndpointTests.json b/ThunderClient/EndpointTests.json new file mode 100644 index 0000000..44d6926 --- /dev/null +++ b/ThunderClient/EndpointTests.json @@ -0,0 +1,160 @@ +{ + "client": "Thunder Client", + "collectionName": "SmartInventory", + "dateExported": "2024-03-25T07:31:20.903Z", + "version": "1.1", + "folders": [ + { + "_id": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Customer", + "containerId": "", + "created": "2024-03-24T04:28:29.833Z", + "sortNum": 10000 + } + ], + "requests": [ + { + "_id": "9e08f024-8b20-4f4d-b49f-b45d3c5a8bac", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Create Customer", + "url": "http://localhost:9090/customers", + "method": "POST", + "sortNum": 30000, + "created": "2024-03-24T04:29:24.892Z", + "modified": "2024-03-24T07:13:21.478Z", + "headers": [], + "params": [], + "body": { + "type": "json", + "raw": "{\n \"firstName\": \"Ugandan\",\n \"lastName\": \"Knuckles\",\n \"country\": \"Uganda\",\n \"address\": \"show me da way\",\n \"postalCode\": 453201,\n \"phoneNumber\": 98765432,\n \"email\": \"ugandan@knuckles.com\"\n}", + "form": [] + }, + "tests": [] + }, + { + "_id": "77ac4300-178d-4d25-ab90-7132d09ba81f", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Get All Customers", + "url": "http://localhost:9090/customers", + "method": "GET", + "sortNum": 40000, + "created": "2024-03-24T04:29:30.285Z", + "modified": "2024-03-24T04:38:04.649Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "171a9cf1-4dcb-443a-bf62-3c32cab85409", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Get 1 Customer", + "url": "http://localhost:9090/customers/{uuid}", + "method": "GET", + "sortNum": 50000, + "created": "2024-03-24T04:29:42.726Z", + "modified": "2024-03-24T14:49:05.718Z", + "headers": [], + "params": [ + { + "name": "uuid", + "value": "1", + "isPath": true + } + ], + "tests": [] + }, + { + "_id": "7d08442c-1f3c-4482-95d1-9d5cfa782411", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Search by FirstName", + "url": "http://localhost:9090/customers/search?firstName=e", + "method": "GET", + "sortNum": 55000, + "created": "2024-03-24T08:58:37.049Z", + "modified": "2024-03-24T09:19:19.062Z", + "headers": [], + "params": [ + { + "name": "firstName", + "value": "e", + "isPath": false + } + ], + "tests": [] + }, + { + "_id": "a2f8e24c-f9c2-49f1-8d37-bdb64b4c6286", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Update Customer", + "url": "http://localhost:9090/customers/{uuid}", + "method": "PUT", + "sortNum": 60000, + "created": "2024-03-24T04:29:48.079Z", + "modified": "2024-03-24T06:30:25.441Z", + "headers": [], + "params": [ + { + "name": "uuid", + "value": "2", + "isPath": true + } + ], + "body": { + "type": "json", + "raw": "{\n \"firstName\": \"Ugandan\",\n \"lastName\": \"Knuckles\",\n \"country\": \"Uganda\",\n \"address\": \"show me da way\",\n \"postalCode\": 453201,\n \"phoneNumber\": 98765432,\n \"email\": \"ugandan@knuckes.com\"\n}", + "form": [] + }, + "tests": [] + }, + { + "_id": "40e4584b-eb1a-43c6-8eb2-8cf2f13beb4a", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Delete Customer", + "url": "http://localhost:9090/customers/{id}", + "method": "DELETE", + "sortNum": 70000, + "created": "2024-03-24T04:29:54.857Z", + "modified": "2024-03-24T06:30:32.997Z", + "headers": [], + "params": [ + { + "name": "id", + "value": "4", + "isPath": true + } + ], + "tests": [] + }, + { + "_id": "460ee27b-cfe3-448e-ab60-8f402c8acd0b", + "colId": "5c57004c-dd7a-4942-ab04-3da3fb363ce1", + "containerId": "f5054f57-4880-45fa-b08a-f4d9b5359c2c", + "name": "Add Review to Customer", + "url": "http://localhost:9090/customers/{id}/reviews", + "method": "POST", + "sortNum": 80000, + "created": "2024-03-24T14:43:48.836Z", + "modified": "2024-03-24T14:47:53.708Z", + "headers": [], + "params": [ + { + "name": "id", + "value": "1", + "isPath": true + } + ], + "body": { + "type": "json", + "raw": "{\n \"category\": \"Books\",\n \"reviewContent\": \"Expected more from the ending, felt rushed.\",\n \"rating\": 3 ,\n \"productId\": 1 \n}", + "form": [] + }, + "tests": [] + } + ] +} \ No newline at end of file