Commit 7efb5eac authored by Hussain Khalil's avatar Hussain Khalil

Added final exmaples

parent fd65bfdc
......@@ -2,7 +2,7 @@
## Authenticate
auth();
## Create a task
r("addTask", {
......@@ -13,4 +13,35 @@
tags:["test"],
attachedFiles: []
}
});
\ No newline at end of file
});
## Modify task
r("modifyTask", {
modifyId: "",
task: {
project: "projectid",
priority: false,
body: "Foobar",
tags:["test"],
attachedFiles: []
}
});
## Create a new user
r("createUser", {
create: {
user: "hussain1",
name: "Hussain Khalil",
passwd: "TestPassword",
email: "hussain@sanpilot.co",
miscKeys: {}
}
});
## List users
r("getUsers", {
users: []
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment