Skip to content
Raghotham S edited this page Jan 6, 2014 · 3 revisions

Description of available services


####/signup method=POST

form-data

email : [email protected]
password : strongpassword
verify : strongpassword
name : userDisplayName

####/signin method=POST

form-data

email : [email protected]
password : strongpassword

####/logout method=POST

####/user/password method=POST

form-data

old_password : "foo"
new_password : "bar"

####/group method=POST

form-data

data : {"group_name":"cholas"}

####/acceptInvite/inviteHash method=GET

####/post Create a new post

method=PUT

form-data

{
    "title": "fb",
    "link": "facebook.com",
    "tags": [
        "fb",
        "social"
    ],
    "category": "categoryId",
    "groups": "groupId"
}

####/post Edit an existing post

method=POST

form-data

{
    "_id": "xxxxxxxxx",
    "title": "fb",
    "link": "facebook.com",
    "tags": [
        "fb",
        "social"
    ],
    "category": "categoryId",
    "groups": "groupId"
}

####/post/post_id Delete an existing post

method=DELETE

####/post?group=groupId

method=GET

####/search?q="tag1"

method=GET

####/user/info

method=GET

####/user/group Read existing groups for user

method=GET

####/user/group Create a group for user

method=PUT

{
    "group_name":"group1"
}

####/user/group/group_id Delete existing group for user

method=DELETE

Clone this wiki locally