Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.70 KB | None | 0 0
  1. GET /projects
  2.  
  3. {
  4. "projects":[
  5.     {
  6.       "projectID":Int,
  7.       "projectDue":Long,
  8.       "tasksCount":Int, //Liczba tasków dla tego zadania
  9.       "projectName":String
  10.     }
  11.   ]
  12. }
  13.  
  14. GET /projects/{projectID}/tasks
  15.  
  16. {
  17. "tasks":[
  18.     {
  19.       "taskID":Int,
  20.       "taskDue":Long,
  21.       "taskDescription":String,
  22.       "taskName":String
  23.     }
  24.   ]
  25. }
  26.  
  27. POST /projects
  28.  
  29. {
  30.       "projectID":Int, //-1 dla nowego
  31.       "projectDue":Long,
  32.       "tasksCount":Int, //Liczba tasków dla tego zadania
  33.       "projectName":String
  34. }
  35.  
  36. POST /projects/{projectID}/tasks
  37.  
  38. {
  39.       "taskID":Int, //-1 dla nowego
  40.       "taskDue":Long,
  41.       "taskDescription":String,
  42.       "taskName":String
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement