Skip to content

Commit

Permalink
Merge pull request #90 from apivideo/Fix-live-stream-thumbnail-URL
Browse files Browse the repository at this point in the history
Fix live stream thumbnail URL
  • Loading branch information
bot-api-video authored Oct 6, 2023
2 parents 4c61ece + 50e92c8 commit f148dbe
Show file tree
Hide file tree
Showing 28 changed files with 86 additions and 86 deletions.
44 changes: 22 additions & 22 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ paths:
style: form
- description: Videos can be tagged with metadata tags in key:value pairs. You
can search for videos with specific key value pairs using this parameter.
[Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows
[Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows
you to define a key that allows any value pair.
example: metadata[Author]=John Doe&metadata[Format]=Tutorial
explode: true
Expand Down Expand Up @@ -515,7 +515,7 @@ paths:
x-accepts: application/json
post:
description: |
Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/videos-1).
Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/api/Videos).
operationId: POST-video
requestBody:
content:
Expand Down Expand Up @@ -2866,7 +2866,7 @@ paths:
x-accepts: application/json
post:
description: Generates an upload token that can be used to replace the API Key.
More information can be found [here](https://docs.api.video/reference/upload-tokens)
More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens)
operationId: POST_upload-tokens
requestBody:
content:
Expand Down Expand Up @@ -3526,7 +3526,7 @@ paths:
allowfullscreen=""></iframe>
player: https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr
hls: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr.m3u8
thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
- liveStreamId: li4pqNqGUkhKfWcBGpZVLRY5
createdAt: 2020-07-29T10:45:35.000Z
updatedAt: 2020-07-29T10:45:35.000Z
Expand All @@ -3547,7 +3547,7 @@ paths:
allowfullscreen=""></iframe>
player: https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
thumbnail: https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg
thumbnail: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg
pagination:
currentPage: 1
currentPageItems: 19
Expand Down Expand Up @@ -5337,7 +5337,7 @@ paths:
x-accepts: application/json
post:
description: Upload a VTT file to add captions to your video. More information
can be found [here](https://docs.api.video/reference/captions)
can be found [here](https://docs.api.video/vod/add-captions)
operationId: POST_videos-videoId-captions-language
parameters:
- description: The unique identifier for the video you want to add a caption
Expand Down Expand Up @@ -6062,7 +6062,7 @@ paths:
post:
description: |-
Upload a VTT file to add chapters to your video.
Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details.
Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.
operationId: POST_videos-videoId-chapters-language
parameters:
- description: The unique identifier for the video you want to upload a chapter
Expand Down Expand Up @@ -9643,7 +9643,7 @@ components:
width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen=""></iframe>
player: https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
thumbnail: https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg
thumbnail: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg
parameters:
current-page:
description: 'Choose the number of search results to return per page. Minimum
Expand Down Expand Up @@ -9880,7 +9880,7 @@ components:
type: array
metadata:
description: |
Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata) allows you to define a key that allows any value pair.
Metadata you can use to categorise and filter videos. Metadata is a list of dictionaries, where each dictionary represents a key value pair for categorising a video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/) allows you to define a key that allows any value pair.
example: '[{"key":"Author", "value":"John Doe"}, {"key":"Format", "value":"Tutorial"}]'
items:
$ref: '#/components/schemas/metadata'
Expand All @@ -9896,7 +9896,7 @@ components:
type: string
public:
description: |
Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos).
Defines if the content is publicly reachable or if a unique token is needed for each play session. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/).
example: false
type: boolean
panoramic:
Expand Down Expand Up @@ -10293,7 +10293,7 @@ components:
streamKey: dw-dew8-q6w9-k67w-1ws8
createdAt: 2020-01-31T10:17:47Z
assets:
thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
iframe: <iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\"
width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
Expand Down Expand Up @@ -10328,7 +10328,7 @@ components:
public:
description: Whether your video can be viewed by everyone, or requires authentication
to see it. A setting of false will require a unique token for each view.
Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management).
example: true
type: boolean
assets:
Expand Down Expand Up @@ -10723,7 +10723,7 @@ components:
public:
default: true
description: 'Default: True. If set to `false` the video will become private.
More information on private videos can be found [here](https://docs.api.video/docs/private-videos)'
More information on private videos can be found [here](https://docs.api.video/delivery-analytics/video-privacy-access-management)'
example: true
type: boolean
panoramic:
Expand All @@ -10749,7 +10749,7 @@ components:
metadata:
description: A list of key value pairs that you use to provide metadata
for your video. These pairs can be made dynamic, allowing you to segment
your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata).
your audience. Read more on [dynamic metadata](https://api.video/blog/endpoints/dynamic-metadata/).
example: '[{"key": "Author", "value": "John Doe"}]'
items:
$ref: '#/components/schemas/metadata'
Expand Down Expand Up @@ -10835,7 +10835,7 @@ components:
type: string
public:
description: Whether the video is publicly available or not. False means
it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos).
it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos/).
example: true
type: boolean
panoramic:
Expand All @@ -10858,7 +10858,7 @@ components:
description: A list (array) of dictionaries where each dictionary contains
a key value pair that describes the video. As with tags, you must send
the complete list of metadata you want as whatever you send here will
overwrite the existing metadata for the video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata)
overwrite the existing metadata for the video. [Dynamic Metadata](https://api.video/blog/endpoints/dynamic-metadata/)
allows you to define a key that allows any value pair.
items:
$ref: '#/components/schemas/metadata'
Expand Down Expand Up @@ -10964,7 +10964,7 @@ components:
- streamKey: dw-dew8-q6w9-k67w-1ws8
createdAt: 2020-01-31T10:17:47Z
assets:
thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
iframe: <iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\"
width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
Expand All @@ -10985,7 +10985,7 @@ components:
- streamKey: dw-dew8-q6w9-k67w-1ws8
createdAt: 2020-01-31T10:17:47Z
assets:
thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
iframe: <iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\"
width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
Expand Down Expand Up @@ -11034,7 +11034,7 @@ components:
public:
description: Whether your video can be viewed by everyone, or requires authentication
to see it. A setting of false will require a unique token for each view.
Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management).
type: boolean
playerId:
description: The unique identifier for the player.
Expand All @@ -11061,7 +11061,7 @@ components:
public:
description: Whether your video can be viewed by everyone, or requires authentication
to see it. A setting of false will require a unique token for each view.
Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management).
type: boolean
playerId:
description: The unique ID for the player associated with a live stream
Expand Down Expand Up @@ -11731,7 +11731,7 @@ components:
type: object
live-stream-assets:
example:
thumbnail: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
thumbnail: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
iframe: <iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\"
width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>
hls: https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8
Expand All @@ -11754,7 +11754,7 @@ components:
type: string
thumbnail:
description: A link to the thumbnail for your video.
example: https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
example: https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg
format: uri
type: string
title: LiveStreamAssets
Expand Down
2 changes: 1 addition & 1 deletion docs/CaptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Method | HTTP request | Description
Upload a caption

Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/reference/captions)
Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions)

