-
Notifications
You must be signed in to change notification settings - Fork 500
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
[DOC] Add missing Core REST API endpoints #424
Comments
Looking at this issue and thinking, "That endpoint is already documented!" or "What about this endpoint?". Leave a comment and we'll add or remove endpoints to the list. |
As per #176, I think ingest pipelines are an undervalued feature that seems to be little known. Would it be possible to add some clear and straight forward documentation about it? I'm talking about ingest pipelines and APIs. I wasn't able to find any dedicated pages for that. There are some references, for example in the _reindex section, but there's no chapter that I could find that explains ingest pipeline or nodes, their role, and how it can replace Logstash for example. Which seems very useful to me, but I'm definitely no expert. |
@bgdnlp I think there is basic documentation about Ingest APIs but I agree it is missing more detailed information including list of available ingest processors and their doc. (And yes I agree that ingest pipelines is a cool feature!) |
To add more details, in case it helps, what I'd like to see as a newcomer is
What I mean is that if I didn't already know about it, if I looked at the documentation around OpenSearch as a newcomer I don't think I'd find it. ElasticSearch, yes, probably. But in OpenSearch it seems to be completely ignored for some reason. I hope it helps. |
In this commit we are introducing a new section in REST API Reference for Nodes APIs. We are adding documentation for "Nodes hot threads" and "Nodes info". Because Nodes APIs share common request parameters we also add more detailed section into parent index page (notice that the nodes-filter parameter was moved from "Cluster stats" page and was improved, and relevant links were updated). There are more Nodes APIs that still need to be documented, this is just a good start. We updated nav_order parameter for some pages as well. Relevant ticket: opensearch-project#424 Signed-off-by: Lukáš Vlček <[email protected]>
what about the missing snapshot endpoints ? |
@Steve-O-Murphy: Thanks for coming on board, Steve. Here is the list Rest APIs we'll get started: |
API to enable audit logs is in process. #746.
|
Because the OpenSearch REST API documentation is no longer automated, we need to create a feature complete API reference, one the includes all endpoints, request bodies, and responses.
For reference on what ideal REST API reference page looks like, see the OpenSearch Create Index API.
List of missing endpoints
To assist in achieving this goal, I've put together a list of APIs that are missing, based on cross-referencing the old Open Distro API reference. NOTE: This list is not comprehensive and might not include all missing endpoints.
GET _scripts/<script-id>
| Add script documentation. #1016PUT _scripts/<script-id>
| Add script documentation. #1016PUT _scripts/<script-id>/<context>
| Add script documentation. #1016DELETE _scripts/<script-id>
| Add script documentation. #1016GET _script_context
| Add script documentation. #1016GET _script_language
| Add script documentation. #1016POST /_scripts/painless/_execute
| Add script documentation. #1016POST /<target>/_reload_search_analyzers
| Not in code baseGET /<target>/_reload_search_analyzers
| Not in code baseGET /_analyze
https://github.com/opensearch-project/documentation-website/pull/1373/filesPOST /_analyze
https://github.com/opensearch-project/documentation-website/pull/1373/filesGET /<index>/_analyze
Add documentation for reload_searchIanalyzer api #1339POST /<index>/_analyze
Add documentation for reload_searchIanalyzer api #1339POST /<target>/_cache/clear
Add the two clear cache APIs #1168POST /_cache/clear
Add the two clear cache APIs #1168DELETE /_dangling/<index-uuid>
Adding documentation for dangling index api #1370POST /_dangling/<index-uuid>
Adding documentation for dangling index api #1370After the request and responses have been documented, please check off the API from this list.
Test API
Time to complete
Each API endpoint should only take about 4 - 5 hours to test, document, and address any review feedback required. With 19 found undocumented endpoints, this assumes an average time to complete of 12 - 15 days.
The text was updated successfully, but these errors were encountered: