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

Documentation Updates for API usage #38107

Closed
wants to merge 2 commits into from
Closed

Documentation Updates for API usage #38107

wants to merge 2 commits into from

Conversation

dcode
Copy link
Contributor

@dcode dcode commented Jun 5, 2019

Summary

While trying to use the Kibana API for programmatically creating Spaces, I ran across an issue when using the examples and specifying the color that I pulled from the Kibana UI to manage spaces. Namely, the UI presents hex color codes in all caps, while the API only accepts lower case hex. Secondly, there's no documentation (that I could find) that specified that both the kbn-xsrf and Content-Type headers are required.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)

For maintainers

@elasticmachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@lukeelmers
Copy link
Member

jenkins, test this

@lukeelmers lukeelmers added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! Feature:Security/Spaces Platform Security - Spaces feature Team:Docs labels Jun 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs

@lukeelmers lukeelmers requested a review from a team June 6, 2019 23:32
@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

Hey @dcode, thank you for this PR! Would you be able to re-point this to the master branch? Once we approve and merge it into master, we will take care of back-porting your work into the 7.x branches.

docs/api.asciidoc Show resolved Hide resolved
docs/api.asciidoc Show resolved Hide resolved
@dcode
Copy link
Contributor Author

dcode commented Jun 7, 2019 via email

docs/api.asciidoc Show resolved Hide resolved
docs/api.asciidoc Show resolved Hide resolved
docs/api/spaces-management/post.asciidoc Show resolved Hide resolved
@dcode
Copy link
Contributor Author

dcode commented Oct 2, 2019

This fell off my radar. I'll make the requested changes and repush soon.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@KOTungseth
Copy link
Contributor

@dcode any updates on this one? I can help with the merge conflicts. Just let me know!

@KOTungseth KOTungseth mentioned this pull request Dec 2, 2019
3 tasks
@KOTungseth
Copy link
Contributor

Replaced with #51989. Closing.

@KOTungseth KOTungseth closed this Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Security/Spaces Platform Security - Spaces feature review Team:Docs Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants