-
Notifications
You must be signed in to change notification settings - Fork 0
GarrethDottin edited this page May 8, 2015
·
6 revisions
uid
means the current user id. This will be removed when we setup proper
authenticated sessions.
rid
means the resource id for the given endpoint.
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.
{
title: String,
taskUserId: String,
timeDuration: Number,
completed: Boolean
}
Creates a task for the user with the userId
and title
fields.
Lists all tasks for the user.
Retrieves the task with the given id.
{
site: String,
info: String,
blockedSiteId: String,
active: Boolean
}