def patch(self, artifact_id): """Patches a prep template in the system Follows the JSON PATCH specification: https://tools.ietf.org/html/rfc6902 """ req_op = self.get_argument('op') req_path = self.get_argument('path') req_value = self.get_argument('value', None) req_from = self.get_argument('from', None) with safe_execution(): artifact_patch_request(self.current_user, artifact_id, req_op, req_path, req_value, req_from) self.finish()
def patch(self, artifact_id): """Patches a prep template in the system Follows the JSON PATCH specification: https://tools.ietf.org/html/rfc6902 """ req_op = self.get_argument('op') req_path = self.get_argument('path') req_value = self.get_argument('value', None) req_from = self.get_argument('from', None) with safe_execution(): artifact_patch_request(self.current_user, artifact_id, req_op, req_path, req_value, req_from) self.finish()
def post(self, artifact_id): with safe_execution(): res = artifact_post_req(self.current_user, artifact_id) self.write(res) self.finish()
def post(self, artifact_id): with safe_execution(): res = artifact_summary_post_request(self.current_user, artifact_id) self.write(res)
def get(self, artifact_id): with safe_execution(): res = artifact_summary_get_request(self.current_user, artifact_id) self.render("artifact_ajax/artifact_summary.html", **res)
def post(self, artifact_id): with safe_execution(): res = artifact_post_req(self.current_user, artifact_id) self.write(res) self.finish()
def post(self, artifact_id): with safe_execution(): res = artifact_summary_post_request(self.current_user, artifact_id) self.write(res)
def get(self, artifact_id): with safe_execution(): res = artifact_summary_get_request(self.current_user, artifact_id) self.render("artifact_ajax/artifact_summary.html", **res)