Skip to content

Commit 2f57f6b

Browse files
lcawll-trottapquentin
authoredJan 4, 2025··
Add specification for post event to an analytics collection (#3363)
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent 16be4de commit 2f57f6b

10 files changed

+408
-11
lines changed
 

‎docs/overlays/elasticsearch-openapi-overlays.yaml

+10-1
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"
@@ -461,4 +471,3 @@ actions:
461471
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
462472
renderSearchApplicationQueryResponseExample1:
463473
$ref: "../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"
464-

‎output/openapi/elasticsearch-openapi.json

+88
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎output/schema/schema-serverless.json

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎output/schema/schema.json

+161-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎output/schema/validation-errors.json

-6
Original file line numberDiff line numberDiff line change
@@ -617,12 +617,6 @@
617617
],
618618
"response": []
619619
},
620-
"search_application.post_behavioral_analytics_event": {
621-
"request": [
622-
"Missing request & response"
623-
],
624-
"response": []
625-
},
626620
"search_mvt": {
627621
"request": [
628622
"Request: query parameter 'grid_agg' does not exist in the json spec",

‎output/typescript/types.ts

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎specification/_doc_ids/table.csv

+2
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)
Please sign in to comment.