Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nhkhai authored Mar 25, 2024
1 parent fc24109 commit 006e793
Showing 1 changed file with 160 additions and 0 deletions.
160 changes: 160 additions & 0 deletions ThunderClient/EndpointTests.json
Original file line number Diff line number Diff line change
@@ -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\": \"[email protected]\"\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\": \"[email protected]\"\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": []
}
]
}

0 comments on commit 006e793

Please sign in to comment.