added doc

This commit is contained in:
Aran Zaiger 2015-07-03 01:26:08 +03:00
parent 8a579cfb83
commit 44f0d1705a

View file

@ -368,19 +368,75 @@ def getAllTasksByUser(token):
<b>Response</b> <b>Response</b>
<br> <br>
200 - JSON Example:<br> 200 - JSON Example:<br>
<code> <code>[<br>
{<br> {<br>
'title' : 'Task1',<br> "courseName": "Advance Math",<br>
'courseId' : 12345678,<br> "courseId": 4762397176758272,<br>
'description' : 'prepare by sunday',<br> "PersonalTasks": [<br>
'dueDate' : { {<br>
'year' : 2015, "grade": 12,<br>
'month' : 12, "isPersonal": true,<br>
'day' : 23 "dueDate": {<br>
}<br> "year": 2010,<br>
'isPersonal' : true,<br> "day": 4,<br>
'task_id' : 589689456894<br> "month": 2<br>
}<br> },<br>
"courseId": 4762397176758272,<br>
"title": "task1",<br>
"description": "pls fddfsdfdsk",<br>
"id": 5888297083600896<br>
}<br>
],<br>
"projectTasks": []<br>
},<br>
{<br>
"courseName": "Bad Math",<br>
"courseId": 5659598665023488,<br>
"PersonalTasks": [<br>
{<br>
"grade": 12,<br>
"isPersonal": true,<br>
"dueDate": {<br>
"year": 2010,<br>
"day": 4,<br>
"month": 2<br>
},<br>
"courseId": 5659598665023488,<br>
"title": "new task1",<br>
"description": "pls fddfsdfdsk",<br>
"id": 5096648711602176<br>
},<br>
{<br>
"grade": 12,<br>
"isPersonal": true,<br>
"dueDate": {<br>
"year": 2010,<br>
"day": 4,<br>
"month": 2<br>
},<br>
"courseId": 5659598665023488,<br>
"title": "new task4",<br>
"description": "pls fddfsdfdsk",<br>
"id": 5167017455779840<br>
}<br>
],<br>
"projectTasks": [<br>
{<br>
"grade": 12,<br>
"isPersonal": false,<br>
"dueDate": {<br>
"year": 2010,<br>
"day": 4,<br>
"month": 2<br>
},<br>
"courseId": 5659598665023488,<br>
"title": "new task3",<br>
"description": "pls fddfsdfdsk",<br>
"id": 5237386199957504<br>
}<br>
]<br>
}<br>
]<br>
</code> </code>
<br> <br>
""" """