Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1876818E79 for ; Wed, 28 Oct 2015 11:51:35 +0000 (UTC) Received: (qmail 3009 invoked by uid 500); 28 Oct 2015 11:51:32 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 2972 invoked by uid 500); 28 Oct 2015 11:51:32 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 2961 invoked by uid 99); 28 Oct 2015 11:51:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 11:51:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 880EF1A2DE7 for ; Wed, 28 Oct 2015 11:51:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id A6_OnypYyy0R for ; Wed, 28 Oct 2015 11:51:29 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id E1F4024C27 for ; Wed, 28 Oct 2015 11:51:28 +0000 (UTC) Received: (qmail 2472 invoked by uid 99); 28 Oct 2015 11:51:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 11:51:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C424D2C1F57 for ; Wed, 28 Oct 2015 11:51:27 +0000 (UTC) Date: Wed, 28 Oct 2015 11:51:27 +0000 (UTC) From: "liutongfeng (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-208) Remove "\n" characters in the REST API json response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978286#comment-14978286 ] liutongfeng commented on ATLAS-208: ----------------------------------- Is the entity submit's response should also be modified? > Remove "\n" characters in the REST API json response > ---------------------------------------------------- > > Key: ATLAS-208 > URL: https://issues.apache.org/jira/browse/ATLAS-208 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.6-incubating > Reporter: Ayub Khan > Priority: Minor > Attachments: ATLAS-208.txt > > > "\n" characters are seen in REST API response, which is not needed and can be removed.. > curl -k -s --negotiate -u : http://localhost:21000/api/atlas/types/traitWithSuperTypefxgy2bhnev | python -m json.tool > { > "definition": "{\n \"enumTypes\":[\n \n ],\n \"structTypes\":[\n \n ],\n \"traitTypes\":[\n {\n \"superTypes\":[\n \"traitSuperType1fxgy2bhnev\",\n \"traitSuperType2fxgy2bhnev\"\n ],\n \"hierarchicalMetaTypeName\":\"org.apache.atlas.typesystem.types.TraitType\",\n \"typeName\":\"traitWithSuperTypefxgy2bhnev\",\n \"attributeDefinitions\":[\n {\n \"name\":\"string\",\n \"dataTypeName\":\"string\",\n \"multiplicity\":\"optional\",\n \"isComposite\":false,\n \"isUnique\":false,\n \"isIndexable\":true,\n \"reverseAttributeName\":null\n }\n ]\n }\n ],\n \"classTypes\":[\n \n ]\n}", > "requestId": "1146437560@qtp-1778535015-267 - d982526c-f6b6-4fe5-a4ed-722cbc29eb38", > "typeName": "traitWithSuperTypefxgy2bhnev" > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)