Skip to content

Commit 780b290

Browse files
lcawll-trottapquentin
authored andcommitted
Add specification for post event to an analytics collection (#3363)
Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit 2f57f6b)
1 parent 86e864c commit 780b290

File tree

10 files changed

+408
-10
lines changed

10 files changed

+408
-10
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,16 @@ actions:
392392
examples:
393393
indicesLegacyPutTemplateRequestExample1:
394394
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
395+
## Examples for behavioral analytics
396+
- target: "$.paths['/_application/analytics/{collection_name}/event/{event_type}']['post']"
397+
description: "Add examples for post analytics collection event operation"
398+
update:
399+
requestBody:
400+
content:
401+
application/json:
402+
examples:
403+
postBehavioralAnalyticsEventRequestExample1:
404+
$ref: "../../specification/search_application/post_behavioral_analytics_event/BehavioralAnalyticsEventPostRequestExample1.yaml"
395405
## Examples for licensing
396406
- target: "$.paths['/_license/basic_status']['get']"
397407
description: "Add example for get basic status response"

output/openapi/elasticsearch-openapi.json

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 161 additions & 4 deletions
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: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -729,12 +729,6 @@
729729
],
730730
"response": []
731731
},
732-
"search_application.post_behavioral_analytics_event": {
733-
"request": [
734-
"Missing request & response"
735-
],
736-
"response": []
737-
},
738732
"search_mvt": {
739733
"request": [
740734
"Request: query parameter 'grid_agg' does not exist in the json spec",

output/typescript/types.ts

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_doc_ids/table.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ autoscaling-get-autoscaling-capacity,https://www.elastic.co/guide/en/elasticsear
1818
autoscaling-get-autoscaling-policy,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-get-autoscaling-policy.html
1919
autoscaling-put-autoscaling-policy,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/autoscaling-put-autoscaling-policy.html
2020
avoid-index-pattern-collisions,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/index-templates.html#avoid-index-pattern-collisions
21+
behavioral-analytics-collection-event,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/post-analytics-collection-event.html
22+
behavioral-analytics-event-reference,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/behavioral-analytics-event-reference.html
2123
byte-units,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/api-conventions.html#byte-units
2224
bytes-processor,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/bytes-processor.html
2325
calendar-and-fixed-intervals,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-aggregations-bucket-datehistogram-aggregation.html#calendar_and_fixed_intervals

0 commit comments

Comments
 (0)