11[role="xpack"]
2+ [testenv="basic"]
23[[info-api]]
34== Info API
45
5- The info API provides general information about the installed {xpack}.
6+ The info API provides general information about the installed {xpack} features .
67
78[float]
89=== Request
@@ -55,30 +56,29 @@ Example response:
5556 "date" : "2015-04-07T13:34:42Z"
5657 },
5758 "license" : {
58- "uid" : "893361dc-9749-4997-93cb-802e3dofh7aa",
59- "type" : "trial",
60- "mode" : "trial",
61- "status" : "active",
62- "expiry_date_in_millis" : 1914278399999
59+ "uid" : "893361dc-9749-4997-93cb-xxx",
60+ "type" : "basic",
61+ "mode" : "basic",
62+ "status" : "active"
6363 },
6464 "features" : {
6565 "graph" : {
6666 "description" : "Graph Data Exploration for the Elastic Stack",
67- "available" : true ,
67+ "available" : false ,
6868 "enabled" : true
6969 },
7070 "logstash" : {
7171 "description" : "Logstash management component for X-Pack",
72- "available" : true ,
72+ "available" : false ,
7373 "enabled" : true
7474 },
7575 "ml" : {
7676 "description" : "Machine Learning for the Elastic Stack",
77- "available" : true ,
77+ "available" : false ,
7878 "enabled" : true,
7979 "native_code_info" : {
80- "version" : "6 .0.0-alpha1-SNAPSHOT",
81- "build_hash" : "d081461967d61a "
80+ "version" : "7 .0.0-alpha1-SNAPSHOT",
81+ "build_hash" : "99a07c016d5a73 "
8282 }
8383 },
8484 "monitoring" : {
@@ -93,12 +93,12 @@ Example response:
9393 },
9494 "security" : {
9595 "description" : "Security for the Elastic Stack",
96- "available" : true ,
96+ "available" : false ,
9797 "enabled" : true
9898 },
9999 "watcher" : {
100100 "description" : "Alerting, Notification and Automation for the Elastic Stack",
101- "available" : true ,
101+ "available" : false ,
102102 "enabled" : true
103103 }
104104 },
@@ -107,10 +107,10 @@ Example response:
107107------------------------------------------------------------
108108// TESTRESPONSE[s/"hash" : "2798b1a3ce779b3611bb53a0082d4d741e4d3168",/"hash" : "$body.build.hash",/]
109109// TESTRESPONSE[s/"date" : "2015-04-07T13:34:42Z"/"date" : "$body.build.date"/]
110- // TESTRESPONSE[s/"uid" : "893361dc-9749-4997-93cb-802e3dofh7aa ",/"uid": "$body.license.uid",/]
110+ // TESTRESPONSE[s/"uid" : "893361dc-9749-4997-93cb-xxx ",/"uid": "$body.license.uid",/]
111111// TESTRESPONSE[s/"expiry_date_in_millis" : 1914278399999/"expiry_date_in_millis" : "$body.license.expiry_date_in_millis"/]
112- // TESTRESPONSE[s/"version" : "6 .0.0-alpha1-SNAPSHOT",/"version": "$body.features.ml.native_code_info.version",/]
113- // TESTRESPONSE[s/"build_hash" : "d081461967d61a "/"build_hash": "$body.features.ml.native_code_info.build_hash"/]
112+ // TESTRESPONSE[s/"version" : "7 .0.0-alpha1-SNAPSHOT",/"version": "$body.features.ml.native_code_info.version",/]
113+ // TESTRESPONSE[s/"build_hash" : "99a07c016d5a73 "/"build_hash": "$body.features.ml.native_code_info.build_hash"/]
114114// So much s/// but at least we test that the layout is close to matching....
115115
116116The following example only returns the build and features information:
0 commit comments