All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
archiveVideo() | DELETE /v2/video/{id} | Archive video |
createVideo() | POST /v2/video | Create video |
fetchAllVideo() | GET /v2/video/all | Fetch all video |
restoreVideo() | PATCH /v2/video/{id} | Restore video |
updateVideo() | PUT /v2/video/{id} | Update video |
archiveVideo($id): \OpenAPI\Client\Model\Video
Archive video
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\VideosApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->archiveVideo($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VideosApi->archiveVideo: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createVideo($wt_video_create_params): \OpenAPI\Client\Model\Video
Create video
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\VideosApi(
// 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()
);
$wt_video_create_params = new \OpenAPI\Client\Model\WTVideoCreateParams(); // \OpenAPI\Client\Model\WTVideoCreateParams
try {
$result = $apiInstance->createVideo($wt_video_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VideosApi->createVideo: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_video_create_params | \OpenAPI\Client\Model\WTVideoCreateParams |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAllVideo($is_archive_included): mixed
Fetch all video
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\VideosApi(
// 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()
);
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchAllVideo($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VideosApi->fetchAllVideo: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restoreVideo($id): \OpenAPI\Client\Model\Video
Restore video
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\VideosApi(
// 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()
);
$id = NULL; // mixed
try {
$result = $apiInstance->restoreVideo($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VideosApi->restoreVideo: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateVideo($id, $wt_video_update_params): \OpenAPI\Client\Model\Video
Update video
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\VideosApi(
// 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()
);
$id = NULL; // mixed
$wt_video_update_params = new \OpenAPI\Client\Model\WTVideoUpdateParams(); // \OpenAPI\Client\Model\WTVideoUpdateParams
try {
$result = $apiInstance->updateVideo($id, $wt_video_update_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VideosApi->updateVideo: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
wt_video_update_params | \OpenAPI\Client\Model\WTVideoUpdateParams |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]