forked from Empathies/cloud-native-workshop-techorama-24
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsomnia_collection.json
1 lines (1 loc) · 18.1 KB
/
Insomnia_collection.json
1
{"_type":"export","__export_format":4,"__export_date":"2024-05-05T10:15:20.626Z","__export_source":"insomnia.desktop.app:v9.0.0","resources":[{"_id":"req_cc6a3660818a415f8950d90b4ee0100f","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463211900,"created":1714427849040,"url":"{{baseUrl}}/students","name":"User register","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"nick@dometrain.com\",\n\t\"password\": \"Test1234!\",\n\t\"fullname\": \"Nick Chapsas\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{},"metaSortKey":-1714463211881,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_3aa696a37a9e477997679d908af0a9ce","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714463234832,"created":1714463205872,"name":"Students","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1714463205872,"_type":"request_group"},{"_id":"wrk_351a2743821c4db0abdb11f0ad06d8bc","parentId":null,"modified":1714404036064,"created":1714404036064,"name":"Student Endpoints","description":"","scope":"collection","_type":"workspace"},{"_id":"req_5195c7ff5a824e81961448fc0de5c22e","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463240552,"created":1714404204023,"url":"{{baseUrl}}/identity/login","name":"User login","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"nick@dometrain.com\",\n\t\"password\": \"Test1234!\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{},"metaSortKey":-1714463211931,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_50938ff97a3f4d929d865ee787796065","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463218119,"created":1714429954001,"url":"{{baseUrl}}/students/me","name":"Get student by me","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463211981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7035afb3262d4b9ea8bf0d3284e736db","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463252179,"created":1714427819013,"url":"{{baseUrl}}/students/","name":"Delete student by id","description":"","method":"DELETE","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{},"metaSortKey":-1714463211981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8899f4d795144acea89310f704adb6e6","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714903039618,"created":1714427297237,"url":"{{baseUrl}}/students/cf89bc8f-0a0e-4430-bcab-40a20316e1ac","name":"Get student by id","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{},"metaSortKey":-1714463211981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cb690d72567347f68e74873ed6205642","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463220595,"created":1714427108042,"url":"{{baseUrl}}/students/","name":"Get all students","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463211981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cf53a593c1954c639d216904065516ee","parentId":"fld_3aa696a37a9e477997679d908af0a9ce","modified":1714463216500,"created":1714427807868,"url":"{{baseUrl}}/students/nick@dometrain.com","name":"Get student by email","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{},"metaSortKey":-1714463211981,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_03ec517b75c0441f8dd4f3fd0b8ef45e","parentId":"fld_aff8ed45f2af438486191a37c46f4ab5","modified":1714658321996,"created":1714464568976,"url":"{{baseUrl}}/courses/from-zero-to-hero-unit-testing","name":"Get by id or slug","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463389674,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_aff8ed45f2af438486191a37c46f4ab5","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714463230876,"created":1714463230876,"name":"Courses","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1714463230876,"_type":"request_group"},{"_id":"req_9e5ec80879f244df9b01483c38292612","parentId":"fld_aff8ed45f2af438486191a37c46f4ab5","modified":1714464985437,"created":1714464739500,"url":"{{baseUrl}}/courses/3c025915-b7a2-4b21-b166-406812bd8c90","name":"Update course","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"From Zero to Hero: Unit Testing in .NET\",\n\t\"description\": \"Learn Unit testing\",\n\t\"author\": \"Nick Chapsas\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463389674,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ac41edc2134b4522a90d92f8ba8f67e2","parentId":"fld_aff8ed45f2af438486191a37c46f4ab5","modified":1714465105994,"created":1714464776298,"url":"{{baseUrl}}/courses/3c025915-b7a2-4b21-b166-406812bd8c90","name":"Delete by id","description":"","method":"DELETE","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463389674,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3ea759b4da4544e783aeef55893f8425","parentId":"fld_aff8ed45f2af438486191a37c46f4ab5","modified":1714464728284,"created":1714464535170,"url":"{{baseUrl}}/courses","name":"Get all courses","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463389774,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_db7d8687db0442f59a2c7ac3f109425d","parentId":"fld_aff8ed45f2af438486191a37c46f4ab5","modified":1714903076934,"created":1714463387280,"url":"{{baseUrl}}/courses","name":"Create course","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"From Zero to Hero: Unit Testing\",\n\t\"description\": \"Learn Unit testing\",\n\t\"author\": \"Nick Chapsas\"\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714463389774,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5b1dcf3e0546459bb31a44eb87992b07","parentId":"fld_c55f7185fd8645b4b5008a6b27f0f49c","modified":1714759655418,"created":1714486421775,"url":"{{baseUrl}}/cart/me/courses/9dc8a467-a1e1-4a41-809e-e35d8f2bfccb","name":"Add item in cart","description":"","method":"POST","body":{"mimeType":"application/json","text":""},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714474282999,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c55f7185fd8645b4b5008a6b27f0f49c","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714485166990,"created":1714485166990,"name":"Cart","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1714485166990,"_type":"request_group"},{"_id":"req_f8eefc0b5ce8446a9a519be992926aa7","parentId":"fld_c55f7185fd8645b4b5008a6b27f0f49c","modified":1714663784283,"created":1714485176224,"url":"{{baseUrl}}/cart/me","name":"Get my cart","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714479729561.5,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_470057d5266544cf96d9003d07218837","parentId":"fld_c55f7185fd8645b4b5008a6b27f0f49c","modified":1714646129064,"created":1714486492458,"url":"{{baseUrl}}/cart/me/courses/2c860bb5-2277-41a7-bead-23a35695a3b2","name":"Delete item from cart","description":"","method":"DELETE","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714481091202.125,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f505070b7fd04187809d5eb11824a928","parentId":"fld_c55f7185fd8645b4b5008a6b27f0f49c","modified":1714486564760,"created":1714486558649,"url":"{{baseUrl}}/cart/me","name":"Clear cart","description":"","method":"DELETE","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714482452842.75,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_edd16d3a58e3492ab89cdcc54ef5bdd9","parentId":"fld_f60e1f86dadf414aab98329e4447a003","modified":1714491737732,"created":1714491737732,"url":"{{baseUrl}}/enrollments/6373bc74-6afa-449d-9043-eb6ea8491619","name":"Unenroll","description":"","method":"PUT","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714484748031.0625,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f60e1f86dadf414aab98329e4447a003","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714491618405,"created":1714491612216,"name":"Enrollments","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1714491612216,"_type":"request_group"},{"_id":"req_78292c09404f48dc82bcdb314b185f35","parentId":"fld_f60e1f86dadf414aab98329e4447a003","modified":1714491742037,"created":1714491683470,"url":"{{baseUrl}}/enrollments/6373bc74-6afa-449d-9043-eb6ea8491619","name":"Enroll","description":"","method":"DELETE","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714487043219.375,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b69a885b1e7e4dba9c1432edbd427434","parentId":"fld_f60e1f86dadf414aab98329e4447a003","modified":1714491676792,"created":1714491633596,"url":"{{baseUrl}}/enrollments","name":"Get enrollments","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714491633596,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6c4c04d96abd4e58ab43e6d07f6777c0","parentId":"fld_7027b7e2050f4810910f208dd573f4ad","modified":1714759690562,"created":1714744776064,"url":"{{baseUrl}}/orders","name":"Create order","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"courseIds\" : [\n\t\t\"9dc8a467-a1e1-4a41-809e-e35d8f2bfccb\"\n\t]\n}"},"preRequestScript":"","parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714744776064,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_7027b7e2050f4810910f208dd573f4ad","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714744766975,"created":1714744766975,"name":"Orders","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1714744766975,"_type":"request_group"},{"_id":"req_00870c34c1d4416b8e1204ed0fa8c066","parentId":"fld_7027b7e2050f4810910f208dd573f4ad","modified":1714745367554,"created":1714744891156,"url":"{{baseUrl}}/orders/1aa55e8f-5392-42fe-86d7-44de708f7430","name":"Get by id","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714744806250,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cdc4f76bd6d04a25a2acff5c70f140f9","parentId":"fld_7027b7e2050f4810910f208dd573f4ad","modified":1714744860534,"created":1714744836436,"url":"{{baseUrl}}/orders","name":"Get all orders","description":"","method":"GET","body":{},"preRequestScript":"","parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/9.0.0"}],"authentication":{"type":"bearer","token":"{{authToken}}"},"metaSortKey":-1714744836436,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_07b4fefd63be6ae1bd7dd361e85729252ac19393","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714903029898,"created":1714404036065,"name":"Base Environment","data":{"baseUrl":"http://localhost:5148","authToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjYTYzYzVhZi1hZTI2LTQ3YjYtODIzOC03MGY1YTJlYjc4ZWEiLCJzdWIiOiJuaWNrQGRvbWV0cmFpbi5jb20iLCJlbWFpbCI6Im5pY2tAZG9tZXRyYWluLmNvbSIsInVzZXJfaWQiOiJiMDgzZDc2YS1jMGQ4LTQ5MTQtYmYzNC05ODlmZDQ2NWJmNGIiLCJpc19hZG1pbiI6dHJ1ZSwibmJmIjoxNzE0OTAzMDIyLCJleHAiOjE3MTQ5MzE4MjIsImlhdCI6MTcxNDkwMzAyMiwiaXNzIjoiaHR0cHM6Ly9pZC5kb21ldHJhaW4uY29tIiwiYXVkIjoiaHR0cHM6Ly9kb21ldHJhaW4uY29tIn0.dNfX9h9COeelUEYdTwtmgkdbTBGeYjGQ2C4n6Wm3478"},"dataPropertyOrder":{"&":["baseUrl","authToken"]},"color":null,"isPrivate":false,"metaSortKey":1714404036065,"_type":"environment"},{"_id":"jar_07b4fefd63be6ae1bd7dd361e85729252ac19393","parentId":"wrk_351a2743821c4db0abdb11f0ad06d8bc","modified":1714404036066,"created":1714404036066,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]}