{"info":{"_postman_id":"dbfc1b8f-3885-406b-b918-6a3bd2a6b0a4","name":"Core API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"16743908","collectionId":"dbfc1b8f-3885-406b-b918-6a3bd2a6b0a4","publishedId":"UVyswaxA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-02T15:18:34.000Z"},"item":[{"name":"Public","item":[],"id":"faefc93a-6170-42b7-a881-46f02e8ed26f","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"0ca85fb6-f54c-49ae-a0fe-35a173c95261","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d892286a-0578-4450-b5bd-984c9718a5eb","type":"text/javascript","exec":[""]}}],"_postman_id":"faefc93a-6170-42b7-a881-46f02e8ed26f","description":""},{"name":"Protected","item":[{"name":"Users","item":[{"name":"User Details","id":"2a135f0b-7780-4e1d-8d9a-3a9d5c4a490f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/user/:email/details","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","user",":email","details"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"hugogoncalves13@ua.pt","key":"email"}]}},"response":[{"id":"7e2c54ee-39a2-460d-84c6-016892351ca2","name":"Get User Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/public/user/:userEmail/details","host":["https://api.codespell.hgsoft.me"],"path":["api","public","user",":userEmail","details"],"variable":[{"key":"userEmail","value":"hugogoncalves13@ua.pt"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"hugogoncalves13@ua.pt\",\n    \"username\": \"Hugo1307\",\n    \"name\": \"Hugo Gonçalves\",\n    \"progress\": [\n        {\n            \"language\": \"JAVA\",\n            \"completed_levels\": \"8\",\n            \"total_levels\": \"10\",\n            \"percentage\": 0.80\n        }\n    ]\n}"}],"_postman_id":"2a135f0b-7780-4e1d-8d9a-3a9d5c4a490f"},{"name":"User Achievements","id":"a075713d-d788-4ed3-a8e3-3dfd23db8a0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/user/:email/achievements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","user",":email","achievements"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":null,"key":"email"}]}},"response":[{"id":"3daa8232-6cdb-447f-835d-0e969624245c","name":"User Achievements","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"achievements\": [\n        {\n            \"title\": \"Completed Level 1\",\n            \"description\": \"Completed the first level for JAVA programming language.\",\n            \"timestamp\": 19287387120,\n            \"image\": \"/path/to/image\"\n        }\n    ]\n}"}],"_postman_id":"a075713d-d788-4ed3-a8e3-3dfd23db8a0b"},{"name":"Change Password","id":"c722bd82-e883-422d-8f46-2354ba2c6b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"newPassword\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/user/:email/password","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","user",":email","password"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"hugogoncalves13@ua.pt","key":"email"}]}},"response":[{"id":"9feec458-eeba-48f8-bc9a-fa0c9f33dda5","name":"Change Password","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/user/:userEmail/change-password","host":["https://api.codespell.hgsoft.me"],"path":["api","user",":userEmail","change-password"],"variable":[{"key":"userEmail","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your password was successfully changed.\"\n}"}],"_postman_id":"c722bd82-e883-422d-8f46-2354ba2c6b24"},{"name":"Change Name","id":"7f160625-4178-4f99-b86b-0af5800ead2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"newName\": \"Hugo\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/user/:email/name","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","user",":email","name"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"hugogoncalves13@ua.pt","key":"email"}]}},"response":[{"id":"6a27ac37-cc55-4e8a-933e-77a1adf73164","name":"Change Name","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"newName\": \"Hugo\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.codespell.hgsoft.me/api/user/:userEmail/name","host":["https://api.codespell.hgsoft.me"],"path":["api","user",":userEmail","name"],"variable":[{"key":"userEmail","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your name was successfully changed.\"\n}"}],"_postman_id":"7f160625-4178-4f99-b86b-0af5800ead2e"},{"name":"Add Achievement","id":"3fa1537a-487f-4edc-b64c-2dec470c9cc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"achievementId\": \"62a4bae4a234f84a426af429\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/user/:email/achievements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","user",":email","achievements"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"hugogoncalves13@ua.pt","key":"email"}]}},"response":[],"_postman_id":"3fa1537a-487f-4edc-b64c-2dec470c9cc4"}],"id":"89bea956-3713-4b74-828b-c7ca33b754dc","_postman_id":"89bea956-3713-4b74-828b-c7ca33b754dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}}},{"name":"Levels","item":[{"name":"Leaderboards","id":"b86f0b1f-0ad5-45aa-a6e3-14d7beb5a2eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"JAVA\",\n    \"level\": 1,\n    \"skill_level\": \"NOVICE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/level/:level_id/leaderboards","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","leaderboards"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":null,"key":"level_id"}]}},"response":[{"id":"07fc5e8a-5c64-46f7-af26-2145de92be5b","name":"Leaderboards","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/level/:level_id/leaderboards","host":["https://api.codespell.hgsoft.me"],"path":["api","level",":level_id","leaderboards"],"variable":[{"key":"level_id","value":"628910f54829b52a921fabb5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sat, 11 Jun 2022 14:05:47 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"62a49ece5986db01f2e4cf2d\",\n        \"levelId\": \"628910f54829b52a921fabb5\",\n        \"username\": \"Hugo1307\",\n        \"points\": 108,\n        \"settings\": {\n            \"language\": \"JAVA\",\n            \"skillLevel\": \"NOVICE\"\n        }\n    }\n]"}],"_postman_id":"b86f0b1f-0ad5-45aa-a6e3-14d7beb5a2eb"},{"name":"Documentation for level","id":"d49dd7ec-a125-4117-bde1-223f98aa0946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/level/:level_id/documentation","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","documentation"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":null,"key":"level_id"}]}},"response":[{"id":"fabe8327-4e27-40e3-bd97-b89a1eb1ec03","name":"Documentation for level","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"JAVA\",\n    \"level\": 1,\n    \"step\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/documentation"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"title\": \"Conditional Structures\",\n        \"description\": \"Conditional Structures allow you to decide what to do inside your code.\",\n        \"link\": \"https://docs.google.com/conditional_structures\"\n    }\n]"}],"_postman_id":"d49dd7ec-a125-4117-bde1-223f98aa0946"},{"name":"Levels List","id":"e73e4b25-abc7-4a2d-bd87-c24a58c2b232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"JAVA\",\n    \"skill_level\": \"NOVICE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/level","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[{"id":"17054762-de52-474b-af97-ab079ff496fd","name":"Levels List","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"JAVA\",\n    \"skill_level\": \"NOVICE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/levels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"12a2183ja126a712j\",\n        \"title\": \"Variables\",\n        \"description\": \"Description about variables level.\",\n        \"language\": \"JAVA\",\n        \"skill\": \"NOVICE\",\n        \"number\": 1,\n        \"chapter\": \"89a2183ja126a712j\"\n    }\n]"}],"_postman_id":"e73e4b25-abc7-4a2d-bd87-c24a58c2b232"},{"name":"Chapter List","id":"34efdc44-97fc-4748-a72f-efcebd499ea9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/chapter","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","chapter"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[{"id":"b698216f-58a6-4f62-9cfe-f514689ac0a4","name":"Chapter List","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"language\": \"JAVA\",\n    \"skill_level\": \"NOVICE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/chapters"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"89a2183ja126a712j\",\n        \"title\": \"General Introduction\",\n        \"description\": \"This chapter will provide a general introduction about the basic programming structures.\",\n        \"language\": \"JAVA\",\n        \"skill\": \"NOVICE\"\n    }\n]"}],"_postman_id":"34efdc44-97fc-4748-a72f-efcebd499ea9"},{"name":"Submit Level Code","id":"4a00d93c-d2d0-42b2-a705-d715214bd761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"class HelloWorldApp {\n\n    public static void main(String[] args) {\n        System.out.println(\"Hello there!\");\n    }\n\n}","options":{"raw":{"language":"text"}}},"url":"https://api.codespell.hgsoft.me/api/level/:level_id/submit/:code_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","submit",":code_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"64513678a8f114e06de5000a","key":"level_id"},{"type":"any","value":"905f5714-e6f7-4106-a1a6-7fda462057b3","key":"code_id"}]}},"response":[{"id":"39ae0005-343a-4f2f-adf4-566d5ca22028","name":"Submit Level Solution","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"class App {\n\n    private int x;\n    private int y;\n\n    public App(int x, int y) {\n        this.x = x;\n        this.y = y;\n    }\n\n}","options":{"raw":{"language":"text"}}},"url":{"raw":"https://api.codespell.hgsoft.me/api/level/:level_id/submit/:solution_id","host":["https://api.codespell.hgsoft.me"],"path":["api","level",":level_id","submit",":solution_id"],"variable":[{"key":"level_id","value":null},{"key":"solution_id","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Solution successfully submitted.\"\n}"}],"_postman_id":"4a00d93c-d2d0-42b2-a705-d715214bd761"},{"name":"Individual Level","id":"9765e226-39db-411b-908a-7cd0737d54fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/level/:level_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"628910f54829b52a921fabb5","key":"level_id"}]}},"response":[{"id":"70015e0e-f1ce-484c-b34e-d15b532e97db","name":"Individual Level","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/level/:level_id","host":["https://api.codespell.hgsoft.me"],"path":["api","level",":level_id"],"variable":[{"key":"level_id","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"12a2183ja126a712j\",\n    \"title\": \"Variables\",\n    \"description\": \"Description about variables level.\",\n    \"language\": \"JAVA\",\n    \"skill\": \"NOVICE\",\n    \"number\": 1,\n    \"chapter\": {\n        \"id\": \"89a2183ja126a712j\",\n        \"title\": \"General Introduction\",\n        \"description\": \"This chapter will provide a general introduction about the basic programming structures.\",\n        \"language\": \"JAVA\",\n        \"skill\": \"NOVICE\"\n    }\n}"}],"_postman_id":"9765e226-39db-411b-908a-7cd0737d54fe"},{"name":"Level Goals","id":"309be484-a106-4f5f-95a9-15774c2a36b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/level/:level_id/goals","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","goals"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"628910f54829b52a921fabb5","key":"level_id"}]}},"response":[{"id":"356c8628-16e1-4b64-aad9-67362cac5c94","name":"Level Goals","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/level/:level_id/goals","host":["https://api.codespell.hgsoft.me"],"path":["api","level",":level_id","goals"],"variable":[{"key":"level_id","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"title\": \"Goal 1\",\n        \"description\": \"First goal for the current level.\"\n    }\n]"}],"_postman_id":"309be484-a106-4f5f-95a9-15774c2a36b0"},{"name":"Get Injectable Code","id":"e144a1ce-af40-4fb5-ac51-986eb20d85ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/level/:level_id/code","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","code"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"62a5f904e348b13c98b6e899","key":"level_id"}]}},"response":[],"_postman_id":"e144a1ce-af40-4fb5-ac51-986eb20d85ae"},{"name":"Get Level Achievements","id":"55c16cfc-bff6-41e5-b44e-f29d2f89fa45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/level/:level_id/achievements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","level",":level_id","achievements"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":null,"key":"level_id"}]}},"response":[{"id":"ac0fec7b-35f4-4d24-bea0-38acbbdc116b","name":"Get Level Achievements","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.codespell.hgsoft.me/api/level/:level_id/achievements","host":["https://api.codespell.hgsoft.me"],"path":["api","level",":level_id","achievements"],"variable":[{"key":"level_id","value":"628910f54829b52a921fabb5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Sun, 12 Jun 2022 13:25:15 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"62a4bae4a234f84a426af429\",\n        \"levelId\": \"628910f54829b52a921fabb5\",\n        \"title\": \"Completed Level 1\",\n        \"description\": \"Completed the first level of Java\"\n    }\n]"}],"_postman_id":"55c16cfc-bff6-41e5-b44e-f29d2f89fa45"}],"id":"53648c81-0b11-4019-93ae-b06d8f4ea6ad","_postman_id":"53648c81-0b11-4019-93ae-b06d8f4ea6ad","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}}},{"name":"Achievements","item":[{"name":"Get All Achievements","id":"54c5c6c7-ad5a-4d49-8eb7-23643d3b3147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/achievements","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","achievements"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[],"_postman_id":"54c5c6c7-ad5a-4d49-8eb7-23643d3b3147"},{"name":"Get Achievement","id":"5d35c316-2265-41bc-b279-d36c19cb6477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/achievements/:achievement_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","achievements",":achievement_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"62a50ad606eecf7289c28c1d","key":"achievement_id"}]}},"response":[],"_postman_id":"5d35c316-2265-41bc-b279-d36c19cb6477"}],"id":"76bafb97-b0e0-4162-837d-e610c2e72ad8","_postman_id":"76bafb97-b0e0-4162-837d-e610c2e72ad8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}}},{"name":"Solutions","item":[{"name":"Save Solution","id":"9fdca9d8-c84e-48c7-ac41-63dcdea701d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"levelId\": \"62a49eb23253502e0f64ef20\",\n    \"codeReportId\": \"31829d96-07a2-4421-9e04-cb8f6d6e360a\",\n    \"score\": 118,\n    \"code\": \"class HelloWorldApp { public static void main(String[] args) {System.out.println(\\\"Boa tarde!\\\");System.out.println(\\\"Bom dia!\\\");}}\",\n    \"settings\": {\n        \"language\": \"JAVA\",\n        \"skillLevel\": \"NOVICE\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/solution","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","solution"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fdca9d8-c84e-48c7-ac41-63dcdea701d5"},{"name":"Get All Solutions","id":"c9efba8f-8228-4cea-ac62-a4d5e0519ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/solution","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","solution"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9efba8f-8228-4cea-ac62-a4d5e0519ea4"},{"name":"Get Solutions For Level","id":"095a43c0-31b4-4c40-972a-cede4d74d0a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/solution/:level_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","solution",":level_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"62a49eb23253502e0f64ef20","key":"level_id"}]}},"response":[],"_postman_id":"095a43c0-31b4-4c40-972a-cede4d74d0a7"}],"id":"5dcc190f-8e58-423d-a785-6071622e2f0e","_postman_id":"5dcc190f-8e58-423d-a785-6071622e2f0e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}}},{"name":"Leaderboars","item":[{"name":"Get General Leaderboard","id":"340ca5ca-1017-4f01-9f5c-ec5627d6eacf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/leaderboard","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","leaderboard"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[],"_postman_id":"340ca5ca-1017-4f01-9f5c-ec5627d6eacf"},{"name":"Get Level Leaderboard","id":"037f0e87-b9bb-4bf9-9958-910edc9c4f17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/leaderboard/level/:level_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","leaderboard","level",":level_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"62a49eb23253502e0f64ef20","key":"level_id"}]}},"response":[],"_postman_id":"037f0e87-b9bb-4bf9-9958-910edc9c4f17"},{"name":"Get Chapter Leaderboard","id":"ccfbeafe-09a1-44ee-918a-e12fce2b8c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.codespell.hgsoft.me/api/leaderboard/chapter/:chapter_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}},"urlObject":{"path":["api","leaderboard","chapter",":chapter_id"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[{"type":"any","value":"62a5215fa5ca7b84bcd99e64","key":"chapter_id"}]}},"response":[],"_postman_id":"ccfbeafe-09a1-44ee-918a-e12fce2b8c02"}],"id":"34820a40-d070-4734-8ddc-8bb0df410f8d","_postman_id":"34820a40-d070-4734-8ddc-8bb0df410f8d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","id":"50d59085-e1c9-417a-9ce7-befae14970a8","name":"Protected","type":"folder"}}}],"id":"50d59085-e1c9-417a-9ce7-befae14970a8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"d3240696-791b-4996-81c1-ea8ff7ca97cf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"04c8c9eb-601e-4fd5-9777-853f331eae2f","type":"text/javascript","exec":[""]}}],"_postman_id":"50d59085-e1c9-417a-9ce7-befae14970a8","description":""},{"name":"Auth","item":[{"name":"Login","id":"0cf80d45-dbaf-4db0-bc6d-ff6193ee612b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"hugogoncalves13@ua.pt\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/auth/login","urlObject":{"path":["api","auth","login"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[{"id":"1e3d9468-cf76-4e38-a821-ed931d60f134","name":"Successful login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"hugogoncalves13@ua.pt\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/public/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"authToken\": \"AJHSDUIQ12WNBJAKDSB12981ESNBD\"\n}"}],"_postman_id":"0cf80d45-dbaf-4db0-bc6d-ff6193ee612b"},{"name":"Register","id":"b1ac9747-f8d4-4066-8a2a-8dbf55150798","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"Hugo1307\",\n    \"email\": \"hugogoncalves13@ua.pt\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/auth/register","urlObject":{"path":["api","auth","register"],"host":["https://api.codespell.hgsoft.me"],"query":[],"variable":[]}},"response":[{"id":"9275e52a-f2cb-4591-8e63-5defb277c2bb","name":"Successful registration","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"hugogoncalves13@ua.pt\",\n    \"password\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.codespell.hgsoft.me/api/public/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully registered!\"\n}"}],"_postman_id":"b1ac9747-f8d4-4066-8a2a-8dbf55150798"}],"id":"76e96f95-25a9-46d3-af57-dd98a45bc827","_postman_id":"76e96f95-25a9-46d3-af57-dd98a45bc827","description":""}],"event":[{"listen":"prerequest","script":{"id":"34591287-9833-49ac-90f1-3907a898b3d3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"25b1217a-2f1b-45dc-a9c9-f986c4520577","type":"text/javascript","exec":[""]}}],"variable":[{"key":"apiUrl","value":"https://api.codespell.hgsoft.me"}]}