Open cemalgultekin opened 4 years ago
Could you please try as below:
http://hostname:5080/WebRTCAppEE/rest/v2/vods/list/0/99&order_by=desc&sort_by=date
http://hostname:5080/WebRTCAppEE/rest/v2/vods/list/0/99&order_by=asc&sort_by=date
http://hostname:5080/WebRTCAppEE/rest/v2/vods/list/0/99&order_by=desc&sort_by=name
http://hostname:5080/WebRTCAppEE/rest/v2/vods/list/0/99&order_by=asc&sort_by=name
I have tried the links you have provided (replacing the hostname with the actual hostname), and I received a 404 error.
We have updated our software (keeping the configurations) to 1.9.1, however the issue still remains. Also the new feature #640 , is also not working due to it getting the content from the api itself.
This is an issue for us as well, can't get the API to return a sorted list no matter what field or order we try.
Actually as an update I see the typo above, first parameter in that example needs to use ?, so http://hostname:5080/WebRTCAppEE/rest/v2/vods/list/0/99?order_by=desc&sort_by=date works for us. What didn't work was using sort_by with any of the fields that the API outputs (I was attempting sort_by=creationDate). Perhaps documentation needs to be a bit clearer there but this works for me.
Sorry for your bad experience. We'll update the doc for that
We are using Enterprise Edition 1.9.0 20191127_1810 on Ubuntu 16.04, When consuming the rest api with a GET request such as below
or
or
we receive the same results. All the vods, are listed in the same order. We currently have less than 99 videos in that list if it helps.
regards