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

Description of available services


####/api/signup method=POST

form-data

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

####/api/signin method=POST

form-data

email = [email protected]
password = strongpassword

####/api/logout method=POST

####/api/user/password method=POST

form-data

old_password = "foo"
new_password = "bar"

####/api/group method=POST

form-data

data = {"group_name":"cholas"}

####/api/acceptInvite/inviteHash method=GET

####/api/post Create a new post

method=PUT

form-data

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

####/api/post Edit an existing post

method=POST

form-data

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

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

method=DELETE

####/api/post?group=groupId

method=GET

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

method=GET

####/api/user/info

method=GET

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

method=GET

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

method=PUT

data = {
    "group_name":"group1"
}

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

method=DELETE

Clone this wiki locally