-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_Course_Tests.json
1 lines (1 loc) · 9.32 KB
/
Insomnia_Course_Tests.json
1
{"_type":"export","__export_format":4,"__export_date":"2023-06-13T04:38:00.773Z","__export_source":"insomnia.desktop.app:v2023.2.2","resources":[{"_id":"req_4998a8af68cb4cbe9480e7bb84c058c3","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686613905902,"created":1686597199355,"url":"{{baseurl}}/courses","name":"Create Course","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"subject\": \"CS\",\n\t\"number\": \"123\",\n\t\"title\": \"CS class\",\n\t\"term\": \"sp22\",\n\t\"instructorId\": \"6487a9553d6b68b71b7e7ed3\",\n\t\"students\": [ \n\t\t\"123\",\n\t\t\"234\",\n\t\t\"test\"\n\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NDg3YTk1NTNkNmI2OGI3MWI3ZTdlZDEiLCJuYW1lIjoiR29yZG9uICd0aGUgbnV0JyBSeWFuIiwiZW1haWwiOiJnZHJAZ21haWwuY29tIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNjg2NjEyNTk1LCJleHAiOjE2ODY2OTg5OTV9.TSn_rBnfBLEFR2w57f5KWEtGjAUFLv9HfRdhKYDhW6k","disabled":false},"metaSortKey":-1686603060520.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_a93bf3f9b78b4c7081d50f519d717fd3","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1686606873595,"created":1686606873595,"name":"Course","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1686606873595,"_type":"request_group"},{"_id":"wrk_86e7b858b0d145d696d93a9cf70fdb40","parentId":null,"modified":1686597169218,"created":1686597160591,"name":"Main","description":"","scope":"collection","_type":"workspace"},{"_id":"req_1367acbc5e0242db9e6644b770953ca7","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686606883127,"created":1686598565947,"url":"{{baseurl}}/courses","name":"Get All Courses","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686603060470.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_75cfa71aa9fa48ed808fbfedc403faca","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686627090252,"created":1686599928944,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7a","name":"Get course by ID","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686603060420.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c98f853d20aa41958ba2c21a1ca129d5","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686627223801,"created":1686627185762,"url":"{{baseurl}}/courses/debug","name":"[DEBUG] get all course info","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686603060395.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dbea1a966faa4a1ea105595db114fdf2","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686630357316,"created":1686603046723,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7b","name":"Edit Course","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"subject\": \"MTH\",\n\t\"number\": \"251\",\n\t\"title\": \"Calc 2\"\n}\n"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODdhOTU1M2Q2YjY4YjcxYjdlN2VkMyIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjYxMzkxOCwiZXhwIjoxNjg2NzAwMzE4fQ.V_ZLPrFN53epUXsKXeqq-Zqq7DwGA8PiGbq3wjdQXIw","disabled":false},"metaSortKey":-1686603060370.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9b923304b6454979a12e3df1afa7e92b","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686606885373,"created":1686604822803,"url":"{{baseurl}}/courses/64878d5313a6258ef4ec113f","name":"New Request","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686603060320.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d4da073636f3447a8297b2c153afbea7","parentId":"fld_b864687fc74441069fb8b5db3e4b35fe","modified":1686630887258,"created":1686628371004,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7c/students","name":"Add student to course","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"add\": [ \"6487e28f1885a2c1b4212a77\" ],\n\t\"remove\": [ ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODdlMjhmMTg4NWEyYzFiNDIxMmE3MiIsIm5hbWUiOiJHb3Jkb24gJ3RoZSBudXQnIFJ5YW4iLCJlbWFpbCI6ImdkckBnbWFpbC5jb20iLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE2ODY2MjkxNzQsImV4cCI6MTY4NjcxNTU3NH0.fs75dj8dOeFYqqw6svxNsCovJIuozJCMKZG_SUfn1Nc","disabled":false},"metaSortKey":-1686628368297.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_b864687fc74441069fb8b5db3e4b35fe","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686628400937,"created":1686628361777,"name":"Students","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1686603060307.75,"_type":"request_group"},{"_id":"req_ab533a6209fb46799ba8a74d8dae757b","parentId":"fld_b864687fc74441069fb8b5db3e4b35fe","modified":1686630940654,"created":1686628368379,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7c/students","name":"Get students in course","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODdlMjhmMTg4NWEyYzFiNDIxMmE3NCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjYzMDU1NywiZXhwIjoxNjg2NzE2OTU3fQ.4LVm5mF8GTa_3Zvgt_93IwVtClzA0y1pHYN6zCcIYmI","disabled":false},"metaSortKey":-1686628368288.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4677dedeaa1d4a709b3278fd025498da","parentId":"fld_b864687fc74441069fb8b5db3e4b35fe","modified":1686628489295,"created":1686628384770,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7a/roster","name":"Get roster","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686628368279,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8ccd226ce4f74a54b51f4e7de30be0ab","parentId":"fld_a93bf3f9b78b4c7081d50f519d717fd3","modified":1686628494511,"created":1686628394754,"url":"{{baseurl}}/courses/6487e28f1885a2c1b4212a7a/assignments","name":"Get assignments","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686603060295.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_fe5f0ce053189436eef6e24cd807fcc2f7a7fe75","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1686597217130,"created":1686597160598,"name":"Base Environment","data":{"baseurl":"http://localhost:8000"},"dataPropertyOrder":{"&":["baseurl"]},"color":null,"isPrivate":false,"metaSortKey":1686597160598,"_type":"environment"},{"_id":"jar_fe5f0ce053189436eef6e24cd807fcc2f7a7fe75","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1686597160601,"created":1686597160601,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_383df006e99c499181ccb51a346a7ff4","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1686597160593,"created":1686597160593,"fileName":"My Collection","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"uts_df508302a09641669d11ca3a7d026bb3","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1681868411443,"created":1681868411443,"name":"Example Test Suite","_type":"unit_test_suite"},{"_id":"uts_f01ddef1cc2843b882aef29af5784130","parentId":"wrk_86e7b858b0d145d696d93a9cf70fdb40","modified":1681868411443,"created":1681868411443,"name":"Example Test Suite","_type":"unit_test_suite"}]}