Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fixes to API docs #71678

Merged
merged 2 commits into from
Jul 14, 2020
Merged

[DOCS] Fixes to API docs #71678

merged 2 commits into from
Jul 14, 2020

Conversation

KOTungseth
Copy link
Contributor

@KOTungseth KOTungseth commented Jul 14, 2020

Summary

Docs preview

Closes #71200
Closes #69792
Closes #67107

Checklist

  • Documentation was added for features that require explanation or tutorials

@elasticmachine
Copy link
Contributor

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

@KOTungseth KOTungseth requested a review from tsouza July 14, 2020 16:10
Copy link
Member

@bmorelli25 bmorelli25 left a comment

Choose a reason for hiding this comment

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

Most of these look good. The using-api with USER/PASS specified doesn't work for me though. For reference, I have the following set:
Kibana URL: http://localhost:5601
Kibana host: localhost:5601
Kibana user: admin

When I hit the copy as CURL button on this page https://kibana_71678.docs-preview.app.elstc.co/guide/en/kibana/master/using-api.html, it creates this:

curl -X POST -u admin:$KIBANAPASS "localhost:5601/-u api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c" -H 'kbn-xsrf: true'

There's a weird -u floating in the middle of the endpoint URL

@KOTungseth KOTungseth merged commit 0b675b8 into elastic:master Jul 14, 2020
@KOTungseth KOTungseth deleted the docs/api-curl branch July 14, 2020 19:59
KOTungseth added a commit to KOTungseth/kibana that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
KOTungseth added a commit to KOTungseth/kibana that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
KOTungseth added a commit to KOTungseth/kibana that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
KOTungseth added a commit to KOTungseth/kibana that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
#	docs/api/upgrade-assistant/batch_reindexing.asciidoc
KOTungseth added a commit to KOTungseth/kibana that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
#	docs/api/upgrade-assistant/batch_reindexing.asciidoc
KOTungseth added a commit that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
KOTungseth added a commit that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
KOTungseth added a commit that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
KOTungseth added a commit that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
#	docs/api/upgrade-assistant/batch_reindexing.asciidoc
KOTungseth added a commit that referenced this pull request Jul 14, 2020
* [DOCS] Fixes to API docs

* Fixes rogue -u
# Conflicts:
#	docs/api/saved-objects/create.asciidoc
#	docs/api/saved-objects/export.asciidoc
#	docs/api/upgrade-assistant/batch_reindexing.asciidoc

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants