{
"email" : "[email protected]",
"password" : "encrypted-password"
}
{
"status" : "success or error",
"error" : "message if error"
}
{
"email" : "[email protected]",
"code" : "10 Digit code sent to email"
}
{
"token" : "auth token if successful",
"error" : "error message if incorrect code, only allowed 3 tries"
}
{
"email" : "[email protected]",
"password" : "encrypted-password"
}
{
"status" : "success or error",
"error" : "message if error"
}
{
"board_name" : "name of board",
"created_by" : id_of_user,
}
{
"boards" : [
{
"name" : "name of board",
"id" : board_id
"created_on" : "moment string, formatted"
"latest_post" : "moment string, formatted"
}
]
}
{
"error" : "error message if error",
"board_name" : "name of board",
"id" : id_of_board
}
{
"title" : "thread title",
"created_by" : id_of_user
}
{
"id" : "id of the board',
"board_name" : "name of the board
"threads" : [
{
"id" : thread_id,
"title" : "thread title",
"last_comment" : "moment string, formatted",
"parent_id" : id_of_board,
"created_on" : "moment string, formatted
}
]
}
{
"error" : "error message if error",
"id" : thread_id
}
{
"body" : "Body of the comment",
"created_by" : "id of user that created the comment"
}
{
"error" : "error message if error",
"message" : "success message"
}
{
"comments" : [
{
"id" : "comment id",
"body" : "comment body",
"created_on" : "moment timestamp",
"parent_id" : "id of thread the comment resides in"
}
]
}
{
"email" : "[email protected]",
"token" : "auth token of user"
}
{
"error" : "some error message",
"message" : "email has been logged out"
}