I'm trying to retrieve the unpublished videos I have on my DM account, i.e. the videos I've uploaded to DM but are not yet public. I'm using the PHP SDK v1.6.3 and I'm quite a beginner with the Dailymotion API.
I assume (but I'm not 100% sure) that I have to use the private filter as documented here
I've tried
$api->get('/me/videos',array('filters' => array('private')));
which raises a DailymotionApiException exception with the following message
Unrecognized value (private), allowed values are (featured, hd, official, creative, creative-official, ugc, buzz, buzz-premium, 3d, live, live-offair, game, all-live, live-upcoming, no-live, premium, premium-paidvideos, premium-offers, no-premium, history, with-poster, without-poster, promoted-on-games) at index #0 for `filters' parameter
which is strange because from this doc, 'private' is a valid filter for videos.
I've also tried
$api->get('/me/videos',array('filters' => array('private' => true)));
which apparently has a wrong format as it also raises a DailymotionApiException exception
Invalid type (array required, dict given) for `filters' parameter
Is there something wrong with the way I use filters in the PHP SDK ?