Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 970 Bytes

README.md

File metadata and controls

47 lines (42 loc) · 970 Bytes

Build Status Coverage Status

caffeine-routine-galileo

Intel Galileo project for Caffeine Routine

Endpoints

/heat

Verb: POST
Description: Tells the Keurig to heat up.

/brew

Verb: POST
Description: Tell the Keurig to start brewing.
Request Body:

{
  size: 'SIZE'
}

Size can be:

  • small
  • medium
  • large

/schedule

Verb: GET
Description: Returns the schedule.
Response Body:

[
  "date_time_1",
  "date_time_2",
  "date_time_n"
]

/schedule

Verb: POST
Description: Sets the schedule.
Request Body:

[
  "date_time_1",
  "date_time_2",
  "date_time_n"
]