Example #1
0
        /// <summary>
        /// List Wistia Medias with filters enabled
        /// </summary>
        /// <returns></returns>
        public MediaResult ListMedias(RequestFilter filter)
        {
            var request = new RestRequest();
            request.Resource = "medias.xml?" + filter.GetFilterString();

            return Execute<MediaResult>(request);
        }
Example #2
0
        /// <summary>
        /// List Wistia Medias for specified Project with filters enabled
        /// </summary>
        /// <returns></returns>
        public MediaResult ListMediasByProject(int projectId, RequestFilter filter)
        {
            var request = new RestRequest();
            request.Resource = string.Format("medias.xml?project_id={0}&{1}", projectId, filter.GetFilterString());

            return Execute<MediaResult>(request);
        }
Example #3
0
        /// <summary>
        /// List all Wistia Projects with filters enabled
        /// </summary>
        /// <returns></returns>
        public ProjectResult ListProjects(RequestFilter filter)
        {
            var request = new RestRequest();
            request.Resource = "projects.xml?" + filter.GetFilterString();

            return Execute<ProjectResult>(request);
        }