Project

General

Profile

Bug #5454

API: Malfunction of some calls

Added by Pablo R. almost 6 years ago. Updated almost 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2018-12-25
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1683
Affected Versions:

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

#1

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 nothing
You need to include the UUID of the service.
/api/mpegts/input/network_list - deprecated? shows nothing
You need to include the hardware UUIDs to traverse the hardware tree.
/api/channel/grid - not showing disabled channels, only enabled
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.

#2

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

#3

Updated by Pablo R. almost 6 years ago

Pablo R. wrote:

Thanks for the wiki, now if I have managed to make it work. Thank you

#4

Updated by Jaroslav Kysela almost 6 years ago

  • Status changed from New to Invalid

Also available in: Atom PDF