-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1aba73
commit 6ccd947
Showing
23 changed files
with
2,088 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# ApiVideo\Client\Api\SummariesApi | ||
|
||
All URIs are relative to https://ws.api.video. | ||
|
||
Method | Description | HTTP request | ||
------------- | ------------- | ------------- | ||
[**create()**](SummariesApi.md#create) | Generate video summary | **POST** /summaries | ||
[**get()**](SummariesApi.md#get) | Get summary details | **GET** /summaries/{summaryId}/source | ||
[**update()**](SummariesApi.md#update) | Update summary details | **PATCH** /summaries/{summaryId}/source | ||
[**delete()**](SummariesApi.md#delete) | Delete video summary | **DELETE** /summaries/{summaryId} | ||
[**list()**](SummariesApi.md#list) | List summaries | **GET** /summaries | ||
|
||
|
||
## **`create()` - Generate video summary** | ||
|
||
|
||
|
||
Generate a title, abstract, and key takeaways for a video. | ||
|
||
### Arguments | ||
|
||
|
||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
`inlineObject` | [**\ApiVideo\Client\Model\InlineObject**](../Model/InlineObject.md)| | | ||
|
||
|
||
|
||
|
||
### Return type | ||
|
||
[**\ApiVideo\Client\Model\SummaryObject**](../Model/SummaryObject.md) | ||
|
||
|
||
|
||
|
||
|
||
## **`get()` - Get summary details** | ||
|
||
|
||
|
||
Get all details for a summary. | ||
|
||
### Arguments | ||
|
||
|
||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
`summaryId` | **string**| The unique identifier of the summary source you want to retrieve. | | ||
|
||
|
||
|
||
|
||
### Return type | ||
|
||
[**\ApiVideo\Client\Model\SummarySource**](../Model/SummarySource.md) | ||
|
||
|
||
|
||
|
||
|
||
## **`update()` - Update summary details** | ||
|
||
|
||
|
||
Update details for a summary. Note that this operation is only allowed for summary objects where `sourceStatus` is `missing`. | ||
|
||
### Arguments | ||
|
||
|
||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
`summaryId` | **string**| The unique identifier of the summary source you want to update. | | ||
`updateSummaryRequest` | [**\ApiVideo\Client\Model\UpdateSummaryRequest**](../Model/UpdateSummaryRequest.md)| | | ||
|
||
|
||
|
||
|
||
### Return type | ||
|
||
[**\ApiVideo\Client\Model\SummarySource**](../Model/SummarySource.md) | ||
|
||
|
||
|
||
|
||
|
||
## **`delete()` - Delete video summary** | ||
|
||
|
||
|
||
Delete a summary tied to a video. | ||
|
||
### Arguments | ||
|
||
|
||
|
||
Name | Type | Description | Notes | ||
------------- | ------------- | ------------- | ------------- | ||
`summaryId` | **string**| The unique identifier of the summary you want to delete. | | ||
|
||
|
||
|
||
|
||
### Return type | ||
|
||
void (empty response body) | ||
|
||
|
||
|
||
|
||
|
||
## **`list()` - List summaries** | ||
|
||
|
||
|
||
List all summarries for your videos in a project. | ||
|
||
### Arguments | ||
|
||
|
||
|
||
|
||
|
||
|
||
This endpoint does not need any parameter. | ||
|
||
### Return type | ||
|
||
[**\ApiVideo\Client\Model\GetSummaries**](../Model/GetSummaries.md) | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# # ConflictError | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**type** | **string** | A link to the error documentation. | [optional] | ||
**title** | **string** | A description of the error that occurred. | [optional] | ||
**name** | **string** | The name of the parameter that caused the error. | [optional] | ||
**status** | **int** | The HTTP status code. | [optional] | ||
**detail** | **string** | A solution for the error. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# # GetSummaries | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**data** | [**\ApiVideo\Client\Model\SummaryObject[]**](SummaryObject.md) | An array of summary objects. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# # InlineObject | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**videoId** | **string** | Create a summary of a video using the video ID. | [optional] | ||
**origin** | **string** | Use this parameter to define how the API generates the summary. The only allowed value is `auto`, which means that the API generates a summary automatically. If you do not set this parameter, **the API will not generate a summary automatically**. In this case, `sourceStatus` will return `missing`, and you have to manually add a summary using the `PATCH /summaries/{summaryId}/source` endpoint operation. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# # SummaryObject | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**summaryId** | **string** | The unique identifier of the summary object. | [optional] | ||
**createdAt** | [**\DateTime**](\DateTime.md) | Returns the date and time when the summary was created in ATOM date-time format. | [optional] | ||
**updatedAt** | [**\DateTime**](\DateTime.md) | Returns the date and time when the summary was last updated in ATOM date-time format. | [optional] | ||
**videoId** | **string** | The unique identifier of the video object. | [optional] | ||
**origin** | **mixed** | Returns the origin of how the summary was created. - `api` means that no summary was generated automatically. You can add summary manually using the `PATCH /summaries/{summaryId}/source` endpoint operation. Until this happens, `sourceStatus` returns `missing`. - `auto` means that the API generated the summary automatically. | [optional] | ||
**sourceStatus** | **string** | Returns the current status of summary generation. `missing`: the input for a summary is not present. `waiting` : the input video is being processed and a summary will be generated. `failed`: a technical issue prevented summary generation. `completed`: the summary is generated. `unprocessable`: the API rules the source video to be unsuitable for summary generation. An example for this is an input video that has no audio. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# # SummarySource | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**title** | **string** | A video title, based on the contents of the video. | [optional] | ||
**abstract** | **string** | A short outline of the contents of the video. The length of an `abstract` depends on the amount of content in a video that can be transcribed. The API condenses the contents into minimum 20, maximum 300 words. | [optional] | ||
**takeaways** | **string[]** | A list of 3 key points from the video, in chronological order. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# # UpdateSummaryRequest | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**title** | **string** | A video title, based on the contents of the video. | [optional] | ||
**abstract** | **string** | A short outline of the contents of the video. | [optional] | ||
**takeaways** | **string[]** | A list of 3 key points from the video, in chronological order. | [optional] | ||
|
||
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.