-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: create thunder client collection
- Loading branch information
Showing
7 changed files
with
243 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
baseUrl="http://localhost:3000" | ||
orySessionToken="" | ||
user1Id="" | ||
user1CatProfileId="" | ||
user2Id="" | ||
user2FosteringId="" | ||
orySessionToken1="" | ||
orySessionToken2="" | ||
orySessionToken3="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
.vscode/thunder-tests/collections/tc_col_cat-fostering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
{ | ||
"_id": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"colName": "CatFostering", | ||
"created": "2024-05-19T19:03:45.980Z", | ||
"sortNum": 10000, | ||
"folders": [], | ||
"requests": [ | ||
{ | ||
"_id": "75c7aff3-5a3e-4085-aa4f-e5fa78308a68", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "GET current-user", | ||
"url": "/api/users/current-user", | ||
"method": "GET", | ||
"sortNum": 10000, | ||
"created": "2024-05-19T19:05:21.811Z", | ||
"modified": "2024-05-19T19:17:00.791Z", | ||
"headers": [] | ||
}, | ||
{ | ||
"_id": "c92cb441-f570-45ab-8a46-e1be1c88b323", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "POST cat-profiles", | ||
"url": "/api/cat-profiles", | ||
"method": "POST", | ||
"sortNum": 20000, | ||
"created": "2024-05-19T19:07:50.514Z", | ||
"modified": "2024-05-19T19:56:31.801Z", | ||
"headers": [], | ||
"body": { | ||
"type": "json", | ||
"raw": "{\n \"name\": \"Romeo\",\n \"description\": \"Romeo is a very playful cat, he loves to play with curtains and sleep on the couch.\",\n \"age\": 2\n}", | ||
"form": [] | ||
}, | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": "{{orySessionToken}}" | ||
} | ||
}, | ||
{ | ||
"_id": "719143af-9033-4fb9-9e4d-d3f309ea4fde", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "PATCH cat-profiles/:id", | ||
"url": "/api/cat-profiles/{catProfileId}", | ||
"method": "PATCH", | ||
"sortNum": 30000, | ||
"created": "2024-05-19T19:10:10.851Z", | ||
"modified": "2024-05-19T19:59:38.045Z", | ||
"headers": [], | ||
"params": [ | ||
{ | ||
"name": "catProfileId", | ||
"value": "{{user1CatProfileId}}", | ||
"isPath": true | ||
} | ||
], | ||
"body": { | ||
"type": "json", | ||
"raw": "{\n \"age\": 4\n}", | ||
"form": [] | ||
}, | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": "{{orySessionToken}}" | ||
} | ||
}, | ||
{ | ||
"_id": "8360df1f-1907-47e6-9306-bf78eb2950be", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "POST fostering", | ||
"url": "/api/fostering", | ||
"method": "POST", | ||
"sortNum": 40000, | ||
"created": "2024-05-19T19:11:13.012Z", | ||
"modified": "2024-05-19T19:24:11.344Z", | ||
"headers": [], | ||
"body": { | ||
"type": "json", | ||
"raw": "{\n \"catProfileId\": \"{{user1CatProfileId}}\",\n \"startDate\": \"2023-12-01\",\n \"endDate\": \"2023-12-07\"\n }", | ||
"form": [] | ||
}, | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": "{{orySessionToken}}" | ||
} | ||
}, | ||
{ | ||
"_id": "733d1f15-2637-48a3-8f95-fb9bdbad2a6d", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "GET fostering/:id", | ||
"url": "/api/fostering/{fosteringId}", | ||
"method": "GET", | ||
"sortNum": 50000, | ||
"created": "2024-05-19T19:13:22.742Z", | ||
"modified": "2024-05-19T19:25:16.059Z", | ||
"headers": [], | ||
"params": [ | ||
{ | ||
"name": "fosteringId", | ||
"value": "{{user2FosteringId}}", | ||
"isPath": true | ||
} | ||
] | ||
}, | ||
{ | ||
"_id": "c80cd784-6357-4c55-84cd-69922d916146", | ||
"colId": "68f2794f-94c6-4be1-847f-46cc09aef587", | ||
"containerId": "", | ||
"name": "PATCH approve fostering/:id", | ||
"url": "/api/fostering/{fosteringId}/approve", | ||
"method": "PATCH", | ||
"sortNum": 60000, | ||
"created": "2024-05-19T19:14:02.538Z", | ||
"modified": "2024-05-19T19:27:01.544Z", | ||
"headers": [], | ||
"params": [ | ||
{ | ||
"name": "fosteringId", | ||
"value": "{{user2FosteringId}}", | ||
"isPath": true | ||
} | ||
] | ||
} | ||
], | ||
"settings": { | ||
"auth": { | ||
"type": "bearer", | ||
"bearer": "{{orySessionToken}}" | ||
}, | ||
"options": { | ||
"baseUrl": "{{baseUrl}}" | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
.vscode/thunder-tests/environments/tc_env_cat-fostering-demo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"_id": "11d9d233-af83-41c6-9dce-0afe40547244", | ||
"name": "CatFostering Demo", | ||
"default": true, | ||
"sortNum": 20000, | ||
"created": "2024-05-19T19:39:54.612Z", | ||
"modified": "2024-05-19T19:39:54.612Z", | ||
"data": [ | ||
{ | ||
"name": "baseUrl", | ||
"value": "http://localhost:3000" | ||
}, | ||
{ | ||
"name": "orySessionToken", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user1Id", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user1CatProfileId", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user2Id", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user2FosteringId", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "orySessionToken1", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "orySessionToken2", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "orySessionToken3", | ||
"value": "" | ||
} | ||
], | ||
"envFile": "../../.env.demo.thunderclient" | ||
} |
36 changes: 36 additions & 0 deletions
36
.vscode/thunder-tests/environments/tc_env_cat-fostering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"_id": "361ba671-579f-4a65-86ec-00fd1a930b2d", | ||
"name": "CatFostering", | ||
"default": false, | ||
"sortNum": 10000, | ||
"created": "2024-05-19T19:05:50.272Z", | ||
"modified": "2024-05-19T19:05:50.272Z", | ||
"data": [ | ||
{ | ||
"name": "baseUrl", | ||
"value": "http://localhost:3000" | ||
}, | ||
{ | ||
"name": "orySessionToken", | ||
"value": "", | ||
"secret": true | ||
}, | ||
{ | ||
"name": "user1Id", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user1CatProfileId", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user2Id", | ||
"value": "" | ||
}, | ||
{ | ||
"name": "user2FosteringId", | ||
"value": "" | ||
} | ||
], | ||
"envFile": "../../.env.thunderclient" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"_id": "3d0ba032-a98d-4a8e-925f-7f130c8f985c", | ||
"name": "(Local Env)", | ||
"default": false, | ||
"global": true, | ||
"local": true, | ||
"sortNum": -1, | ||
"created": "2024-05-19T19:05:35.856Z", | ||
"modified": "2024-05-19T19:05:35.856Z", | ||
"data": [] | ||
} |
This file was deleted.
Oops, something went wrong.