Skip to content

Commit ffbf26d

Browse files
Update rest-api-spec
1 parent 03107f3 commit ffbf26d

File tree

5 files changed

+134
-3
lines changed

5 files changed

+134
-3
lines changed

output/schema/schema.json

Lines changed: 51 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/indices.explain_lifecycle.json renamed to specification/_json_spec/indices.explain_data_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"indices.explain_lifecycle": {
2+
"indices.explain_data_lifecycle": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/dlm-explain-lifecycle.html",
55
"description": "Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc."
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"search_application.post_behavioral_analytics_event": {
3+
"documentation": {
4+
"url": "http://todo.com/tbd",
5+
"description": "Creates a behavioral analytics event for existing collection."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "xpack.ent-search.enabled",
10+
"headers": {
11+
"accept": ["application/json"],
12+
"content_type": ["application/json"]
13+
},
14+
"url": {
15+
"paths": [
16+
{
17+
"path": "/_application/analytics/{collection_name}/event/{event_type}",
18+
"methods": ["POST"],
19+
"parts": {
20+
"collection_name": {
21+
"type": "string",
22+
"description": "The name of behavioral analytics collection"
23+
},
24+
"event_type": {
25+
"type": "string",
26+
"description": "Behavioral analytics event type. Available: page_view, search, search_click"
27+
}
28+
}
29+
}
30+
]
31+
},
32+
"body": {
33+
"description": "The event definition",
34+
"required": true
35+
}
36+
}
37+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"search_application.search": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/search-application-search.html",
5+
"description": "Perform a search against a search application"
6+
},
7+
"stability": "beta",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_application/search_application/{name}/_search",
17+
"methods": ["GET", "POST"],
18+
"parts": {
19+
"name": {
20+
"type": "string",
21+
"description": "The name of the search application to be searched"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"body": {
28+
"description": "Search parameters, including template parameters that override defaults",
29+
"required": false
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)