This repository was archived by the owner on Jun 11, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -68,21 +68,19 @@ Location: /tasks/#{new_task_id} Sample post:
6868 <billable-by-default type =" boolean" >false</billable-by-default >
6969 <default-hourly-rate type =" decimal" >100</default-hourly-rate >
7070 <is-default type =" boolean" >false</is-default >
71- <name >Server Admninistration </name >
71+ <name >Server Administration </name >
7272</task >
7373```
7474
75- ## DELETE EXISTING TASK
75+ ## ARCHIVE OR DELETE EXISTING TASK
7676
7777DELETE ` /tasks/#{task_id} `
7878
7979HTTP Response: 200 OK
8080
81- Returned if task does not have any hours associated.
81+ Returned if task does not have any hours associated - task will be deleted .
8282
83- HTTP Response: 400 Bad Request
84-
85- Returned if task is not removable.
83+ Returned if task is not removable - task will be archived.
8684
8785## UPDATE AN EXISTING TASK
8886
@@ -103,10 +101,10 @@ Sample post:
103101</task >
104102```
105103
106- ## ACTIVATE EXISTING TASK
104+ ## ACTIVATE EXISTING ARCHIVED TASK
107105
108106POST ` /tasks/#{task_id}/activate `
109107
110108HTTP Response: 200 OK
111109
112- Location: /tasks/#{task_id}
110+ Location: /tasks/#{task_id}
You can’t perform that action at this time.
0 commit comments