Feature #20203
closedIssue with 'foreman_expire_hosts' - expiration date is not available via API
Description
Expiration date for specific host is displayed at host page but is not available through API.
There is a method to set or update host Expiration Date but no method to get that value back.
It looks like a missing feature because almost everything else is available via API directly.
If this parameter is already available elsewhere in API then please provide any info how to get it or include this description to standard module documentation.
Suggestion: add expires_on
parameter to the output of /hosts
API.
Files
Updated by Anonymous over 7 years ago
- Tracker changed from Bug to Feature
- Status changed from New to Rejected
- Difficulty deleted (
easy)
Updated by Pavel Lebedev over 7 years ago
@Michael Moll, thanks!
I'll watch this issue on Github.
Am I getting this right - it is more preferable to use Github issues for Expired Hosts plugin issues?
Updated by Anonymous over 7 years ago
it is more preferable to use Github issues for Expired Hosts plugin issues?
Exactly. Unfortunately the situation is a bit unclear for each plugin.
Updated by Pavel Lebedev over 7 years ago
Exactly. Unfortunately the situation is a bit unclear for each plugin.
Got it, thanks again for the help.