/// <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); }
/// <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); }
/// <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); }