+{"info":{"name":"hackerAPI","description":"Documentation for the API used for mchacks","version":"0.0.8","schema":"https://schema.getpostman.com/json/collection/v2.1.0/"},"item":[{"name":"Account","item":[{"name":"gets information from an account with mongoid ':id'","request":{"auth":null,"method":"GET","url":"{{base_url}}/account/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"Get all of the invites.","request":{"auth":null,"method":"GET","url":"{{base_url}}/account/invite","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get information about own account","request":{"auth":null,"method":"GET","url":"{{base_url}}/account/self","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new account","request":{"auth":null,"method":"POST","url":"{{base_url}}/account/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"invites a user to create an account with the specified accountType","request":{"auth":null,"method":"POST","url":"{{base_url}}/account/invite","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update an account's information","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/account/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Authentication","item":[{"name":"retrieve rolebindings for a user given by their user id :id","request":{"auth":null,"method":"GET","url":"{{base_url}}/auth/rolebindings/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get roles","request":{"auth":null,"method":"GET","url":"{{base_url}}/auth/roles","header":[],"body":{"mode":"raw","raw":""}}},{"name":"logout of service","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: public_token}}","type":"string"}]},"method":"GET","url":"{{base_url}}/auth/logout","header":[],"body":{"mode":"raw","raw":""}}},{"name":"resend confirmation token","request":{"auth":null,"method":"GET","url":"{{base_url}}/auth/confirm/resend","header":[],"body":{"mode":"raw","raw":""}}},{"name":"confirm account using the JWT in :token","request":{"auth":null,"method":"POST","url":"{{base_url}}/auth/confirm/:token","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"forgot password route","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: public_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/auth/password/forgot","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"login to the service","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: public_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/auth/login","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"reset password","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: must have authentication token_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/auth/password/reset","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"change password for logged in user","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: Must be logged in_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/auth/password/change","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Hacker","item":[{"name":"get a hacker's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/hacker/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get a hacker's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/hacker/email/:email","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get the resume for a hacker.","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Must be logged in, and the account id must be linked to the hacker._token}}","type":"string"}]},"method":"GET","url":"{{base_url}}/hacker/resume:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"Gets the stats of all of the hackers who have applied.","request":{"auth":null,"method":"GET","url":"{{base_url}}/hacker/stats","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get information about logged in sponsor","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{: Sponsor_token}}","type":"string"}]},"method":"GET","url":"{{base_url}}/sponsor/self","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get information about own hacker","request":{"auth":null,"method":"GET","url":"{{base_url}}/hacker/self","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new hacker","request":{"auth":null,"method":"POST","url":"{{base_url}}/hacker/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"upload or update resume for a hacker.","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Must be logged in, and the account id must be linked to the hacker._token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/hacker/resume/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/hacker/email/dayOf/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/hacker/email/weekOf/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"POST","url":"{{base_url}}/hacker/email/weekOf/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"accept array of Hackers","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/batchAccept/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"accept a Hacker","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/accept/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"accept a Hacker by email","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/acceptEmail/:email","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a hacker's status to be 'Checked-in'. Note that the Hacker must eitehr be Accepted or Confirmed.","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/checkin/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a hacker's information.","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/hacker/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"Allows confirmation of hacker attendence if they are accepted. Also allows change from 'confirmed' to 'withdrawn'.","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/confirmation/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a hacker's status","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/hacker/status/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Index","item":[{"name":"version","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{public_token}}","type":"string"}]},"method":"GET","url":"{{base_url}}/","header":[],"body":{"mode":"raw","raw":""}}}]},{"name":"Role","item":[{"name":"create a new role","request":{"auth":null,"method":"POST","url":"{{base_url}}/api/role/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Search","item":[{"name":"provide a specific query for any defined model","request":{"auth":null,"method":"GET","url":"{{base_url}}/search/","header":[],"body":{"mode":"raw","raw":""}}}]},{"name":"Settings","item":[{"name":"Get the settings for the current hackathon","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{public_token}}","type":"string"}]},"method":"GET","url":"{{base_url}}/settings/","header":[],"body":{"mode":"raw","raw":""}}},{"name":"Patch the settings for the current hackathon","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrators_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/settings/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Sponsor","item":[{"name":"get a sponsor's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/sponsor/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new sponsor","request":{"auth":null,"method":"POST","url":"{{base_url}}/sponsor/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a sponsor","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/sponsor/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Team","item":[{"name":"get a team's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/team/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new team consisting of only the logged in user","request":{"auth":null,"method":"POST","url":"{{base_url}}/team/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"Allows a logged in hacker to leave current team","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/team/leave/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"Allows a logged in hacker to join a team by name","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/team/join/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"Update a team's information. The team is specified by the hacker belonging to it.","request":{"auth":null,"method":"PATCH","url":"{{base_url}}/team/:hackerId","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Travel","item":[{"name":"get a traveler's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/travel/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get a travel's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/travel/email/:email","header":[],"body":{"mode":"raw","raw":""}}},{"name":"get information about own hacker's travel","request":{"auth":null,"method":"GET","url":"{{base_url}}/travel/self","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new travel","request":{"auth":null,"method":"POST","url":"{{base_url}}/travel/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a traveler's offer","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/travel/offer/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}},{"name":"update a traveler's status","request":{"auth":{"type":"bearer","basic":[],"bearer":[{"key":"token","value":"{{Administrator_token}}","type":"string"}]},"method":"PATCH","url":"{{base_url}}/travel/status/:id","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]},{"name":"Volunteer","item":[{"name":"get a volunteer's information","request":{"auth":null,"method":"GET","url":"{{base_url}}/volunteer/:id","header":[],"body":{"mode":"raw","raw":""}}},{"name":"create a new volunteer","request":{"auth":null,"method":"POST","url":"{{base_url}}/volunteer/","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""}}}]}]}
0 commit comments