示例#1
0
 def get(self, project_id, task_type_id):
     """
     Return the list of sequence ids to which the current user has subscribed for given task type.
     ---
     tags:
     - User
     parameters:
       - in: path
         name: project_id
         required: True
         schema:
             type: UUID
             example: a24a6ea4-ce75-4665-a070-57453082c25
       - in: path
         name: task_type_id
         required: True
         schema:
             type: UUID
             example: a24a6ea4-ce75-4665-a070-57453082c25
     responses:
         200:
             description:  List of sequence ids to which the current user has subscribed for given task type
     """
     return user_service.get_sequence_subscriptions(project_id,
                                                    task_type_id)
示例#2
0
 def get(self, project_id, task_type_id):
     return user_service.get_sequence_subscriptions(project_id, task_type_id)