{"info":{"_postman_id":"a7a9c35d-5f17-4419-bd84-d84c9b17be09","name":"Hackton Backend ","description":"<html><head></head><body><p>API Dcumentation for Hackton Backend.</p>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>The API is currently hosted at <code>https://hackton-staging.herokuapp.com</code>.</p>\n<h1 id=\"create-a-user\">Create a User</h1>\n<p>Perform a post request to <code>https://hackton-staging.herokuapp.com/api/auth/register</code>, the expected request body \n is <code>{\"email\":\"test@hacktonapi.com\", \"password\":\"123456789\"}</code> , expected response is\n <code>{\"user\": 2,   \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1Nzg0NzU4ODAsImV4cCI6MTU3ODU2MjI4MH0.9xEH2BUBUeLNObjw1KlVAGLv70OFlq4Kv1gcLqpKVp4\" }</code></p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>The API expects a token, in subsequent request headers, under authorization.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Create a User","slug":"create-a-user"},{"content":"Authentication","slug":"authentication"}],"owner":"8702366","collectionId":"a7a9c35d-5f17-4419-bd84-d84c9b17be09","publishedId":"SWLfcTEZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-01-08T10:32:19.000Z"},"item":[{"name":"Register a new user","id":"24bd649b-8390-4f01-bec2-8c2435f51cd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"email\":\"teammate2020@hacktonapi.com\", \"password\":\"123456789\"}"},"url":"https://hackton-staging.herokuapp.com/api/auth/register","description":"<h1 id=\"post\">POST</h1>\n<p> endpoint: <code>http://localhost:4000/api/auth/register</code></p>\n<p>Expected request body: <code>{\"email\":\"test2@hacktonapi.com\", \"password\":\"123456789\"}</code></p>\n","urlObject":{"protocol":"https","path":["api","auth","register"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"24bd649b-8390-4f01-bec2-8c2435f51cd3"},{"name":"Login a registered User","id":"08f60833-0269-4e88-b08a-73a491962b82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"email\":\"test7@hacktonapi.com\", \"password\":\"123456789\"}"},"url":"https://hackton-staging.herokuapp.com/api/auth/login","description":"<h1 id=\"post\">Post</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/auth/login</code></p>\n<p>Expected Request Body: \n<code>{\"email\":\"test3@hacktonapi.com\", \"password\":\"123456789\"}</code></p>\n","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"08f60833-0269-4e88-b08a-73a491962b82"},{"name":"Create an event","id":"eda5ad55-617d-4445-8d55-32d27879d98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjgsImVtYWlsIjoib3JnYW5pemVyMjAyMEBoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3OTc3MjQ3MiwiZXhwIjoxNTc5ODU4ODcyfQ.lE5NIaWn6MtxufZvUJd0Y5M07cudCvOO86Ba-ywcrYM","type":"text"}],"body":{"mode":"raw","raw":" {\r\n    \"event_title\": \"six Rubrics Hackathon\",\r\n    \"start_date\": \"01-02-2020\",\r\n    \"end_date\": \"02-02-2020\",\r\n    \"event_description\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",\r\n    \"location\": \"Remote\",\r\n    \"guidelines\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",\r\n    \"participation_type\": \"team\",\r\n    \"category_id\": 1,\r\n\t \"tag_name\":[\"AI\",\"Robots\",\"tech\"],\r\n\t \"rubrics\": [\"product_design\",\"functionality\",\"innovation\",\"product_fit\",\"extensibility\",\"presentation\"],\r\n\t\"requirements\": [\"video_url\",\"git_url\",\"project_writeups\"]\r\n}"},"url":"https://hackton-staging.herokuapp.com/api/events","description":"<h1 id=\"post\">POST</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events</code></p>\n<p>Expected Request body: </p>\n<p><code>{ \"event_title\": \"six Rubrics Hackathon\",     \"start_date\": \"01-02-2020\",     \"end_date\": \"02-02-2020\",     \"event_description\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",     \"location\": \"Remote\",     \"guidelines\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",     \"participation_type\": \"team\",     \"category_id\": 1,      \"tag_name\":[\"AI\",\"Robots\",\"tech\"],      \"rubrics\": [\"product_design\",\"functionality\",\"innovation\",\"product_fit\",\"extensibility\",\"presentation\"],     \"requirements\": [\"video_url\",\"git_url\",\"project_writeups\"]}</code></p>\n","urlObject":{"protocol":"https","path":["api","events"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eda5ad55-617d-4445-8d55-32d27879d98a"},{"name":"Get All Events ","id":"bfbbe6c1-bf29-42dd-856e-e040177c8aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events?Authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4","description":"<h1 id=\"get\">GET</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events</code></p>\n","urlObject":{"protocol":"https","path":["api","events"],"host":["hackton-staging","herokuapp","com"],"query":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4"}],"variable":[]}},"response":[],"_postman_id":"bfbbe6c1-bf29-42dd-856e-e040177c8aaf"},{"name":"Get an event by ","id":"bbee09af-8b07-4346-aebb-d47b06c2b118","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/4","description":"<h1 id=\"get\">GET</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}</code></p>\n","urlObject":{"protocol":"https","path":["api","events","4"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bbee09af-8b07-4346-aebb-d47b06c2b118"},{"name":"Edit an event","id":"b87c22a4-dd37-4891-8e70-57eb9c16c8be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":" {\r\n    \"event_title\": \"Edited Test Hackathon\",\r\n    \"start_date\": \"01-02-2020\",\r\n    \"end_date\": \"02-02-2020\",\r\n    \"event_description\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",\r\n    \"location\": \"Remote\",\r\n    \"guidelines\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",\r\n    \"participation_type\": \"team\",\r\n    \"category_id\": 1\r\n}"},"url":"https://hackton-staging.herokuapp.com/api/events/4","description":"<h1 id=\"put-request\">Put request</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}</code></p>\n<p>Expected request body:   <code>{     \"event_title\": \"six Rubrics Hackathon\",     \"start_date\": \"01-02-2020\",     \"end_date\": \"02-02-2020\",     \"event_description\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",     \"location\": \"Remote\",     \"guidelines\": \"Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \\\"Lorem ipsum dolor sit amet..\\\", comes from a line in section 1.10.32.\\n\\n\",     \"participation_type\": \"team\",     \"category_id\": 1,      \"tag_name\":[\"AI\",\"Robots\",\"tech\"],      \"rubrics\": [\"product_design\",\"functionality\",\"innovation\",\"product_fit\",\"extensibility\",\"presentation\"],     \"requirements\": [\"video_url\",\"git_url\",\"project_writeups\"] }</code></p>\n","urlObject":{"protocol":"https","path":["api","events","4"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b87c22a4-dd37-4891-8e70-57eb9c16c8be"},{"name":"Delete an Event","id":"2a49c6cd-ca7d-41d2-8ffd-660446669999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0Ijo2NiwiZW1haWwiOiJ0ZXN0N0BoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3ODQ3NzExMCwiZXhwIjoxNTc4NTYzNTEwfQ.DuKdTGalXsKgdesdOFM_OGMODSc2LZDbs8nPRB47dH4","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/5","description":"<h1 id=\"delete\">DELETE</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}</code></p>\n","urlObject":{"protocol":"https","path":["api","events","5"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a49c6cd-ca7d-41d2-8ffd-660446669999"},{"name":"Register as a participant","id":"9a3d4f68-1a93-4f2b-af8e-6e6bf89cf409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/6/participants","description":"<h1 id=\"post\">POST</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}/participants</code></p>\n<p>No request body expected</p>\n","urlObject":{"protocol":"https","path":["api","events","6","participants"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a3d4f68-1a93-4f2b-af8e-6e6bf89cf409"},{"name":"Deregister as a Participant","id":"e0bcc9d7-fb1a-4aae-a7a6-017378eaadd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/6/participants","description":"<h1 id=\"delete\">DELETE</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}/participants</code></p>\n<p>No request body expected</p>\n","urlObject":{"protocol":"https","path":["api","events","6","participants"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0bcc9d7-fb1a-4aae-a7a6-017378eaadd8"},{"name":"Add a Judge/Co-organizer  to Organizer team","id":"35da626f-a28b-47a3-b316-10907ca7d5ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjgsImVtYWlsIjoib3JnYW5pemVyMjAyMEBoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3OTc3MjQ3MiwiZXhwIjoxNTc5ODU4ODcyfQ.lE5NIaWn6MtxufZvUJd0Y5M07cudCvOO86Ba-ywcrYM","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"email\":\"teammate2020@hacktonapi.com\",\r\n\t\"role_type\":\"judge\"\r\n}"},"url":"https://hackton-staging.herokuapp.com/api/events/6/team","description":"<h1 id=\"post\">POST</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}/team</code></p>\n<p>Expected Request body:</p>\n<p>```{\n    \"email\":\"<a href=\"mailto:teammate1@hacktonapi.com\">teammate1@hacktonapi.com</a>\",\n    \"role_type\":\"judge\"\n}<br />              or </p>\n<p>{\n    \"email\":\"<a href=\"mailto:teammate2@hacktonapi.com\">teammate2@hacktonapi.com</a>\",\n    \"role_type\":\"organizer\"\n}```</p>\n<p>Only organizer of event can add team members.</p>\n","urlObject":{"protocol":"https","path":["api","events","6","team"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"35da626f-a28b-47a3-b316-10907ca7d5ae"},{"name":"Participants can submit projects","id":"7411d6f3-a27a-49dd-b177-1f9c709915a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\r\n      \"video_url\": \"https://www.youtube.com/watch?v=yfn9E8I-ad4&list=PLMf7VY8La5REXhuUzK3g-9Fr_bf0yBarA&index=5\",\r\n      \"git_url\": \"https://github.com/LABS-EU3/hackton-backend\",\r\n      \"project_writeups\": \"Two roads diverged in a yellow wood,And sorry I could not travel both And be one traveler, long I stood And looked down one as far as I could To where it bent in the undergrowth\",\r\n\t\"project_title\": \"The Road Not Taken is six rubrics\",\r\n\t\"participant_or_team_name\": \"Furahi Day\"\r\n    }"},"url":"https://hackton-staging.herokuapp.com/api/events/6/projects","description":"<h1 id=\"post\">POST</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}/projects</code></p>\n<p>Expected request body: </p>\n<p>```{</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>  \"video_url\": \"https://www.youtube.com/watch?v=yfn9E8I-ad4&amp;list=PLMf7VY8La5REXhuUzK3g-9Fr_bf0yBarA&amp;index=5\",\n  \"git_url\": \"https://github.com/LABS-EU3/hackton-backend\",\n  \"project_writeups\": \"Two roads diverged in a yellow wood,And sorry I could not travel both And be one traveler, long I stood And looked down one as far as I could To where it bent in the undergrowth\",\n\"project_title\": \"The Road Not Taken is six rubrics\",\n\"participant_or_team_name\": \"Furahi Day\"\n}```\n</code></pre>","urlObject":{"protocol":"https","path":["api","events","6","projects"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7411d6f3-a27a-49dd-b177-1f9c709915a6"},{"name":"Participants can edit projects","id":"a8a1a6ba-0b78-48c9-9900-ebdd76ad213e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n             \n            \"project_title\": \"The Road Not Taken is six rubrics edited\",\n            \"participant_or_team_name\": \"Furahi Day\",\n            \"event_id\": 6,\n            \"video_url\": \"https://www.youtube.com/watch?v=yfn9E8I-ad4&list=PLMf7VY8La5REXhuUzK3g-9Fr_bf0yBarA&index=5\",\n            \"git_url\": \"https://github.com/LABS-EU3/hackton-backend\",\n            \"project_writeups\": \"Two roads diverged in a yellow wood,And sorry I could not travel both And be one traveler, long I stood And looked down one as far as I could To where it bent in the undergrowth\"\n        }"},"url":"https://hackton-staging.herokuapp.com/api/events/projects/4","description":"<h1 id=\"put\">PUT</h1>\n<p>Endpoint: <code> https://hackton-staging.herokuapp.com/api/events/projects/{project_id}</code></p>\n<p>Expected request body: </p>\n<p>```{</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        \"project_title\": \"The Road Not Taken is six rubrics edited\",\n        \"participant_or_team_name\": \"Furahi Day\",\n        \"event_id\": 6,\n        \"video_url\": \"https://www.youtube.com/watch?v=yfn9E8I-ad4&amp;list=PLMf7VY8La5REXhuUzK3g-9Fr_bf0yBarA&amp;index=5\",\n        \"git_url\": \"https://github.com/LABS-EU3/hackton-backend\",\n        \"project_writeups\": \"Two roads diverged in a yellow wood,And sorry I could not travel both And be one traveler, long I stood And looked down one as far as I could To where it bent in the undergrowth\"\n    }```\n</code></pre>","urlObject":{"protocol":"https","path":["api","events","projects","4"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a8a1a6ba-0b78-48c9-9900-ebdd76ad213e"},{"name":"Users can GET submitted project","id":"e9b9cde7-ecf7-4890-b1df-528391003fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/projects/4","description":"<h1 id=\"get\">GET</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/projects/{project_id}</code></p>\n","urlObject":{"protocol":"https","path":["api","events","projects","4"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e9b9cde7-ecf7-4890-b1df-528391003fcf"},{"name":"Users can GET all submitted projects for an event","id":"72cfdde3-7378-4e28-a3e5-a407c4325077","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/6/projects","description":"<h1 id=\"get\">GET</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/{event_id}/projects</code></p>\n","urlObject":{"protocol":"https","path":["api","events","6","projects"],"host":["hackton-staging","herokuapp","com"],"query":[{"disabled":true,"key":"Authori","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjksImVtYWlsIjoicGFydGljaXBhbnQyMDIwQGhhY2t0b25hcGkuY29tIiwiaWF0IjoxNTc5NzcyNzQzLCJleHAiOjE1Nzk4NTkxNDN9.HwsiBrhwv02zNK0VFsj5dSP_LUPDFdmb3jsQdc1oz0c"}],"variable":[]}},"response":[],"_postman_id":"72cfdde3-7378-4e28-a3e5-a407c4325077"},{"name":"Judge can grade submitted project","id":"cc9e6dea-2fe6-4b23-849d-36581f9e9cf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEwLCJlbWFpbCI6InRlYW1tYXRlMjAyMEBoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3OTc3MzM1MCwiZXhwIjoxNTc5ODU5NzUwfQ.BlrChZn6aICS-6JQrczyHX9jlituD1XGnhIr-LsnZeQ","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_design\":5,\n\t\"functionality\":1,\n\t\"innovation\":3,\n\t\"product_fit\": 4,\n  \"extensibility\": 4,\n  \"presentation\": 3,\n\t\"project_event_id\":6,\n\t\"judge_comments\": \"Awesome job on this project\"\n}"},"url":"https://hackton-staging.herokuapp.com/api/events/projects/4/grading","description":"<h1 id=\"post-put\">POST, PUT</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/projects/{project_id}/grading</code></p>\n<p>Expected Request body: </p>\n<p><code>{     \"product_design\":5,     \"functionality\":1,     \"innovation\":3,     \"product_fit\": 5,   \"extensibility\": 4,   \"presentation\": 3,     \"project_event_id\":6,     \"judge_comments\": \"Awesome job on this project\" }</code></p>\n","urlObject":{"protocol":"https","path":["api","events","projects","4","grading"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc9e6dea-2fe6-4b23-849d-36581f9e9cf5"},{"name":"Users can get project grading ","id":"4d8d6f43-cf34-4829-888e-592e91b352b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEwLCJlbWFpbCI6InRlYW1tYXRlMjAyMEBoYWNrdG9uYXBpLmNvbSIsImlhdCI6MTU3OTc3MzM1MCwiZXhwIjoxNTc5ODU5NzUwfQ.BlrChZn6aICS-6JQrczyHX9jlituD1XGnhIr-LsnZeQ","type":"text"}],"url":"https://hackton-staging.herokuapp.com/api/events/6/projects/grading","description":"<h1 id=\"get\">GET</h1>\n<p>Endpoint: <code>https://hackton-staging.herokuapp.com/api/events/projects/{project_id}/grading </code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>          or\n          \n</code></pre><p><code>https://hackton-staging.herokuapp.com/api/events/{project_event_id}/projects/grading</code></p>\n","urlObject":{"protocol":"https","path":["api","events","6","projects","grading"],"host":["hackton-staging","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d8d6f43-cf34-4829-888e-592e91b352b5"}],"event":[{"listen":"prerequest","script":{"id":"801b1da4-1190-4963-bf74-346071ed1c39","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8dab6219-d8e0-489e-8adb-a37d05025015","type":"text/javascript","exec":[""]}}]}