Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indirect URLs #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 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 @@ -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 @@ -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 @@ -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 @@ -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
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 \"li.\" |
**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<RestreamsRequestObject>**](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<RestreamsRequestObject>**](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
4 changes: 2 additions & 2 deletions docs/Video.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Name | Type | Description | Notes
**publishedAt** | **OffsetDateTime** | The date and time the API created the video. Date and time are provided using ISO-8601 UTC format. | [optional]
**updatedAt** | **OffsetDateTime** | The date and time the video was updated. Date and time are provided using ISO-8601 UTC format. | [optional]
**tags** | **List&lt;String&gt;** | One array of tags (each tag is a string) in order to categorize a video. Tags may include spaces. | [optional]
**metadata** | [**List&lt;Metadata&gt;**](Metadata.md) | 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. | [optional]
**metadata** | [**List&lt;Metadata&gt;**](Metadata.md) | 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. | [optional]
**source** | [**VideoSource**](VideoSource.md) | | [optional]
**assets** | [**VideoAssets**](VideoAssets.md) | | [optional]
**playerId** | **String** | The id of the player that will be applied on the video. | [optional]
**_public** | **Boolean** | 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). | [optional]
**_public** | **Boolean** | 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/). | [optional]
**panoramic** | **Boolean** | Defines if video is panoramic. | [optional]
**mp4Support** | **Boolean** | This lets you know whether mp4 is supported. If enabled, an mp4 URL will be provided in the response for the video. | [optional]

Expand Down
4 changes: 2 additions & 2 deletions docs/VideoCreationPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Name | Type | Description | Notes
**title** | **String** | The title of your new video. |
**description** | **String** | A brief description of your video. | [optional]
**source** | **String** | You can either add a video already on the web, by entering the URL of the video, or you can also enter the &#x60;videoId&#x60; of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create. | [optional]
**_public** | **Boolean** | Default: True. If set to &#x60;false&#x60; the video will become private. More information on private videos can be found [here](https://docs.api.video/docs/private-videos) | [optional]
**_public** | **Boolean** | Default: True. If set to &#x60;false&#x60; the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery-analytics/video-privacy-access-management) | [optional]
**panoramic** | **Boolean** | Indicates if your video is a 360/immersive video. | [optional]
**mp4Support** | **Boolean** | Enables mp4 version in addition to streamed version. | [optional]
**playerId** | **String** | The unique identification number for your video player. | [optional]
**tags** | **List&lt;String&gt;** | A list of tags you want to use to describe your video. | [optional]
**metadata** | [**List&lt;Metadata&gt;**](Metadata.md) | 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). | [optional]
**metadata** | [**List&lt;Metadata&gt;**](Metadata.md) | 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/). | [optional]
**clip** | [**VideoClip**](VideoClip.md) | | [optional]
**watermark** | [**VideoWatermark**](VideoWatermark.md) | | [optional]

Expand Down
Loading
Loading