def get(self, pid, cid): """Fetch all a capture by its ID""" args = pagination_parameters.parse_args(request) limit = args['limit'] offset = args['offset'] project_handler = projects.projects_manager.get_project_handler(pid) return project_handler.get_messages_in_capture(cid, limit = limit, offset = offset)
def get(self): """List all users Returns a list of users starting from ``offset`` limited by ``limit`` parameter. """ args = pagination_parameters.parse_args(request) limit = args['limit'] offset = args['offset']
def get(self, pid, aid): """Fetches aggregate child domain by ID""" args = pagination_parameters.parse_args(request) limit = args['limit'] offset = args['offset'] project_handler = projects.projects_manager.get_project_handler(pid) return project_handler.get_domains_in_aggregate(aid = aid, limit = limit, offset = offset)
def get(self, pid, sid): """Fetch symbol's fields by its id""" args = pagination_parameters.parse_args(request) limit = args['limit'] offset = args['offset'] project_handler = projects.projects_manager.get_project_handler(pid) return project_handler.get_symbol_fields(sid, limit = limit, offset = offset)
def get(self, pid): """List all domains Returns a list of domains starting from ``offset`` limited by ``limit`` parameter. """ args = pagination_parameters.parse_args(request) limit = args['limit'] offset = args['offset'] project_handler = projects.projects_manager.get_project_handler(pid) return project_handler.get_domains(limit = limit, offset = offset)