Skip to content
GarrethDottin edited this page Apr 29, 2015 · 6 revisions

GrooveOtter Documentation

Limitation: Currently, the API has some limitations particularly in relation to authentication. While we’d like to have a completely restful app, we’re starting with a focus on endpoints and we’ll be moving into authentication and session storage.

Endpoints: Tasks: { name: String, taskUserId: String, timeDuration: Number, created: String, updatedTimeStamp: Number, Complete: Boolean }

Create Task 
Post “/“, req.body

Require Field: 
-taskUserId, name

Get All Tasks 
“/:userid”

Get one Task 
“/:userid/:taskid” 

Blocked Sites 
{ 
	site: String, 
	info: String, 
	blockedSiteId: String, 
	active: Boolean
}

Get All Blocked Sites
/:userid


/Get one Blocked Site 
“/:userid/:blockedSiteId” 

Clone this wiki locally