Skip to content

Commit a566887

Browse files
Merge pull request #36 from apivideo/watermark-and-clip
feat(all): add watermarks & video clips
2 parents 0a25024 + c9436c6 commit a566887

16 files changed

+2209
-3
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [1.2.0] - 2022-01-07
5+
- Add watermark endpoints
6+
- Add video clips
7+
- Fix tags[] query parameter format of GET /videos
8+
- Correctly distinguish between "undefined", "defined" and "null" values if the playerId parameter of PATCH /videos/{videoId}
9+
410
## [1.1.0] - 2021-12-06
511
- Add `name` attribute in player themes
612

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- [RawStatistics](#rawstatistics)
2020
- [UploadTokens](#uploadtokens)
2121
- [Videos](#videos)
22+
- [Watermarks](#watermarks)
2223
- [Webhooks](#webhooks)
2324
- [Models](#models)
2425
- [Have you gotten use from this API client?](#have-you-gotten-use-from-this-api-client-)
@@ -259,6 +260,24 @@ Method | HTTP request | Description
259260
[**UploadThumbnail**](docs/Videos.md#UploadThumbnail) | **Post** /videos/{videoId}/thumbnail | Upload a thumbnail
260261

261262

263+
### Watermarks
264+
265+
266+
#### Retrieve an instance of the Watermarks API:
267+
```golang
268+
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
269+
watermarksApi := client.Watermarks
270+
```
271+
272+
#### Endpoints
273+
274+
Method | HTTP request | Description
275+
------------- | ------------- | -------------
276+
[**Delete**](docs/Watermarks.md#Delete) | **Delete** /watermarks/{watermarkId} | Delete a watermark
277+
[**List**](docs/Watermarks.md#List) | **Get** /watermarks | List all watermarks
278+
[**Upload**](docs/Watermarks.md#Upload) | **Post** /watermarks | Upload a watermark
279+
280+
262281
### Webhooks
263282

264283

@@ -323,6 +342,7 @@ Method | HTTP request | Description
323342
- [UploadToken](docs/UploadToken.md)
324343
- [Video](docs/Video.md)
325344
- [VideoAssets](docs/VideoAssets.md)
345+
- [VideoClip](docs/VideoClip.md)
326346
- [VideoCreationPayload](docs/VideoCreationPayload.md)
327347
- [VideoSession](docs/VideoSession.md)
328348
- [VideoSessionClient](docs/VideoSessionClient.md)
@@ -340,7 +360,10 @@ Method | HTTP request | Description
340360
- [VideoStatusIngest](docs/VideoStatusIngest.md)
341361
- [VideoThumbnailPickPayload](docs/VideoThumbnailPickPayload.md)
342362
- [VideoUpdatePayload](docs/VideoUpdatePayload.md)
363+
- [VideoWatermark](docs/VideoWatermark.md)
343364
- [VideosListResponse](docs/VideosListResponse.md)
365+
- [Watermark](docs/Watermark.md)
366+
- [WatermarksListResponse](docs/WatermarksListResponse.md)
344367
- [Webhook](docs/Webhook.md)
345368
- [WebhooksCreationPayload](docs/WebhooksCreationPayload.md)
346369
- [WebhooksListResponse](docs/WebhooksListResponse.md)

0 commit comments

Comments
 (0)