Exemple #1
0
 def get(self, checklistID, checklist_type):
     """
     Returns a checklist item.
     * Privileges required: **none**
     """
     result = get_checklist_item(checklistID, checklist_type)
     return result, 200, security_headers()
 def get(self, id):
     """
     Returns a checklist item.
     * Privileges required: **none**
     """
     result = get_checklist_item(id)
     return result, 200, security_headers()
Exemple #3
0
 def get(self, id):
     """
     Returns a single checklist item.
     * Privileges required: **none**
     """
     val_num(id)
     result = get_checklist_item(id)
     return result, 200, security_headers()
 def get(self, checklist_id, checklist_type):
     """
     Returns a checklist item.
     * Privileges required: **none**
     """
     val_alpha_num_special(checklist_id)
     val_num(checklist_type)
     result = get_checklist_item(checklist_id, checklist_type)
     return result, 200, security_headers()