Skip to content

[DOCS] Add authorization to anomaly detection job and datafeed API examples#87937

Merged
lcawl merged 4 commits intoelastic:masterfrom
lcawl:datafeed-auth
Jun 27, 2022
Merged

[DOCS] Add authorization to anomaly detection job and datafeed API examples#87937
lcawl merged 4 commits intoelastic:masterfrom
lcawl:datafeed-auth

Conversation

@lcawl
Copy link
Copy Markdown
Member

@lcawl lcawl commented Jun 22, 2022

Relates to #87905

This PR updates the example output in the https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-get-datafeed.html, https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-put-datafeed.html, and https://www.elastic.co/guide/en/elasticsearch/reference/master/ml-put-job.html API reference pages.

NOTE: This PR disables code snippet testing in the "create anomaly detection job" API example, since otherwise it assumes security is disabled and omits authorization details.

@lcawl lcawl added >docs General docs changes :ml Machine learning v8.4.0 labels Jun 22, 2022
@lcawl lcawl marked this pull request as ready for review June 23, 2022 00:18
@elasticmachine elasticmachine added Team:Docs Meta label for docs team Team:ML Meta label for the ML team labels Jun 23, 2022
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (Team:ML)

@lcawl lcawl requested a review from droberts195 June 23, 2022 00:18
@lcawl lcawl marked this pull request as draft June 24, 2022 16:21
@lcawl lcawl changed the title [DOCS] Add authorization to datafeed API examples [DOCS] Add authorization to anomaly detection job and datafeed API examples Jun 24, 2022
@lcawl
Copy link
Copy Markdown
Member Author

lcawl commented Jun 24, 2022

@elasticmachine run elasticsearch-ci/docs rebuild

Copy link
Copy Markdown

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lcawl lcawl marked this pull request as ready for review June 27, 2022 20:03
@lcawl lcawl merged commit aa19690 into elastic:master Jun 27, 2022
@lcawl lcawl deleted the datafeed-auth branch June 27, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes :ml Machine learning Team:Docs Meta label for docs team Team:ML Meta label for the ML team v8.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants