{"info":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"26354232","collectionId":"1b1f77a8-62d5-49c9-bf11-909eb1095703","publishedId":"2s93zCY13Q","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-02T04:38:44.000Z"},"item":[{"name":"CRUD API","item":[{"name":"Hackathons","item":[{"name":"GET Hackathons","id":"3dc8ed93-1d18-4851-908e-ab8601f676eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/hackathons/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"4b046191-f7bb-4137-af9e-7e0644379feb","name":"GET Hackathons 200","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/hackathons/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 30 Jun 2023 17:19:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"12"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": []\n}"}],"_postman_id":"3dc8ed93-1d18-4851-908e-ab8601f676eb"},{"name":"CREATE Hackathon","id":"502fdd70-7a07-4300-ba24-8508df46dd5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Hackathon 1","type":"text"},{"key":"description","value":"Good prizes","type":"text"},{"key":"background_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-13 134050.png"},{"key":"hackathon_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-13 134050.png"},{"key":"submission_type","value":"image","type":"text"},{"key":"start_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"end_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"reward_prize","value":"100","type":"text"}]},"url":"localhost:8000/api/hackathons/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"9cf1f112-ed2a-4c5f-bc29-79f22e2e0843","name":"CREATE Hackathon 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Hackathon 4","type":"text"},{"key":"description","value":"Good prizes","type":"text"},{"key":"background_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"hackathon_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"submission_type","value":"image","type":"text"},{"key":"start_datetime","value":"","type":"text"},{"key":"end_datetime","value":"","type":"text"},{"key":"reward_prize","value":"100","type":"text"}]},"url":"localhost:8000/api/hackathons/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:15:02 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"353"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"title\": \"Hackathon 4\",\n    \"description\": \"Good prizes\",\n    \"background_image\": \"/images/Screenshot_2023-06-15_111844_KZOECVt.png\",\n    \"hackathon_image\": \"/images/Screenshot_2023-06-15_111844_PSMj54k.png\",\n    \"submission_type\": \"image\",\n    \"start_datetime\": \"2023-07-01T16:15:02.930031Z\",\n    \"end_datetime\": \"2023-07-01T16:15:02.930031Z\",\n    \"reward_prize\": \"100\"\n}"}],"_postman_id":"502fdd70-7a07-4300-ba24-8508df46dd5c"},{"name":"UPDATE Hackathon","id":"663084c4-fb63-4240-9eaf-1ca7a80d227f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Hackathon 3","type":"text"},{"key":"description","value":"Exciting Prizes andPerks","type":"text"},{"key":"background_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"hackathon_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"submission_type","value":"image","type":"text"},{"key":"start_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"end_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"reward_prize","value":"100","type":"text"}]},"url":"localhost:8000/api/hackathons/3/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons","3",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"afa00db6-a24c-4852-af88-043a5faa452b","name":"UPDATE Hackathon 200","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Hackathon 3","type":"text"},{"key":"description","value":"Exciting Prizes andPerks","type":"text"},{"key":"background_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"hackathon_image","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-15 111844.png"},{"key":"submission_type","value":"image","type":"text"},{"key":"start_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"end_datetime","value":"2023-07-01T16:07:20.492513Z","type":"text"},{"key":"reward_prize","value":"100","type":"text"}]},"url":"localhost:8000/api/hackathons/3/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:13:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"366"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"title\": \"Hackathon 3\",\n    \"description\": \"Exciting Prizes andPerks\",\n    \"background_image\": \"/images/Screenshot_2023-06-15_111844_uoDT20d.png\",\n    \"hackathon_image\": \"/images/Screenshot_2023-06-15_111844_1sCUICn.png\",\n    \"submission_type\": \"image\",\n    \"start_datetime\": \"2023-07-01T16:07:20.492513Z\",\n    \"end_datetime\": \"2023-07-01T16:13:33.773898Z\",\n    \"reward_prize\": \"100\"\n}"}],"_postman_id":"663084c4-fb63-4240-9eaf-1ca7a80d227f"},{"name":"DELETE Hackathon","id":"3608ed08-e35c-4793-934e-bbfd6a7affe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/hackathons/6/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons","6",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"a03ec74c-70a0-4487-be88-bf59ee5d026b","name":"DELETE Hackathon","originalRequest":{"method":"DELETE","header":[],"url":"localhost:8000/api/hackathons/6/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:17:56 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, PUT, PATCH, DELETE"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"46"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Hackathon deleted successfully!\"\n}"}],"_postman_id":"3608ed08-e35c-4793-934e-bbfd6a7affe2"}],"id":"260ea831-7b9d-4fda-83a4-9be8e95a21d0","_postman_id":"260ea831-7b9d-4fda-83a4-9be8e95a21d0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Submissions","item":[{"name":"GET Submissions","id":"a6687113-b480-4a36-a2fc-3f127f03fa7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/submissions/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["submissions",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"42c75fa6-d1a8-45d7-8ebf-bca4b41e723e","name":"GET Submissions 200","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/submissions/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:20:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"321"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"hackathon\": 1,\n        \"user\": 1,\n        \"name\": \"Submission 1\",\n        \"summary\": \"ABC\",\n        \"submission_file\": \"http://localhost:8000/submissions/Screenshot_2023-06-19_171520.png\"\n    },\n    {\n        \"id\": 2,\n        \"hackathon\": 1,\n        \"user\": 1,\n        \"name\": \"ABC\",\n        \"summary\": \"sdfsdfsdf\",\n        \"submission_file\": \"http://localhost:8000/submissions/July2023_-_Group_3_-_Portal_Schedule.xlsx\"\n    }\n]"}],"_postman_id":"a6687113-b480-4a36-a2fc-3f127f03fa7a"},{"name":"CREATE Submission","id":"2edd6051-af8d-4033-90df-2583c827ea35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"hackathon","value":"1","type":"text"},{"key":"user","value":"1","type":"text"},{"key":"name","value":"Submission 6","type":"text"},{"key":"summary","value":"sdfsdfsdf","type":"text"},{"key":"submission_file","type":"file","src":"/D:/Shrirang Files/Hirameki/N3/N3_Grammar Index Hirameki.pdf"}]},"url":"localhost:8000/api/submissions/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["submissions",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"3df8c09c-b686-49ac-a738-4bec5e50e678","name":"CREATE Submission 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"hackathon","value":"1","type":"text"},{"key":"user","value":"1","type":"text"},{"key":"name","value":"Submission 3","type":"text"},{"key":"summary","value":"sdfsdfsdf","type":"text"},{"key":"submission_file","type":"file","src":"/C:/Users/Shrirang/Downloads/July2023 - Group 3 - Portal Schedule.xlsx"}]},"url":"localhost:8000/api/submissions/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:20:54 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"169"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"hackathon\": 1,\n    \"user\": 1,\n    \"name\": \"Submission 3\",\n    \"summary\": \"sdfsdfsdf\",\n    \"submission_file\": \"/submissions/July2023_-_Group_3_-_Portal_Schedule_by2Xj2M.xlsx\"\n}"},{"id":"c4119d81-03e4-4920-9f77-93a0e97c797f","name":"CREATE Submission at Un-enrolled hackathon 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"hackathon","value":"2","type":"text"},{"key":"user","value":"1","type":"text"},{"key":"name","value":"Submission 2","type":"text"},{"key":"summary","value":"sdfsdfsdf","type":"text"},{"key":"submission_file","type":"file","src":"/C:/Users/Shrirang/Downloads/July2023 - Group 3 - Portal Schedule.xlsx"}]},"url":"localhost:8000/api/submissions/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 17:25:44 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"57"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User is not registered for this hackathon!\"\n}"}],"_postman_id":"2edd6051-af8d-4033-90df-2583c827ea35"},{"name":"UPDATE Submission","id":"351c1ef5-4326-47c9-bdbb-94bc52defea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"hackathon","value":"1","type":"text"},{"key":"user","value":"1","type":"text"},{"key":"name","value":"Updated Submission 2","type":"text"},{"key":"summary","value":"sdfsdfsdf","type":"text"},{"key":"submission_file","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-13 142415.png"}]},"url":"localhost:8000/api/submissions/2/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["submissions","2",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"aee43b2e-e113-42a3-9059-dbb85109612f","name":"UPDATE Submission 200","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"hackathon","value":"1","type":"text"},{"key":"user","value":"1","type":"text"},{"key":"name","value":"Updated Submission 3","type":"text"},{"key":"summary","value":"sdfsdfsdf","type":"text"},{"key":"submission_file","type":"file","src":"/C:/Users/Shrirang/OneDrive/Pictures/Screenshots/Screenshot 2023-06-13 134050.png"}]},"url":"localhost:8000/api/submissions/3/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:21:36 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"170"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"hackathon\": 1,\n    \"user\": 1,\n    \"name\": \"Updated Submission 3\",\n    \"summary\": \"sdfsdfsdf\",\n    \"submission_file\": \"http://localhost:8000/submissions/Screenshot_2023-06-13_134050.png\"\n}"}],"_postman_id":"351c1ef5-4326-47c9-bdbb-94bc52defea6"},{"name":"DELETE Submission","id":"201a4fa8-6037-49b3-aaa0-e08114e15de6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/submissions/3/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["submissions","3",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"07e98ffe-fd40-4980-bba4-ec29c53be2f3","name":"DELETE Submission 200","originalRequest":{"method":"DELETE","header":[],"url":"localhost:8000/api/submissions/3/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:23:07 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"47"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Submission deleted successfully!\"\n}"}],"_postman_id":"201a4fa8-6037-49b3-aaa0-e08114e15de6"}],"id":"039f94a0-d1de-411e-aeaa-deeb4cc1659b","_postman_id":"039f94a0-d1de-411e-aeaa-deeb4cc1659b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Users","item":[{"name":"GET Users","id":"ba8b327a-f92c-4324-9d65-ceb76a0afbe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/users/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["users",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"148d903e-07b6-4f70-afd8-2d94ad23572e","name":"GET Users 200","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/users/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 02 Jul 2023 04:05:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"194"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"username\": \"shrirang\",\n        \"first_name\": \"\",\n        \"last_name\": \"\",\n        \"email\": \"\",\n        \"is_staff\": true,\n        \"is_active\": true,\n        \"date_joined\": \"2023-07-01T16:49:46.437516Z\",\n        \"last_login\": \"2023-07-01T16:50:04.698166Z\"\n    }\n]"}],"_postman_id":"ba8b327a-f92c-4324-9d65-ceb76a0afbe1"},{"name":"CREATE User","id":"05b30624-41bc-4c70-a4b5-5528a697fea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"notshrirang2\",\r\n    \"email\": \"shrirangamahajan123@gmail.com\",\r\n    \"password\": \"1234\",\r\n    \"password2\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/users/create/","urlObject":{"path":["users","create",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"6e950155-0649-493b-80dc-e7b63c5372db","name":"CREATE User 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"notshrirang2\",\r\n    \"email\": \"shrirangamahajan123@gmail.com\",\r\n    \"password\": \"1234\",\r\n    \"password2\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/users/create/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 02 Jul 2023 04:25:48 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"218"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"username\": \"notshrirang2\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"shrirangamahajan123@gmail.com\",\n    \"is_staff\": false,\n    \"is_active\": true,\n    \"date_joined\": \"2023-07-02T04:25:48.496466Z\",\n    \"last_login\": null\n}"}],"_postman_id":"05b30624-41bc-4c70-a4b5-5528a697fea6"},{"name":"UPDATE User","id":"d9b70902-26e2-41aa-907e-6ddca6f4d663","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"notshrirang4\",\r\n    \"email\": \"shrirangamahajan123@gmail.com\",\r\n    \"password\": \"1234\",\r\n    \"password2\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/users/4/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["users","4",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"df14cd60-d809-4f4d-89b4-e39855af5b3f","name":"UPDATE User 200","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"notshrirang4\",\r\n    \"email\": \"shrirangamahajan123@gmail.com\",\r\n    \"password\": \"1234\",\r\n    \"password2\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/users/4/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 02 Jul 2023 04:30:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"201"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"username\": \"notshrirang4\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"shrirangamahajan123@gmail.com\",\n    \"is_staff\": false,\n    \"is_active\": true,\n    \"date_joined\": \"2023-07-02T04:25:48.496466Z\",\n    \"last_login\": null\n}"}],"_postman_id":"d9b70902-26e2-41aa-907e-6ddca6f4d663"},{"name":"DELETE User","id":"a9e3a7d1-175a-4668-b9f2-34cf38e9b582","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8000/api/users/4/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["users","4",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"fbc05bf9-a2ee-4f24-8945-b40239c9db8e","name":"DELETE User 200","originalRequest":{"method":"DELETE","header":[],"url":"localhost:8000/api/users/4/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 02 Jul 2023 04:31:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"41"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User deleted successfully!\"\n}"}],"_postman_id":"a9e3a7d1-175a-4668-b9f2-34cf38e9b582"}],"id":"963c4d63-4472-4d75-b356-455e16b7506a","event":[{"listen":"prerequest","script":{"id":"002c5100-0105-4d6a-8eb3-bdbeae76c157","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ffbb9d6b-7f42-4d3d-b78e-5499361d8acc","type":"text/javascript","exec":[""]}}],"_postman_id":"963c4d63-4472-4d75-b356-455e16b7506a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}}],"id":"b508d81b-4456-4b30-b88b-4aada53e2f81","description":"<p>All CRUD APIs for maintaining Hackathons, Submissions and Users.</p>\n","_postman_id":"b508d81b-4456-4b30-b88b-4aada53e2f81","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Auth API","item":[{"name":"Token Request","id":"fc7bb5ba-1829-49bd-8516-30eb2728639e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"shrirang\",\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/auth/token/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["auth","token",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc7bb5ba-1829-49bd-8516-30eb2728639e"},{"name":"Token Refresh","id":"984ef740-4563-46f5-894e-ecdcb59cf935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refresh\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/auth/token/refresh/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["auth","token","refresh",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"984ef740-4563-46f5-894e-ecdcb59cf935"}],"id":"66350e3e-30c2-487a-b995-4f6d3e73f230","_postman_id":"66350e3e-30c2-487a-b995-4f6d3e73f230","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Special APIs","item":[{"name":"Hackathon Registration APIs","item":[{"name":"Register to Hackathon API","id":"c74f6ce6-132c-43c1-a0a7-6552c2b45d6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hackathons/1/register/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons","1","register",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"8e97006f-9bc0-462b-895a-e8e79d4d5f0f","name":"Register to Hackathon 200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hackathons/1/register/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 16:55:59 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"44"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User registered successfully!\"\n}"}],"_postman_id":"c74f6ce6-132c-43c1-a0a7-6552c2b45d6f"},{"name":"Unregister to Hackathon API","id":"0cbfef3b-1f3d-410e-94b9-ea1945aad2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hackathons/2/register/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["hackathons","2","register",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"4aff9c93-527f-4bc4-8fb9-dbb768e0297f","name":"Unregister to Hackathon 200","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hackathons/1/register/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 17:00:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"46"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User unregistered successfully!\"\n}"}],"_postman_id":"0cbfef3b-1f3d-410e-94b9-ea1945aad2ef"}],"id":"f6914008-dbe6-4e66-bd51-a4f409231e95","_postman_id":"f6914008-dbe6-4e66-bd51-a4f409231e95","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Enrolled Hackathons","item":[{"name":"GET Enrolled Hackathons","id":"bd876706-34de-4eb7-83f0-9eb98c0526be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/1/hackathons/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["1","hackathons",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"89d4db53-1077-4e3d-8dcc-d5dcb5c2cdfb","name":"Enrolled Hackathons 200","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/1/hackathons/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 17:15:09 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"358"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"title\": \"Hackathon 1\",\n        \"description\": \"Good prizes\",\n        \"background_image\": \"/images/Screenshot_2023-06-13_134050.png\",\n        \"hackathon_image\": \"/images/Screenshot_2023-06-13_134050_NJNgiFP.png\",\n        \"submission_type\": \"image\",\n        \"start_datetime\": \"2023-07-01T16:07:20Z\",\n        \"end_datetime\": \"2023-07-01T16:07:20Z\",\n        \"reward_prize\": \"100\",\n        \"registered_users\": [\n            1\n        ]\n    }\n]"}],"_postman_id":"bd876706-34de-4eb7-83f0-9eb98c0526be"}],"id":"f4eec029-98f0-495f-ac91-4dcff985a451","_postman_id":"f4eec029-98f0-495f-ac91-4dcff985a451","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}},{"name":"Submissions from Hackthon","item":[{"name":"GET Submissions from Hackathon","id":"c4923f8e-a146-4274-b587-ad1d7444e00d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/1/hackathons/1/submissions/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}},"urlObject":{"path":["1","hackathons","1","submissions",""],"host":["localhost:8000/api"],"query":[],"variable":[]}},"response":[{"id":"55f52d78-0b00-4378-be23-6980675d46f5","name":"Submissions of user from enrolled hackathon 200","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/1/hackathons/1/submissions/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Jul 2023 17:20:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.9.13"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"167"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"hackathon\": 1,\n        \"user\": 1,\n        \"name\": \"Submission 1\",\n        \"summary\": \"I worked Hard for this\",\n        \"submission_file\": \"/submissions/Screenshot_2023-06-19_171520.png\"\n    }\n]"}],"_postman_id":"c4923f8e-a146-4274-b587-ad1d7444e00d"}],"id":"de4b2155-866c-4f35-993a-a58ccb46d47a","_postman_id":"de4b2155-866c-4f35-993a-a58ccb46d47a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}}],"id":"080fa61a-ad80-41e1-9bb9-e4b175e27b46","_postman_id":"080fa61a-ad80-41e1-9bb9-e4b175e27b46","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","id":"1b1f77a8-62d5-49c9-bf11-909eb1095703","name":"Submissions App","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"4d4b58cb-2e1f-4311-94bb-07c8dd6a442b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2dd09b6a-3f17-46de-8a7a-1951b6c766e0","type":"text/javascript","exec":[""]}}],"variable":[{"key":"BASEURL","value":"localhost:8000/api","type":"string"}]}