Пример #1
0
 /// <summary>
 /// Get all the groups in a category This method returns every group that belongs to the specified category.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="category">The name of the category.</param>
 /// <param name="direction">The sort direction of the results.  Option descriptions:  * &#x60;asc&#x60; - Sort the results in ascending order.  * &#x60;desc&#x60; - Sort the results in descending order.  (optional)</param>
 /// <param name="page">The page number of the results to show. (optional)</param>
 /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
 /// <param name="query">The search query to use to filter the results. (optional)</param>
 /// <param name="sort">The way to sort the results.  Option descriptions:  * &#x60;alphabetical&#x60; - Sort the results alphabetically.  * &#x60;date&#x60; - Sort the results by date.  * &#x60;members&#x60; - Sort the results by number of members.  * &#x60;videos&#x60; - Sort the results by number of videos.  (optional)</param>
 /// <returns>List&lt;Group&gt;</returns>
 public List <Group> GetCategoryGroups(string category, string direction = default(string), decimal?page = default(decimal?), decimal?perPage = default(decimal?), string query = default(string), string sort = default(string))
 {
     VimeoOpenApi.Client.ApiResponse <List <Group> > localVarResponse = GetCategoryGroupsWithHttpInfo(category, direction, page, perPage, query, sort);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// Exchange an authorization code for an access token This method exchanges an OAuth authorization code for an OAuth access token.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="inlineObject27"></param>
 /// <returns>Auth</returns>
 public Auth ExchangeAuthCode(InlineObject27 inlineObject27)
 {
     VimeoOpenApi.Client.ApiResponse <Auth> localVarResponse = ExchangeAuthCodeWithHttpInfo(inlineObject27);
     return(localVarResponse.Data);
 }
Пример #3
0
 /// <summary>
 /// Get a tag This method returns the specified tag.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="word">The tag to return.</param>
 /// <returns>Tag</returns>
 public Tag GetTag(string word)
 {
     VimeoOpenApi.Client.ApiResponse <Tag> localVarResponse = GetTagWithHttpInfo(word);
     return(localVarResponse.Data);
 }
Пример #4
0
 /// <summary>
 /// Check if a user has made a purchase or rental from an On Demand page This method determines whether the authenticated user has made a purchase or rental from the specified On Demand page.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ondemandId">The ID of the On Demand page.</param>
 /// <returns>OnDemandPage</returns>
 public OnDemandPage CheckIfVodWasPurchasedAlt1(decimal ondemandId)
 {
     VimeoOpenApi.Client.ApiResponse <OnDemandPage> localVarResponse = CheckIfVodWasPurchasedAlt1WithHttpInfo(ondemandId);
     return(localVarResponse.Data);
 }
Пример #5
0
 /// <summary>
 /// Get all the On Demand purchases and rentals that the user has made This method returns every purchase and rental that the authenticated user has made across all On Demand pages.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="direction">The sort direction of the results.  Option descriptions:  * &#x60;asc&#x60; - Sort the results in ascending order.  * &#x60;desc&#x60; - Sort the results in descending order.  (optional)</param>
 /// <param name="filter">The type of On Demand videos to show.  Option descriptions:  * &#x60;important&#x60; - This option shows the pages that are about to expire.  (optional)</param>
 /// <param name="page">The page number of the results to show. (optional)</param>
 /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
 /// <param name="sort">The way to sort the results. (optional)</param>
 /// <returns>List&lt;OnDemandPage&gt;</returns>
 public List <OnDemandPage> GetVodPurchasesAlt1(string direction = default(string), string filter = default(string), decimal?page = default(decimal?), decimal?perPage = default(decimal?), string sort = default(string))
 {
     VimeoOpenApi.Client.ApiResponse <List <OnDemandPage> > localVarResponse = GetVodPurchasesAlt1WithHttpInfo(direction, filter, page, perPage, sort);
     return(localVarResponse.Data);
 }
Пример #6
0
 /// <summary>
 /// Get the API specification This method returns the full OpenAPI specification for the Vimeo API.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="openapi">Return an OpenAPI specification. (optional)</param>
 /// <returns>Endpoint</returns>
 public Endpoint GetEndpoints(bool?openapi = default(bool?))
 {
     VimeoOpenApi.Client.ApiResponse <Endpoint> localVarResponse = GetEndpointsWithHttpInfo(openapi);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// Convert an OAuth 1 access token to an OAuth 2 access token This method exchanges a legacy Advanced API OAuth 1 token for an API v3 OAuth 2 token.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="inlineObject29"></param>
 /// <returns>Auth</returns>
 public Auth ConvertAccessToken(InlineObject29 inlineObject29)
 {
     VimeoOpenApi.Client.ApiResponse <Auth> localVarResponse = ConvertAccessTokenWithHttpInfo(inlineObject29);
     return(localVarResponse.Data);
 }
Пример #8
0
 /// <summary>
 /// Get the user This method returns the authenticated user.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="userId">The ID of the user.</param>
 /// <returns>User</returns>
 public User GetUser(decimal userId)
 {
     VimeoOpenApi.Client.ApiResponse <User> localVarResponse = GetUserWithHttpInfo(userId);
     return(localVarResponse.Data);
 }
Пример #9
0
 /// <summary>
 /// Get the user This method returns the authenticated user.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>User</returns>
 public User GetUserAlt1()
 {
     VimeoOpenApi.Client.ApiResponse <User> localVarResponse = GetUserAlt1WithHttpInfo();
     return(localVarResponse.Data);
 }
Пример #10
0
 /// <summary>
 /// Edit the user This method edits the Vimeo account of the authenticated user.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="inlineObject15"> (optional)</param>
 /// <returns>User</returns>
 public User EditUserAlt1(InlineObject15 inlineObject15 = default(InlineObject15))
 {
     VimeoOpenApi.Client.ApiResponse <User> localVarResponse = EditUserAlt1WithHttpInfo(inlineObject15);
     return(localVarResponse.Data);
 }
Пример #11
0
        /// <summary>
        /// Edit the user This method edits the Vimeo account of the authenticated user.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="inlineObject15"> (optional)</param>
        /// <returns>Task of User</returns>
        public async System.Threading.Tasks.Task <User> EditUserAlt1Async(InlineObject15 inlineObject15 = default(InlineObject15))
        {
            VimeoOpenApi.Client.ApiResponse <User> localVarResponse = await EditUserAlt1AsyncWithHttpInfo(inlineObject15);

            return(localVarResponse.Data);
        }
Пример #12
0
        /// <summary>
        /// Edit the user This method edits the Vimeo account of the authenticated user.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="userId">The ID of the user.</param>
        /// <param name="inlineObject37"> (optional)</param>
        /// <returns>Task of User</returns>
        public async System.Threading.Tasks.Task <User> EditUserAsync(decimal userId, InlineObject37 inlineObject37 = default(InlineObject37))
        {
            VimeoOpenApi.Client.ApiResponse <User> localVarResponse = await EditUserAsyncWithHttpInfo(userId, inlineObject37);

            return(localVarResponse.Data);
        }
Пример #13
0
 /// <summary>
 /// Edit the user This method edits the Vimeo account of the authenticated user.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="userId">The ID of the user.</param>
 /// <param name="inlineObject37"> (optional)</param>
 /// <returns>User</returns>
 public User EditUser(decimal userId, InlineObject37 inlineObject37 = default(InlineObject37))
 {
     VimeoOpenApi.Client.ApiResponse <User> localVarResponse = EditUserWithHttpInfo(userId, inlineObject37);
     return(localVarResponse.Data);
 }
Пример #14
0
        /// <summary>
        /// Get all the groups in a category This method returns every group that belongs to the specified category.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="category">The name of the category.</param>
        /// <param name="direction">The sort direction of the results.  Option descriptions:  * &#x60;asc&#x60; - Sort the results in ascending order.  * &#x60;desc&#x60; - Sort the results in descending order.  (optional)</param>
        /// <param name="page">The page number of the results to show. (optional)</param>
        /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
        /// <param name="query">The search query to use to filter the results. (optional)</param>
        /// <param name="sort">The way to sort the results.  Option descriptions:  * &#x60;alphabetical&#x60; - Sort the results alphabetically.  * &#x60;date&#x60; - Sort the results by date.  * &#x60;members&#x60; - Sort the results by number of members.  * &#x60;videos&#x60; - Sort the results by number of videos.  (optional)</param>
        /// <returns>Task of List&lt;Group&gt;</returns>
        public async System.Threading.Tasks.Task <List <Group> > GetCategoryGroupsAsync(string category, string direction = default(string), decimal?page = default(decimal?), decimal?perPage = default(decimal?), string query = default(string), string sort = default(string))
        {
            VimeoOpenApi.Client.ApiResponse <List <Group> > localVarResponse = await GetCategoryGroupsAsyncWithHttpInfo(category, direction, page, perPage, query, sort);

            return(localVarResponse.Data);
        }
Пример #15
0
 /// <summary>
 /// Get all the posters on an On Demand page This method returns every poster on the specified On Demand page.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ondemandId">The ID of the On Demand.</param>
 /// <param name="page">The page number of the results to show. (optional)</param>
 /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
 /// <returns>List&lt;Picture&gt;</returns>
 public List <Picture> GetVodPosters(decimal ondemandId, decimal?page = default(decimal?), decimal?perPage = default(decimal?))
 {
     VimeoOpenApi.Client.ApiResponse <List <Picture> > localVarResponse = GetVodPostersWithHttpInfo(ondemandId, page, perPage);
     return(localVarResponse.Data);
 }
Пример #16
0
        /// <summary>
        /// Get the user This method returns the authenticated user.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of User</returns>
        public async System.Threading.Tasks.Task <User> GetUserAlt1Async()
        {
            VimeoOpenApi.Client.ApiResponse <User> localVarResponse = await GetUserAlt1AsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Пример #17
0
        /// <summary>
        /// Get all the posters on an On Demand page This method returns every poster on the specified On Demand page.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="ondemandId">The ID of the On Demand.</param>
        /// <param name="page">The page number of the results to show. (optional)</param>
        /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
        /// <returns>Task of List&lt;Picture&gt;</returns>
        public async System.Threading.Tasks.Task <List <Picture> > GetVodPostersAsync(decimal ondemandId, decimal?page = default(decimal?), decimal?perPage = default(decimal?))
        {
            VimeoOpenApi.Client.ApiResponse <List <Picture> > localVarResponse = await GetVodPostersAsyncWithHttpInfo(ondemandId, page, perPage);

            return(localVarResponse.Data);
        }
Пример #18
0
 /// <summary>
 /// Get all languages This method returns all available video languages.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="filter">The attribute by which to filter the results.  Option descriptions:  * &#x60;texttracks&#x60; - Return languages that can be used for text tracks.  (optional)</param>
 /// <returns>List&lt;Language&gt;</returns>
 public List <Language> GetLanguages(string filter = default(string))
 {
     VimeoOpenApi.Client.ApiResponse <List <Language> > localVarResponse = GetLanguagesWithHttpInfo(filter);
     return(localVarResponse.Data);
 }
Пример #19
0
        /// <summary>
        /// Get the API specification This method returns the full OpenAPI specification for the Vimeo API.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="openapi">Return an OpenAPI specification. (optional)</param>
        /// <returns>Task of Endpoint</returns>
        public async System.Threading.Tasks.Task <Endpoint> GetEndpointsAsync(bool?openapi = default(bool?))
        {
            VimeoOpenApi.Client.ApiResponse <Endpoint> localVarResponse = await GetEndpointsAsyncWithHttpInfo(openapi);

            return(localVarResponse.Data);
        }
Пример #20
0
        /// <summary>
        /// Get all languages This method returns all available video languages.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="filter">The attribute by which to filter the results.  Option descriptions:  * &#x60;texttracks&#x60; - Return languages that can be used for text tracks.  (optional)</param>
        /// <returns>Task of List&lt;Language&gt;</returns>
        public async System.Threading.Tasks.Task <List <Language> > GetLanguagesAsync(string filter = default(string))
        {
            VimeoOpenApi.Client.ApiResponse <List <Language> > localVarResponse = await GetLanguagesAsyncWithHttpInfo(filter);

            return(localVarResponse.Data);
        }
        /// <summary>
        /// Convert an OAuth 1 access token to an OAuth 2 access token This method exchanges a legacy Advanced API OAuth 1 token for an API v3 OAuth 2 token.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="inlineObject29"></param>
        /// <returns>Task of Auth</returns>
        public async System.Threading.Tasks.Task <Auth> ConvertAccessTokenAsync(InlineObject29 inlineObject29)
        {
            VimeoOpenApi.Client.ApiResponse <Auth> localVarResponse = await ConvertAccessTokenAsyncWithHttpInfo(inlineObject29);

            return(localVarResponse.Data);
        }
Пример #22
0
 /// <summary>
 /// Edit a poster on an On Demand page This method edits a poster image on the specified On Demand page. The authenticated user must be the owner of the page.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ondemandId">The ID of the On Demand page.</param>
 /// <param name="posterId">The ID of the poster.</param>
 /// <param name="inlineObject32"> (optional)</param>
 /// <returns>Picture</returns>
 public Picture EditVodPoster(decimal ondemandId, decimal posterId, InlineObject32 inlineObject32 = default(InlineObject32))
 {
     VimeoOpenApi.Client.ApiResponse <Picture> localVarResponse = EditVodPosterWithHttpInfo(ondemandId, posterId, inlineObject32);
     return(localVarResponse.Data);
 }
Пример #23
0
        /// <summary>
        /// Check if a user has made a purchase or rental from an On Demand page This method determines whether the authenticated user has made a purchase or rental from the specified On Demand page.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="ondemandId">The ID of the On Demand page.</param>
        /// <returns>Task of OnDemandPage</returns>
        public async System.Threading.Tasks.Task <OnDemandPage> CheckIfVodWasPurchasedAlt1Async(decimal ondemandId)
        {
            VimeoOpenApi.Client.ApiResponse <OnDemandPage> localVarResponse = await CheckIfVodWasPurchasedAlt1AsyncWithHttpInfo(ondemandId);

            return(localVarResponse.Data);
        }
Пример #24
0
        /// <summary>
        /// Edit a poster on an On Demand page This method edits a poster image on the specified On Demand page. The authenticated user must be the owner of the page.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="ondemandId">The ID of the On Demand page.</param>
        /// <param name="posterId">The ID of the poster.</param>
        /// <param name="inlineObject32"> (optional)</param>
        /// <returns>Task of Picture</returns>
        public async System.Threading.Tasks.Task <Picture> EditVodPosterAsync(decimal ondemandId, decimal posterId, InlineObject32 inlineObject32 = default(InlineObject32))
        {
            VimeoOpenApi.Client.ApiResponse <Picture> localVarResponse = await EditVodPosterAsyncWithHttpInfo(ondemandId, posterId, inlineObject32);

            return(localVarResponse.Data);
        }
Пример #25
0
        /// <summary>
        /// Get all the On Demand purchases and rentals that the user has made This method returns every purchase and rental that the authenticated user has made across all On Demand pages.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="direction">The sort direction of the results.  Option descriptions:  * &#x60;asc&#x60; - Sort the results in ascending order.  * &#x60;desc&#x60; - Sort the results in descending order.  (optional)</param>
        /// <param name="filter">The type of On Demand videos to show.  Option descriptions:  * &#x60;important&#x60; - This option shows the pages that are about to expire.  (optional)</param>
        /// <param name="page">The page number of the results to show. (optional)</param>
        /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
        /// <param name="sort">The way to sort the results. (optional)</param>
        /// <returns>Task of List&lt;OnDemandPage&gt;</returns>
        public async System.Threading.Tasks.Task <List <OnDemandPage> > GetVodPurchasesAlt1Async(string direction = default(string), string filter = default(string), decimal?page = default(decimal?), decimal?perPage = default(decimal?), string sort = default(string))
        {
            VimeoOpenApi.Client.ApiResponse <List <OnDemandPage> > localVarResponse = await GetVodPurchasesAlt1AsyncWithHttpInfo(direction, filter, page, perPage, sort);

            return(localVarResponse.Data);
        }
Пример #26
0
 /// <summary>
 /// Get a specific poster on an On Demand page This method returns a single poster on the specified On Demand page.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ondemandId">The ID of the On Demand page.</param>
 /// <param name="posterId">The ID of the poster.</param>
 /// <returns>Picture</returns>
 public Picture GetVodPoster(decimal ondemandId, decimal posterId)
 {
     VimeoOpenApi.Client.ApiResponse <Picture> localVarResponse = GetVodPosterWithHttpInfo(ondemandId, posterId);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// Exchange an authorization code for an access token This method exchanges an OAuth authorization code for an OAuth access token.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="inlineObject27"></param>
        /// <returns>Task of Auth</returns>
        public async System.Threading.Tasks.Task <Auth> ExchangeAuthCodeAsync(InlineObject27 inlineObject27)
        {
            VimeoOpenApi.Client.ApiResponse <Auth> localVarResponse = await ExchangeAuthCodeAsyncWithHttpInfo(inlineObject27);

            return(localVarResponse.Data);
        }
Пример #28
0
        /// <summary>
        /// Get a specific poster on an On Demand page This method returns a single poster on the specified On Demand page.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="ondemandId">The ID of the On Demand page.</param>
        /// <param name="posterId">The ID of the poster.</param>
        /// <returns>Task of Picture</returns>
        public async System.Threading.Tasks.Task <Picture> GetVodPosterAsync(decimal ondemandId, decimal posterId)
        {
            VimeoOpenApi.Client.ApiResponse <Picture> localVarResponse = await GetVodPosterAsyncWithHttpInfo(ondemandId, posterId);

            return(localVarResponse.Data);
        }
Пример #29
0
        /// <summary>
        /// Get a tag This method returns the specified tag.
        /// </summary>
        /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="word">The tag to return.</param>
        /// <returns>Task of Tag</returns>
        public async System.Threading.Tasks.Task <Tag> GetTagAsync(string word)
        {
            VimeoOpenApi.Client.ApiResponse <Tag> localVarResponse = await GetTagAsyncWithHttpInfo(word);

            return(localVarResponse.Data);
        }
Пример #30
0
 /// <summary>
 /// Get all the seasons on an On Demand page This method returns every season on the specified On Demand page.
 /// </summary>
 /// <exception cref="VimeoOpenApi.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="ondemandId">The ID of the On Demand page.</param>
 /// <param name="direction">The sort direction of the results.  Option descriptions:  * &#x60;asc&#x60; - Sort the results in ascending order.  * &#x60;desc&#x60; - Sort the results in descending order.  (optional)</param>
 /// <param name="filter">The attribute by which to filter the results. (optional)</param>
 /// <param name="page">The page number of the results to show. (optional)</param>
 /// <param name="perPage">The number of items to show on each page of results, up to a maximum of 100. (optional)</param>
 /// <param name="sort">The way to sort the results. (optional)</param>
 /// <returns>List&lt;OnDemandSeason&gt;</returns>
 public List <OnDemandSeason> GetVodSeasons(decimal ondemandId, string direction = default(string), string filter = default(string), decimal?page = default(decimal?), decimal?perPage = default(decimal?), string sort = default(string))
 {
     VimeoOpenApi.Client.ApiResponse <List <OnDemandSeason> > localVarResponse = GetVodSeasonsWithHttpInfo(ondemandId, direction, filter, page, perPage, sort);
     return(localVarResponse.Data);
 }