示例#1
0
        public JsonResult assets(string assetId, bool getFiles)
        {
            string      authToken   = homeController.GetAuthToken(this.Request, this.Response);
            MediaClient mediaClient = new MediaClient(authToken);

            Asset[] assets = mediaClient.GetAssets(authToken, assetId, getFiles);
            return(Json(assets));
        }
示例#2
0
        public JsonResult children(string assetId)
        {
            string      authToken   = homeController.GetAuthToken(this.Request, this.Response);
            MediaClient mediaClient = new MediaClient(authToken);

            MediaAsset[] assets = mediaClient.GetAssets(assetId);
            return(Json(assets));
        }