def get(self, project_id): """ Retrieve all tasks related to given project. --- tags: - Tasks description: It's mainly used for synchronisation purpose. parameters: - in: path name: project_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 responses: 200: description: All tasks related to given project """ projects_service.get_project(project_id) page = self.get_page() return tasks_service.get_tasks_for_project(project_id, page)
def get(self, project_id): projects_service.get_project(project_id) page = self.get_page() return tasks_service.get_tasks_for_project(project_id, page)
def get(self, project_id): permissions.check_admin_permissions() projects_service.get_project(project_id) page = self.get_page() return tasks_service.get_tasks_for_project(project_id, page)