-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_Assignments_Tests.json
1 lines (1 loc) · 14.2 KB
/
Insomnia_Assignments_Tests.json
1
{"_type":"export","__export_format":4,"__export_date":"2023-06-13T20:53:09.146Z","__export_source":"insomnia.desktop.app:v2023.2.2","resources":[{"_id":"req_f004f25fe6cf475f8ad67913f8a7ccb3","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686683791540,"created":1686626048440,"url":"{{baseurl}}/assignments","name":"create assignment","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"courseId\": \"6488ab74d09e02d03d50f8bd\",\n \"title\": \"ASSIGNMENT SHOULD BE ADDED 2\",\n \"points\": 420,\n \"due\": \"2022-06-14T17:00:00-07:00\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686626048440,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ee4b1c41ed944cefa845dcb47508b4af","parentId":"wrk_968b77c89d4f4dcca2de5a4937f7669b","modified":1686625301584,"created":1686625293805,"name":"Assignment","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1686625293805,"_type":"request_group"},{"_id":"wrk_968b77c89d4f4dcca2de5a4937f7669b","parentId":null,"modified":1681868411415,"created":1681868411415,"name":"New Document","description":"","scope":"design","_type":"workspace"},{"_id":"req_3f142a73c3ee4d1abbc161a5a6a8bf46","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686682036275,"created":1686681931290,"url":"{{baseurl}}/assignments","name":"create assignment - failed incorrect instructor","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"courseId\": \"6488ab74d09e02d03d50f8ba\",\n \"title\": \"SHOULD NOT BE STORED\",\n \"points\": 420,\n \"due\": \"2022-06-14T17:00:00-07:00\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686626012198.3125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_170f96ac0b124e8d80b93b040b99c9d2","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686689147763,"created":1686648046597,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8c5/submissions","name":"create submission","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_431f55a912e146f18fae2e2e96d78636","name":"studentId","value":"6488ab74d09e02d03d50f8b8","description":""},{"id":"pair_cd13ab679d3c41fd972c33182ee7e89a","name":"file","value":"","description":"","type":"file","fileName":"C:\\Users\\rufus\\Downloads\\OSU\\6spring2023\\CS463 - Capstone\\Spring week 2 survey.pdf"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiOCIsIm5hbWUiOiJNaWtlIEh1bnQiLCJlbWFpbCI6Im1odW50QGdtYWlsLmNvbSIsInJvbGUiOiJzdHVkZW50IiwiaWF0IjoxNjg2Njg5MTM1LCJleHAiOjE2ODY3NzU1MzV9.fhxBHyw83FEOHfuXmB9J-DdIHA3s0tWXwvgVhp7KwkU"},"metaSortKey":-1686625975956.625,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4a981fe93b994172b267af29e82aef2a","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686633174437,"created":1686632144865,"url":"{{baseurl}}/assignments/6487fab5250d9f605fb25f40","name":"unauthed asgnm delete","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODdmOTI3OTk0YzBiM2JhNzEzMjI4YyIsIm5hbWUiOiJHZW9yZ2UgTHVjYXMiLCJlbWFpbCI6ImdsdWNhc0BnbWFpbC5jb20iLCJyb2xlIjoic3R1ZGVudCIsImlhdCI6MTY4NjYzMzE2MCwiZXhwIjoxNjg2NzE5NTYwfQ.9Jp-F6pyhm3MgKdsEU1N_-b_YjqPhiPYp_IFySAFYVM"},"metaSortKey":-1686625903473.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3271555151c846bd88b78a90040f3b46","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686684647477,"created":1686633193360,"url":"{{baseurl}}/assignments/6488bfc89a92102c49954ddd","name":"Authed asgnm delete","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686625830989.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7e1551c5b59140c4829009a66a214843","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686685158346,"created":1686630644826,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8c5","name":"Authed assignment update","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"title\": \"ASSIGNMENT X - UPDATED\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686625758506.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_299e9f0d0f274f168448dd29f93dfe18","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686633092941,"created":1686631370045,"url":"{{baseurl}}/assignments/6487f927994c0b3ba713229d","name":"UnAuthed assignment update","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"title\": \"THIS ASSIGNMENT DNE\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"yJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODdkNmNmYWQxNTFhYmQ2ZGQ0NGNjNyIsIm5hbWUiOiJHZW9yZ2UgTHVjYXMiLCJlbWFpbCI6ImdsdWNhc0BnbWFpbC5jb20iLCJyb2xlIjoic3R1ZGVudCIsImlhdCI6MTY4NjYyOTA2OSwiZXhwIjoxNjg2NzE1NDY5fQ.HNa2b8xVXYxHOSMywUjpubuSQb3fe5cExu2Q_bp7aVI"},"metaSortKey":-1686625613539.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c37681907544467c816d1c0d0e4796b1","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686685246525,"created":1686685198904,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8be","name":"Incorrect Instructor assignment update","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"title\": \"THIS IS AN ASSIGNMENT NOW!!\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686625541056.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0e2e85aaaa86432ab8f4e78977220294","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686679281906,"created":1686625468573,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8be","name":"Assignment by Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686625468573,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_11520afc675b418ebd69613226b0bbeb","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686625347014,"created":1686625305077,"url":"{{baseurl}}/assignments","name":"[DEBUG] get all assignments","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1686625305077,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_aeb8008defdd4140be9c5e68ba130aa3","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686688665058,"created":1686634130007,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8c5/submissions","name":"authorized submission","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686625305027,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ed9687a016344dacbcebf9377bdde0b8","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686650139197,"created":1686634357722,"url":"{{baseurl}}/assignments/64883466112fc5b14eb6747d/submissions?page=1","name":"authorized submission - paginated","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODgzNDY2MTEyZmM1YjE0ZWI2NzQ2YiIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY0ODM3NywiZXhwIjoxNjg2NzM0Nzc3fQ.cLwNJZl5L50W0Db7cfd2yms5e3uYuQSNK2Rn6MSXUdQ"},"metaSortKey":-1686620699474,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7c12170537a240f18ddc604712d2e822","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686650146406,"created":1686634365291,"url":"{{baseurl}}/assignments/64883466112fc5b14eb6747d/submissions?studentId=64883466112fc5b14eb67470","name":"authorized submission -by studentId","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODgzNDY2MTEyZmM1YjE0ZWI2NzQ2YiIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY0ODM3NywiZXhwIjoxNjg2NzM0Nzc3fQ.cLwNJZl5L50W0Db7cfd2yms5e3uYuQSNK2Rn6MSXUdQ"},"metaSortKey":-1686618396697.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_07ff0708bef5454da5b54c9788751f6c","parentId":"fld_ee4b1c41ed944cefa845dcb47508b4af","modified":1686685822901,"created":1686634164284,"url":"{{baseurl}}/assignments/6488ab74d09e02d03d50f8be/submissions","name":"Unauthorized submission","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODhhYjc0ZDA5ZTAyZDAzZDUwZjhiNCIsIm5hbWUiOiJNaWtlIEJhaWxleSIsImVtYWlsIjoibWJhaWxleUBvcmVnb25zdGF0ZS5lZHUiLCJyb2xlIjoiaW5zdHJ1Y3RvciIsImlhdCI6MTY4NjY4MDkzNiwiZXhwIjoxNjg2NzY3MzM2fQ.8DaCaUfAQrK5d-QGCauMzB7x2KUFm-fq71ANzQLGbJw"},"metaSortKey":-1686616093921,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_329bbff6ebdfa68233cc2dabb0a0fb5cc7236496","parentId":"wrk_968b77c89d4f4dcca2de5a4937f7669b","modified":1686618239351,"created":1681868411426,"name":"Base Environment","data":{"baseurl":"http://localhost:8000"},"dataPropertyOrder":{"&":["baseurl"]},"color":null,"isPrivate":false,"metaSortKey":1681868411426,"_type":"environment"},{"_id":"jar_329bbff6ebdfa68233cc2dabb0a0fb5cc7236496","parentId":"wrk_968b77c89d4f4dcca2de5a4937f7669b","modified":1681868411430,"created":1681868411430,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_5c6a9b0616d04533862a0e05f441d1af","parentId":"wrk_968b77c89d4f4dcca2de5a4937f7669b","modified":1686677832210,"created":1686617479683,"fileName":"New Document","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"uts_04eeb794ade04076940dd3c22e8992b7","parentId":"wrk_968b77c89d4f4dcca2de5a4937f7669b","modified":1681868411443,"created":1681868411443,"name":"Example Test Suite","_type":"unit_test_suite"}]}