All URIs are relative to https://ws.api.video.
Method | Description | HTTP request |
---|---|---|
upload() | Upload a watermark | POST /watermarks |
delete() | Delete a watermark | DELETE /watermarks/{watermarkId} |
list() | List all watermarks | GET /watermarks |
Create a new watermark by uploading a JPG
or a PNG
image.
Name | Type | Description | Notes |
---|---|---|---|
file |
\SplFileObject | The `.jpg` or `.png` image to be added as a watermark. |
\ApiVideo\Client\Model\Watermark
Delete a watermark.
Name | Type | Description | Notes |
---|---|---|---|
watermarkId |
string | The watermark ID for the watermark you want to delete. |
void (empty response body)
List all watermarks associated with your workspace.
Note: queryParams
argument is an associative array with the keys listed below.
Name | Type | Description | Notes |
---|---|---|---|
sortBy |
string | Allowed: createdAt. You can search by the time watermark were created at. | [optional] |
sortOrder |
string | Allowed: asc, desc. asc is ascending and sorts from A to Z. desc is descending and sorts from Z to A. | [optional] |
currentPage |
int | Choose the number of search results to return per page. Minimum value: 1 | [optional] [default to 1] |
pageSize |
int | Results per page. Allowed values 1-100, default is 25. | [optional] [default to 25] |