{
"twitterSecret": "big long string",
"screenName": "@austinpray",
"email": "austin@austinpray.com",
"avatarUrl": "https://example.com/shermm.jpg"
}
{
"id": "UUID",
"action": "water",
"displayname": "Water The Plant",
"deadline": "2015-01-1T00:00:00Z",
"yee": [
// []User
],
"orNah": [
// []User
],
"yeeCount": 1,
"orNahCount": 1
}
{
"name": "big-john",
"displayName": "Big John",
"currentPolls": [
// []Poll
]
}
All endpoints are prefixed with /api/v1/
Return all the plants the server knows about.
Return a specific plant.
Return what the bot client should be doing right now. Grabs freshly expired deadlines (5 minutes).