[ZBX-13331] recovery property in action.get Created: 2018 Jan 15 Updated: 2018 Mar 20 Resolved: 2018 Mar 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | None |
Fix Version/s: | 3.4.8rc1, 4.0.0alpha5, 4.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Volker Fröhlich | Assignee: | Nikita Filatovs (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | Team B | ||||||||
Sprint: | Sprint 26, Sprint 27, Sprint 28, Sprint 29 | ||||||||
Story Points: | 0.25 |
Description |
https://www.zabbix.com/documentation/4.0/manual/api/reference/action/get shows an example with a recovery property. I'm not sure if it should exist in sibling elements or not, as they don't seem to show it. Also, the object documentation doesn't mention it at all. |
Comments |
Comment by Oleksii Zagorskyi [ 2018 Jan 18 ] |
Keep in mind a related report for operations - |
Comment by Gregory Chalenko [ 2018 Jan 31 ] |
Property recovery is used internally by Zabbix server, this property is readonly. To get recovery property via API call one should pass selectRecoveryOperations with value extend or mention recovery field explicitly. { "actionids": "4", "selectRecoveryOperations": "extend" } Internally it is used as identifier of operation type for recovery operations and acknowledge operations. Please correct if i am wrong s.paskevics. |
Comment by Volker Fröhlich [ 2018 Feb 06 ] |
How is anybody supposed to understand what happened here? If it wasn't for cryptic notifications I got as a subscriber, I couldn't even guess! |
Comment by Natalja Cernohajeva (Inactive) [ 2018 Feb 07 ] |
Please, see the comment by gcalenko, it was restricted to developers now it's public. Hope it helps. |
Comment by richlv [ 2018 Feb 07 ] |
now this is in state "DONE" and resolution is "Unresolved". having secret comments breaks communication and creates bad image, but that's a bit offtopic and the openness train seems to have left anyway. |
Comment by Volker Fröhlich [ 2018 Feb 08 ] |
I must admit, I wrote this ticket when I was really sleepy, but I would like to make sure that we are actually talking about the same thing: https://www.zabbix.com/documentation/4.0/manual/api/reference/action/object – This page describes all properties of Action operations, Action recovery operations and Action acknowledge operations. This page does not list the recovery property for any of them, which is incoherent with what the acknowledgeOperations array shows in https://www.zabbix.com/documentation/4.0/manual/api/reference/action/get. Is this what you adressed here? In my opinion, if it's part of the response, it should be documented in the object reference, like all other properties. |
Comment by Alexander Vladishev [ 2018 Feb 23 ] |
This can be seen as a bug. The "recovery" field will be removed from the output of the method action.get() |
Comment by Nikita Filatovs (Inactive) [ 2018 Mar 02 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13331 |
Comment by Alexander Vladishev [ 2018 Mar 05 ] |
(1) [AF] Translation strings? filatov No translation string changes sasha CLOSED |
Comment by Alexander Vladishev [ 2018 Mar 05 ] |
(3) Documentation needs to be updated: filatov Updated: RESOLVED sasha CLOSED akucenko Documentation for 4.0 must be updated too: filatov Updated: RESOLVED akucenko CLOSED |
Comment by Nikita Filatovs (Inactive) [ 2018 Mar 15 ] |
Fixed in:
|