Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 677 Bytes

README.md

File metadata and controls

40 lines (36 loc) · 677 Bytes

API

OSH's API service

See routes here

example post request body to /hackathons/new:

{
  "ownerid": 12345,
  "name": "testhackathon1",
  "location": {
    "name": "testuni",
    "city": "cambridge",
    "state": "mass",
    "coords": [
      1.1,
      2.2
    ]
  },
  "startdate": 1,
  "enddate": 2,
  "currentstate": 0,
  "prizes": [
    {
      "name": "prize1",
      "description": "prizedesc",
      "sponsor": "osh"
    }
  ],
  "reimbursements": false,
  "busesoffered": false,
  "buslocations": [],
  "sociallinks": [],
  "hardware": [],
  "map": "http://www.google.com",
  "metadata": ""
}