### Example
```java
Expand Down
2 changes: 1 addition & 1 deletion docs/ChaptersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Upload a chapter

Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details.
Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details.

### Example
```java
Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**liveStreamId** | **String** | The unique identifier for the live stream. Live stream IDs begin with \&quot;li.\&quot; |
**name** | **String** | The name of your live stream. | [optional]
**streamKey** | **String** | The unique, private stream key that you use to begin streaming. | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**assets** | [**LiveStreamAssets**](LiveStreamAssets.md) | | [optional]
**playerId** | **String** | The unique identifier for the player. | [optional]
**broadcasting** | **Boolean** | Whether or not you are broadcasting the live video you recorded for others to see. True means you are broadcasting to viewers, false means you are not. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStreamCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Add a name for your live stream here. |
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**playerId** | **String** | The unique identifier for the player. | [optional]
**restreams** | [**List&lt;RestreamsRequestObject&gt;**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/LiveStreamUpdatePayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name you want to use for your live stream. | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos). | [optional]
**_public** | **Boolean** | Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management). | [optional]
**playerId** | **String** | The unique ID for the player associated with a live stream that you want to update. | [optional]
**restreams** | [**List&lt;RestreamsRequestObject&gt;**](RestreamsRequestObject.md) | Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed. | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/LiveStreamsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Example {

LiveStreamCreationPayload liveStreamCreationPayload = new LiveStreamCreationPayload(); //
liveStreamCreationPayload.setName("My Live Stream Video"); // Add a name for your live stream here.
liveStreamCreationPayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
liveStreamCreationPayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management).
liveStreamCreationPayload.setPlayerId("pl4f4ferf5erfr5zed4fsdd"); // The unique identifier for the player.
liveStreamCreationPayload.setRestreams(Collections.<RestreamsRequestObject>emptyList()); // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations.

Expand Down Expand Up @@ -179,7 +179,7 @@ public class Example {
String liveStreamId = "li400mYKSgQ6xs7taUeSaEKr"; // The unique ID for the live stream that you want to update information for such as player details.
LiveStreamUpdatePayload liveStreamUpdatePayload = new LiveStreamUpdatePayload(); //
liveStreamUpdatePayload.setName("My Live Stream Video"); // The name you want to use for your live stream.
liveStreamUpdatePayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/docs/private-videos).
liveStreamUpdatePayload.setPublic(); // Whether your video can be viewed by everyone, or requires authentication to see it. A setting of false will require a unique token for each view. Learn more about the Private Video feature [here](https://docs.api.video/delivery-analytics/video-privacy-access-management).
liveStreamUpdatePayload.setPlayerId("pl45KFKdlddgk654dspkze"); // The unique ID for the player associated with a live stream that you want to update.
liveStreamUpdatePayload.setRestreams(Collections.<RestreamsRequestObject>emptyList()); // Use this parameter to add, edit, or remove RTMP services where you want to restream a live stream. The list can only contain up to 5 destinations. This operation updates all restream destinations in the same request. If you do not want to modify an existing restream destination, you need to include it in your request, otherwise it is removed.

Expand Down
2 changes: 1 addition & 1 deletion docs/UploadTokensApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Generate an upload token

Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/reference/upload-tokens)
Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens)

### Example
```java
Expand Down
Loading

0 comments on commit f148dbe

Please sign in to comment.