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 “api/tasks/“, req.body

Require Field: 
-taskUserId, name

Get All Tasks 
“/api/tasks/:userid”

Get one Task 
“/api/tasks/:userid/:taskid” 

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

Get All Blocked Sites
/api/blocked-sites/:userid


/Get one Blocked Site 
“api/blocked-sites/:userid/:blockedSiteId” 

Clone this wiki locally