This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new bf1fa0a  ATLAS-2183 :- fixed Export-API documentation. curl example 
json syntax and options element to work properly
bf1fa0a is described below

commit bf1fa0a13b0e6e637a4224e541bca75aa0bb5b78
Author: Daniel Lee <[email protected]>
AuthorDate: Mon Jun 24 01:43:49 2019 -0700

    ATLAS-2183 :- fixed Export-API documentation. curl example json syntax and 
options element to work properly
---
 docs/src/site/twiki/Export-API.twiki | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/docs/src/site/twiki/Export-API.twiki 
b/docs/src/site/twiki/Export-API.twiki
index 65da6d7..cbae2de 100644
--- a/docs/src/site/twiki/Export-API.twiki
+++ b/docs/src/site/twiki/Export-API.twiki
@@ -128,7 +128,7 @@ The _metrics_ contains the number of types and entities 
exported as part of the
             }
         ],
         "options": {
-            "fetchType": "full"
+            "fetchType": "FULL"
         }
     },
     "userName": "admin"
@@ -141,11 +141,13 @@ Below are sample CURL calls that demonstrate Export of 
_!QuickStart_ database.
 <verbatim>
 curl -X POST -u adminuser:password -H "Content-Type: application/json" -H 
"Cache-Control: no-cache" -d '{
     "itemsToExport": [
-            { "typeName": "DB", "uniqueAttributes": { "name": "Sales" }
-            { "typeName": "DB", "uniqueAttributes": { "name": "Reporting" }
-            { "typeName": "DB", "uniqueAttributes": { "name": "Logging" }
-        }
+            { "typeName": "DB", "uniqueAttributes": { "name": "Sales" } },
+            { "typeName": "DB", "uniqueAttributes": { "name": "Reporting" } },
+            { "typeName": "DB", "uniqueAttributes": { "name": "Logging" } }
     ],
-        "options": { "full" }
-    }' "http://localhost:21000/api/atlas/admin/export"; > quickStartDB.zip
+    "options": {
+        "fetchType": "FULL"
+    }
+}' "http://localhost:21000/api/atlas/admin/export"; > quickStartDB.zip
+
 </verbatim>

Reply via email to