Bug #5454
API: Malfunction of some calls
0%
Description
I have detected that some executions of the API do not work or do it incorrectly, they are the following:
/api/access/entry/userlist - output list is empty; {"entries":[]}
/api/channelcategory/list - output list is empty; {"entries":[]}
/api/service/streams - deprecated? shows nothing
/api/mpegts/input/network_list - deprecated? shows nothing
/api/channel/grid - not showing disabled channels, only enabled
History
Updated by Dave Pickles almost 6 years ago
I don't have time to check these today but from the documentation https://github.com/dave-p/TVH-API-docs/wiki:
/api/access/entry/userlist - output list is empty; {"entries":[]}This must be called by a user without ADMIN privileges, otherwise an empty list is returned. The "*" user is never included.
/api/service/streams - deprecated? shows nothingYou need to include the UUID of the service.
/api/mpegts/input/network_list - deprecated? shows nothingYou need to include the hardware UUIDs to traverse the hardware tree.
/api/channel/grid - not showing disabled channels, only enabledI did just check this one and it seems to work. Disabled channels are only shown if the user has ADMIN privilege and the parameter "all=1" is added to the query.
Updated by Pablo R. almost 6 years ago
Dave Pickles wrote:
I don't have time to check these today but from the documentation https://github.com/dave-p/TVH-API-docs/wiki:
[...]This must be called by a user without ADMIN privileges, otherwise an empty list is returned. The "*" user is never included.
[...]You need to include the UUID of the service.
[...]You need to include the hardware UUIDs to traverse the hardware tree.
[...]I did just check this one and it seems to work. Disabled channels are only shown if the user has ADMIN privilege and the parameter "all=1" is added to the query.
Thanks for the wiki, now if I have managed to make it work. Thank you
Updated by Pablo R. almost 6 years ago
Pablo R. wrote:
Thanks for the wiki, now
ifI have managed to make it work. Thank you