All URIs are relative to https://api.mux.com, except if the operation defines another base path.
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(): \MuxPhp\Models\ListExportsResponse
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.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: accessToken
$config = MuxPhp\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new MuxPhp\Api\ExportsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listExports();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ExportsApi->listExports: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\MuxPhp\Models\ListExportsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listExportsViews(): \MuxPhp\Models\ListVideoViewExportsResponse
List available property view exports
Lists the available video view exports along with URLs to retrieve them.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: accessToken
$config = MuxPhp\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new MuxPhp\Api\ExportsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->listExportsViews();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ExportsApi->listExportsViews: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\MuxPhp\Models\ListVideoViewExportsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]