Project

General

Profile

Actions

Bug #5755

closed

API request on /api/channel/grid with filter dont get entry by uuid

Added by Maik Fuss over 5 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Start date:
2019-10-20
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1789+
Affected Versions:

Description

curl -s --digest -d 'filter=[{"type":"string","value":"zdf_neo HD","field":"name"}]' 'http://xxx::9981/api/channel/grid' |jq

gets a

{
  "entries": [
    {
      "uuid": "67d479b9506a14392072eb3a31afbb65",
      "enabled": true,
      "autoname": true,
      "name": "zdf_neo HD",
      "number": 200,
      "icon": "file:////etc/tvheadend/picons/snp/zdfneohd.png",
      "icon_public_url": "imagecache/1",
      "epgauto": false,
      "epglimit": 0,
      "epggrab": [],
      "dvr_pre_time": 0,
      "dvr_pst_time": 0,
      "epg_running": -1,
      "services": [
        "b8d5c3454828a8a52cf52fb0973d850c" 
      ],
      "tags": [
        "def14a5a50ac2c5f68b6aae4be69db55",
        "4f41008112b51656d4630c363ffc44df",
        "edbb0be39a72646e215aa085cba5e66e",
        "403c7bf2162c70ad14774ec07856188d",
        "9243e0dfb4862d42351668e81f3df212" 
      ],
      "bouquet": "" 
    }
  ],
  "total": 1
}

curl -s --digest -d 'filter=[{"type":"string","value":"67d479b9506a14392072eb3a31afbb65","field":"uuid"}]' 'http://xxx::9981/api/channel/grid' |jq

{
  "entries": [],
  "total": 0
}

So i guess there is something wrong in the API-src?

Actions

Also available in: Atom PDF