Get tasks between a date range (#41)
This commit is contained in:
parent
784b890f70
commit
5a93475be9
10 changed files with 356 additions and 52 deletions
|
|
@ -118,6 +118,12 @@ Authorization: Bearer {{auth_token}}
|
|||
|
||||
###
|
||||
|
||||
# Get all pending tasks in a range
|
||||
GET http://localhost:8080/api/v1/tasks/all/dueadateasc/1546784000/1548784000
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
||||
###
|
||||
|
||||
# Get all pending tasks in caldav
|
||||
GET http://localhost:8080/api/v1/tasks/caldav
|
||||
#Authorization: Bearer {{auth_token}}
|
||||
|
|
@ -125,10 +131,10 @@ GET http://localhost:8080/api/v1/tasks/caldav
|
|||
###
|
||||
|
||||
# Update a task
|
||||
POST http://localhost:8080/api/v1/tasks/32
|
||||
POST http://localhost:8080/api/v1/tasks/3491
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{"done":true}
|
||||
{"startDate":1546804000, "endDate": 1546805000}
|
||||
|
||||
###
|
||||
Reference in a new issue