kibana/dev_docs/contributing
Kibana Machine 6ac10e2e01
[8.19] Adds guidelines for designing HTTP APIs (#224348) (#225099)
# Backport

This will backport the following commits from `main` to `8.19`:
- [Adds guidelines for designing HTTP APIs
(#224348)](https://github.com/elastic/kibana/pull/224348)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Christiane (Tina)
Heiligers","email":"christiane.heiligers@elastic.co"},"sourceCommit":{"committedDate":"2025-06-24T15:01:06Z","message":"Adds
guidelines for designing HTTP APIs (#224348)\n\nThis PR adds guidelines
for designing Kibana HTTP APIs that are\nterraform-provider developer
friendly.\nfix https://github.com/elastic/kibana/issues/224643\n\n##
Summary\nKibana doesn't have specific guidelines for designing HTTP
APIs. With\nincreasing constraints, it's time to document what was
previously tribal\nknowledge.\n\nElasticsearch is far further along this
road, and other teams have\ncompiled their own.\nThis document serves as
guidelines to designing _public_ HTTP APIs that\nare suitable for
managing with Terraform.\n\n## How to test this (recommended for easier
reading)\n- pull this PR\n-
setup\n[`docs.elastic.dev`](https://docs.elastic.dev/docs/local-dev-docs-setup)\nlocally\n-
run `yarn dev` from `docs.elastic.dev`\n- review the docs
live!\n\n![Screenshot 2025-06-19 at 14
58\n48](https://github.com/user-attachments/assets/bda09e04-8351-4f78-b8df-ebfd7b248903)\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n-
[x]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or
tutorials\n\n---------\n\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"94b1174254614580507827a7b2f4cf02ef5ee533","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","DevDocs","backport:version","v8.18.0","v9.1.0","v8.19.0"],"title":"Adds
guidelines for designing HTTP
APIs","number":224348,"url":"https://github.com/elastic/kibana/pull/224348","mergeCommit":{"message":"Adds
guidelines for designing HTTP APIs (#224348)\n\nThis PR adds guidelines
for designing Kibana HTTP APIs that are\nterraform-provider developer
friendly.\nfix https://github.com/elastic/kibana/issues/224643\n\n##
Summary\nKibana doesn't have specific guidelines for designing HTTP
APIs. With\nincreasing constraints, it's time to document what was
previously tribal\nknowledge.\n\nElasticsearch is far further along this
road, and other teams have\ncompiled their own.\nThis document serves as
guidelines to designing _public_ HTTP APIs that\nare suitable for
managing with Terraform.\n\n## How to test this (recommended for easier
reading)\n- pull this PR\n-
setup\n[`docs.elastic.dev`](https://docs.elastic.dev/docs/local-dev-docs-setup)\nlocally\n-
run `yarn dev` from `docs.elastic.dev`\n- review the docs
live!\n\n![Screenshot 2025-06-19 at 14
58\n48](https://github.com/user-attachments/assets/bda09e04-8351-4f78-b8df-ebfd7b248903)\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n-
[x]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or
tutorials\n\n---------\n\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"94b1174254614580507827a7b2f4cf02ef5ee533"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18","8.19"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224348","number":224348,"mergeCommit":{"message":"Adds
guidelines for designing HTTP APIs (#224348)\n\nThis PR adds guidelines
for designing Kibana HTTP APIs that are\nterraform-provider developer
friendly.\nfix https://github.com/elastic/kibana/issues/224643\n\n##
Summary\nKibana doesn't have specific guidelines for designing HTTP
APIs. With\nincreasing constraints, it's time to document what was
previously tribal\nknowledge.\n\nElasticsearch is far further along this
road, and other teams have\ncompiled their own.\nThis document serves as
guidelines to designing _public_ HTTP APIs that\nare suitable for
managing with Terraform.\n\n## How to test this (recommended for easier
reading)\n- pull this PR\n-
setup\n[`docs.elastic.dev`](https://docs.elastic.dev/docs/local-dev-docs-setup)\nlocally\n-
run `yarn dev` from `docs.elastic.dev`\n- review the docs
live!\n\n![Screenshot 2025-06-19 at 14
58\n48](https://github.com/user-attachments/assets/bda09e04-8351-4f78-b8df-ebfd7b248903)\n\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n-
[x]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or
tutorials\n\n---------\n\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"94b1174254614580507827a7b2f4cf02ef5ee533"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-24 17:53:22 +01:00
..
best_practices.mdx [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
code_walkthrough.mdx [8.x] SKA: Update repository structure documentation (#208691) (#208831) 2025-01-30 12:40:53 +03:00
dev_principles.mdx [8.x] Add dependency docs (#194333) (#194691) 2024-10-02 12:26:29 +00:00
documentation.mdx [8.x] SKA: Update broken references and URLs (#206836) (#208479) 2025-01-28 10:09:09 +01:00
how_we_use_github.mdx [ci] Remove duplicate backport action (#190643) 2024-08-20 08:23:25 -05:00
kibana_http_api_guidelines.mdx [8.19] Adds guidelines for designing HTTP APIs (#224348) (#225099) 2025-06-24 17:53:22 +01:00
standards.mdx [8.x] Add dependency docs (#194333) (#194691) 2024-10-02 12:26:29 +00:00
third_party_dependencies.mdx [8.x] Add dependency docs (#194333) (#194691) 2024-10-02 12:26:29 +00:00