1
1
[role="xpack"]
2
+ [testenv="basic"]
2
3
[[info-api]]
3
4
== Info API
4
5
5
- The info API provides general information about the installed {xpack}.
6
+ The info API provides general information about the installed {xpack} features .
6
7
7
8
[float]
8
9
=== Request
@@ -55,30 +56,29 @@ Example response:
55
56
"date" : "2015-04-07T13:34:42Z"
56
57
},
57
58
"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"
63
63
},
64
64
"features" : {
65
65
"graph" : {
66
66
"description" : "Graph Data Exploration for the Elastic Stack",
67
- "available" : true ,
67
+ "available" : false ,
68
68
"enabled" : true
69
69
},
70
70
"logstash" : {
71
71
"description" : "Logstash management component for X-Pack",
72
- "available" : true ,
72
+ "available" : false ,
73
73
"enabled" : true
74
74
},
75
75
"ml" : {
76
76
"description" : "Machine Learning for the Elastic Stack",
77
- "available" : true ,
77
+ "available" : false ,
78
78
"enabled" : true,
79
79
"native_code_info" : {
80
- "version" : "6.0.0-alpha1-SNAPSHOT ",
81
- "build_hash" : "d081461967d61a "
80
+ "version" : "6.3.0 ",
81
+ "build_hash" : "54b5cf147d946c "
82
82
}
83
83
},
84
84
"monitoring" : {
@@ -93,12 +93,12 @@ Example response:
93
93
},
94
94
"security" : {
95
95
"description" : "Security for the Elastic Stack",
96
- "available" : true ,
96
+ "available" : false ,
97
97
"enabled" : true
98
98
},
99
99
"watcher" : {
100
100
"description" : "Alerting, Notification and Automation for the Elastic Stack",
101
- "available" : true ,
101
+ "available" : false ,
102
102
"enabled" : true
103
103
}
104
104
},
@@ -107,10 +107,10 @@ Example response:
107
107
------------------------------------------------------------
108
108
// TESTRESPONSE[s/"hash" : "2798b1a3ce779b3611bb53a0082d4d741e4d3168",/"hash" : "$body.build.hash",/]
109
109
// 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",/]
111
111
// 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" : "6.3.0 ",/"version": "$body.features.ml.native_code_info.version",/]
113
+ // TESTRESPONSE[s/"build_hash" : "54b5cf147d946c "/"build_hash": "$body.features.ml.native_code_info.build_hash"/]
114
114
// So much s/// but at least we test that the layout is close to matching....
115
115
116
116
The following example only returns the build and features information:
0 commit comments