-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[DOCS] Reformat index API. #45415
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] Reformat index API. #45415
Conversation
Pinging @elastic/es-docs |
Pinging @elastic/es-distributed |
I would document both endpoints in the
If you need to refer to them, "resource" would be the most common term. "Endpoint" usually refers to the entire URL.
I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left a few comments, but nothing blocking.
Fixed the broken link with: elastic/elasticsearch-hadoop#1331 |
* [DOCS] Reformat index API. * Incorporated review feedback.
* [DOCS] Reformat index API. * Incorporated review feedback.
* [DOCS] Reformat index API. * Incorporated review feedback.
This PR updates the doc index API to align with the new API reference template.
Relates to elastic/docs#937 and #45365
A few questions wrt applying the API Ref template and terminology:
PUT /<index>/_doc/<_id>
, but you can specifyPUT /<index>/_create/<_id>
to get the put if absent behavior._whatever
params--as "endpoints", paths, something else?_id
? Always as_id
, ID, doc ID, doc_id
?