-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add notifications API specs #169
Add notifications API specs #169
Conversation
7cf6a69
to
04b0b6b
Compare
@nhtruong take a look? |
Thanks @spapadop. To answer your questions:
One thing to note about the
For the vast majority of API actions, like those in the The reference should also use anchor to pinpoint the location of the API doc on the page: I'll update the DEVELOPER_GUIDE to make it more clear. |
Hi @nhtruong, many thanks for all the input and sorry for the late answer (long break for me), it's more clear now! I'll continue work on this one and come back to you asap. I see Notifications is documented under "Observability", so it rather feels more like it should go under |
Is @dblock what do we do with plugins? |
I believe it's not gonna be part of the core client. Notifications API is not worked yet in the python client, but seeing that there is a plugins folder there, already containing alerting and index_management, I'd guess notifications also belongs there. So the endpoint from the client will look like this But I'll let @dblock confirm. |
b3d34bd
to
5f8572e
Compare
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
This reverts commit b4c3f11. Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
78a1eb3
to
a9c0251
Compare
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
remove name field from NotificationsConfig Co-authored-by: Thomas Farr <xtansia@xtansia.com> Signed-off-by: Sokratis Papadopoulos <sokratis.papadop@gmail.com>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
…nConfigType Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
Signed-off-by: Sokratis Papadopoulos <sokratis.papadopoulos@cern.ch>
@spapadop Thanks for making those changes, just a couple minor things left to fix and please also rebase your branch onto the latest main so that the |
Co-authored-by: Thomas Farr <xtansia@xtansia.com> Signed-off-by: Sokratis Papadopoulos <sokratis.papadop@gmail.com>
Co-authored-by: Thomas Farr <xtansia@xtansia.com> Signed-off-by: Sokratis Papadopoulos <sokratis.papadop@gmail.com>
API specs implemented for 241/649 (37%) APIs. |
@Xtansia many thanks for the thorough review! I applied your suggestions and synced my fork. |
Description
Currently notifications API specs are missing, along with a number of others, as described at #168.
This PR will cover the gap for the notifications API.
Note: I know the PR is not complete as it does not cover all notifications API calls yet, just wanted to get an initial feedback to ensure I'm on the right path. And couple of questions:
Should the "model/notifications" folder that I am adding rather be placed under
model/_plugins/notifications
so that future missing API specs end up withinmodel/_plugins
too?Shall I also update the OpenSearch.openapi.json accordingly, or is there an automation to take care of that?
Issues Resolved
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.