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
[dev.icinga.com #10180] API actions do not follow REST guidelines #3411
Comments
Updated by mfriedrich on 2015-10-15 09:38:31 +00:00
|
Updated by mfriedrich on 2015-10-15 12:12:15 +00:00
|
Updated by mfriedrich on 2015-10-17 01:42:16 +00:00 See my comment in https://dev.icinga.org/issues/9080#note-10 |
Updated by mfriedrich on 2015-10-19 09:35:10 +00:00
|
Updated by jflach on 2015-10-19 11:32:54 +00:00 "Drop the actions table, and move them into separate sub sections" "add specific enable/disable actions by example and reference the object modify POST action" So maybe adding an additional example and a reference to external commands will do? |
Updated by mfriedrich on 2015-10-19 11:52:26 +00:00 No. Please split them into sections and add examples and requirements. The table is ugly and does not provide enough space to explain the required attributes. Please look into the objects query/modify/... sections for how it should look like. An example for disabling notifications on a service could be written as follows:
Similar example for global actions, but with the /v1/objects/icingaapplicakions/app url reference. We must not reference the old external command interface but our api documentation must work on its own. Everything else is confusing. |
Updated by mfriedrich on 2015-10-22 08:13:41 +00:00
|
Updated by mfriedrich on 2015-10-22 09:32:47 +00:00
I've reviewed the code, and changed the following:
Everything else looks good, and we may proceed with the open documentation issues in #9080. I'll merge these changes to master and delete the feature branch. |
Updated by jflach on 2015-10-22 09:35:03 +00:00
Applied in changeset be320b2. |
Updated by mfriedrich on 2015-10-22 13:51:35 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10180
Created by jflach on 2015-09-21 10:12:34 +00:00
Assignee: jflach
Status: Resolved (closed on 2015-10-22 09:35:02 +00:00)
Target Version: 2.4.0
Last Update: 2015-10-22 13:51:35 +00:00 (in Redmine)
Rework actions line actions/endable-flapping and actions/disable-flapping to actions/flapping and control it via parameters
Changesets
2015-10-16 09:47:25 +00:00 by jflach 6a5db7e
2015-10-22 09:33:26 +00:00 by jflach be320b2
Parent Task: #9080
The text was updated successfully, but these errors were encountered: