[mythtv-commits] [MythTV/mythtv] fcedcf: ServicesAPI: add /Config/GetIPAddresses endpoint
Paul Harrison
noreply at github.com
Mon May 2 12:04:32 UTC 2022
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: fcedcf9bebf146831439a1186b510846d81628f6
https://github.com/MythTV/mythtv/commit/fcedcf9bebf146831439a1186b510846d81628f6
Author: Paul Harrison <paul at mythqml.net>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M mythtv/programs/mythbackend/servicesv2/v2config.cpp
M mythtv/programs/mythbackend/servicesv2/v2config.h
Log Message:
-----------
ServicesAPI: add /Config/GetIPAddresses endpoint
Returns a list of IP addresses the backend can use.
Supports one optional parameter :-
'Protocol' - can be one of IPv4, IPv6 or All. Allows you to choose which
addresses to return. Default is 'All'.
Example call :-
http://localhost:6744/Config/GetIPAddresses?Protocol=IPv4
More information about the mythtv-commits
mailing list