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 |
ListExportsResponse listExports().execute();
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.
// Import classes:
import com.mux.ApiClient;
import com.mux.ApiException;
import com.mux.Configuration;
import com.mux.auth.*;
import com.mux.models.*;
import com.mux.sdk.ExportsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.mux.com");
// Configure HTTP basic authorization: accessToken
HttpBasicAuth accessToken = (HttpBasicAuth) defaultClient.getAuthentication("accessToken");
accessToken.setUsername("YOUR USERNAME");
accessToken.setPassword("YOUR PASSWORD");
ExportsApi apiInstance = new ExportsApi(defaultClient);
try {
ListExportsResponse result = apiInstance.listExports()
.execute();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ExportsApi#listExports");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ListVideoViewExportsResponse listExportsViews().execute();
List available property view exports
Lists the available video view exports along with URLs to retrieve them.
// Import classes:
import com.mux.ApiClient;
import com.mux.ApiException;
import com.mux.Configuration;
import com.mux.auth.*;
import com.mux.models.*;
import com.mux.sdk.ExportsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.mux.com");
// Configure HTTP basic authorization: accessToken
HttpBasicAuth accessToken = (HttpBasicAuth) defaultClient.getAuthentication("accessToken");
accessToken.setUsername("YOUR USERNAME");
accessToken.setPassword("YOUR PASSWORD");
ExportsApi apiInstance = new ExportsApi(defaultClient);
try {
ListVideoViewExportsResponse result = apiInstance.listExportsViews()
.execute();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ExportsApi#listExportsViews");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |