Skip to content

Commit

Permalink
api_paths: Added new task related paths
Browse files Browse the repository at this point in the history
  • Loading branch information
igo95862 committed Jun 9, 2021
1 parent db20cf5 commit 450a10d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions codegen/api_paths/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,20 @@ var TaskPaths = []PathSpec{
Description: "Create new task",
},
},
{
Path: "/api/v4/teams/{team_id}/tasks/{task_id}",
Get: &OperationSpec{
Responce: tdapi.Task{},
Description: "Get task",
},
Post: &OperationSpec{
Request: tdapi.Task{},
Responce: tdapi.Task{},
Description: "Update task",
},
Delete: &OperationSpec{
Responce: tdapi.Task{},
Description: "Delete task",
},
},
}

0 comments on commit 450a10d

Please sign in to comment.