Skip to content

Latest commit

 

History

History
152 lines (114 loc) · 4.22 KB

ExportsApi.md

File metadata and controls

152 lines (114 loc) · 4.22 KB

Mux.Csharp.Sdk.Api.ExportsApi

All URIs are relative to https://api.mux.com

Method HTTP request Description
ListExports GET /data/v1/exports List property video view export links
ListExportsViews GET /data/v1/exports/views List available property view exports

ListExports

ListExportsResponse ListExports ()

List property video view export links

The API has been replaced by the list-exports-views API call. Lists the available video view exports along with URLs to retrieve them.

Example

using System.Collections.Generic;
using System.Diagnostics;
using Mux.Csharp.Sdk.Api;
using Mux.Csharp.Sdk.Client;
using Mux.Csharp.Sdk.Model;

namespace Example
{
    public class ListExportsExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://api.mux.com";
            // Configure HTTP basic authorization: accessToken
            config.Username = "YOUR_USERNAME";
            config.Password = "YOUR_PASSWORD";

            var apiInstance = new ExportsApi(config);

            try
            {
                // List property video view export links
                ListExportsResponse result = apiInstance.ListExports();
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ExportsApi.ListExports: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListExportsResponse

Authorization

accessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ListExportsViews

ListVideoViewExportsResponse ListExportsViews ()

List available property view exports

Lists the available video view exports along with URLs to retrieve them.

Example

using System.Collections.Generic;
using System.Diagnostics;
using Mux.Csharp.Sdk.Api;
using Mux.Csharp.Sdk.Client;
using Mux.Csharp.Sdk.Model;

namespace Example
{
    public class ListExportsViewsExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://api.mux.com";
            // Configure HTTP basic authorization: accessToken
            config.Username = "YOUR_USERNAME";
            config.Password = "YOUR_PASSWORD";

            var apiInstance = new ExportsApi(config);

            try
            {
                // List available property view exports
                ListVideoViewExportsResponse result = apiInstance.ListExportsViews();
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ExportsApi.ListExportsViews: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

ListVideoViewExportsResponse

Authorization

accessToken

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]