LIBRERIA MULTIMEDIALE / Media.Browse
Gestione dei contenuti multimediali
Recupera l'elenco di tutti gli oggetti presenti nella libreria multimediale
Esempio:
SessionID=yourSessionID &Command=Media.Browse &ResponseFormat=JSON
PARAMETRI RICHIESTA
Parametro | Tipo di dato | Richiesto | Definizione |
---|---|---|---|
SessionID | string | Session ID which is needed to authenticate the access. It's optional and required for desktop applications only | |
Command | string | The API Command sended to the console | |
ResponseFormat | JSON | XML | Response format | |
JSONPCallBack | bool | Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP |
PARAMETRI DI RISPOSTA
Parametro | Tipo di dato | Definizione |
---|---|---|
Success | bool | States if an error has been generated during last command execution or not |
ErrorCode | integer | The ErrorCode number, if an error has occurred. ErrorCode = 0 means no error has occurred. |
TotalMedia | integer | Total number of media files in the library |
MediaFiles | mixed | List of media files in the library |
CODICI DI ERRORE
Codice | Definizione |
---|---|
99998 | Authentication failure or session expired |
99999 | Not enough privileges |