[Dashboards as Code] Unify Dashboard endpoint status codes with other As Code APIs#258346
[Dashboards as Code] Unify Dashboard endpoint status codes with other As Code APIs#258346nickpeihl wants to merge 5 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (4)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
ThomThomson
left a comment
There was a problem hiding this comment.
Nice work making this more RESTful. LGTM!
jasonrhodes
left a comment
There was a problem hiding this comment.
Test changes LGTM, glad to see us make these changes to our APIs.
💚 Build Succeeded
Metrics [docs]
History
|
Summary
Updates the Dashboard create and delete endpoints to return 201 and 204, respectively on a successful operations. This is in line with our as code API expectations and other API endpoints like Data Views and Lens.