You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**VideoId** | **string** | Create a summary of a video using the video ID. |
8
8
**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]
9
+
**Attributes** | **List<string>** | Use this parameter to define the elements of a summary that you want to generate. If you do not define this parameter, the API generates a full summary with all attributes. | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**Title** | **string** | A video title, based on the contents of the video. | [optional]
8
7
**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]
9
8
**Takeaways** | **List<string>** | A list of 3 key points from the video, in chronological order. | [optional]
Copy file name to clipboardExpand all lines: docs/VideoCreationPayload.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
**Language** | **string** | Use this parameter to set the language of the video. When this parameter is set, the API creates a transcript of the video using the language you specify. You must use the [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format. `language` is a permanent attribute of the video. You can update it to another language using the [`PATCH /videos/{videoId}`](https://docs.api.video/reference/api/Videos#update-a-video-object) operation. This triggers the API to generate a new transcript using a different language. | [optional]
19
19
**Transcript** | **bool** | Use this parameter to enable transcription. - When `true`, the API generates a transcript for the video. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to transcribe the video. If you do not define a language, the API detects it based on the video. - When the API generates a transcript, it will be available as a caption for the video. | [optional]
20
20
**TranscriptSummary** | **bool** | Use this parameter to enable summarization. We recommend using this parameter together with `transcript: true`. - When `true`, the API generates a summary for the video, based on the transcription. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to summarize the video. If you do not define a language, the API detects it based on the video. | [optional]
21
+
**TranscriptSummaryAttributes** | **List<string>** | Use this parameter to define the elements of a summary that you want to generate. If you do not define this parameter, the API generates a full summary with all attributes. | [optional]
21
22
22
23
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/VideoUpdatePayload.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
**Language** | **string** | Use this parameter to set the language of the video. When this parameter is set, the API creates a transcript of the video using the language you specify. You must use the [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format. `language` is a permanent attribute of the video. You can update it to another language using the [`PATCH /videos/{videoId}`](https://docs.api.video/reference/api/Videos#update-a-video-object) operation. This triggers the API to generate a new transcript using a different language. | [optional]
16
16
**Transcript** | **bool** | Use this parameter to enable transcription. - When `true`, the API generates a transcript for the video. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to transcribe the video. If you do not define a language, the API detects it based on the video. - When the API generates a transcript, it will be available as a caption for the video. | [optional]
17
17
**TranscriptSummary** | **bool** | Use this parameter to enable summarization. - When `true`, the API generates a summary for the video, based on the transcription. - The default value is `false`. - If you define a video language using the `language` parameter, the API uses that language to summarize the video. If you do not define a language, the API detects it based on the video. | [optional]
18
+
**TranscriptSummaryAttributes** | **List<string>** | Use this parameter to define the elements of a summary that you want to generate. If you do not define this parameter, the API generates a full summary with all attributes. | [optional]
18
19
19
20
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: src/Api/SummariesApi.cs
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public SummariesApi(ApiClient apiClient)
41
41
}
42
42
43
43
/// <summary>
44
-
/// Generate video summary Generate a title, abstract, and key takeaways for a video.
44
+
/// Generate video summary Generate an abstract and key takeaways for a video.
45
45
/// </summary>
46
46
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
47
47
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
@@ -56,7 +56,7 @@ public Task<Summary> createAsync(SummaryCreationPayload summaryCreationPayload,
56
56
}
57
57
58
58
/// <summary>
59
-
/// Generate video summary Generate a title, abstract, and key takeaways for a video.
59
+
/// Generate video summary Generate an abstract and key takeaways for a video.
60
60
/// </summary>
61
61
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
62
62
/// <param name="summaryCreationPayload"></param>
@@ -70,7 +70,7 @@ public Summary create(SummaryCreationPayload summaryCreationPayload)
70
70
71
71
72
72
/// <summary>
73
-
/// Generate video summary Generate a title, abstract, and key takeaways for a video.
73
+
/// Generate video summary Generate an abstract and key takeaways for a video.
74
74
/// </summary>
75
75
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
76
76
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
@@ -85,7 +85,7 @@ public Task<ApiResponse<Summary>> createWithHttpInfoAsync(SummaryCreationPayload
thrownewApiException(400,"Missing required parameter 'summaryCreationPayload.VideoId' when calling SummariesApi->create");
159
159
}
160
-
160
+
161
161
// verify the required parameter 'summaryCreationPayload' is set
162
162
if(summaryCreationPayload==null)
163
163
thrownewApiException(400,"Missing required parameter 'summaryCreationPayload' when calling SummariesApi->create");
@@ -211,7 +211,7 @@ public ApiResponse<Summary> createWithHttpInfo(SummaryCreationPayload summaryCre
211
211
212
212
213
213
/// <summary>
214
-
/// Update summary details Update details for a summary. Note that this operation is only allowed for summary objects where `sourceStatus` is `missing`.
214
+
/// Update summary details Update details for a summary.
215
215
/// </summary>
216
216
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
217
217
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
@@ -227,7 +227,7 @@ public Task<SummarySource> updateAsync(string summaryId, SummaryUpdatePayload su
227
227
}
228
228
229
229
/// <summary>
230
-
/// Update summary details Update details for a summary. Note that this operation is only allowed for summary objects where `sourceStatus` is `missing`.
230
+
/// Update summary details Update details for a summary.
231
231
/// </summary>
232
232
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
233
233
/// <param name="summaryId">The unique identifier of the summary source you want to update.</param>
@@ -242,7 +242,7 @@ public SummarySource update(string summaryId, SummaryUpdatePayload summaryUpdate
242
242
243
243
244
244
/// <summary>
245
-
/// Update summary details Update details for a summary. Note that this operation is only allowed for summary objects where `sourceStatus` is `missing`.
245
+
/// Update summary details Update details for a summary.
246
246
/// </summary>
247
247
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
248
248
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation. (optional)</param>
@@ -255,11 +255,11 @@ public Task<ApiResponse<SummarySource>> updateWithHttpInfoAsync(string summaryId
255
255
if(summaryUpdatePayload==null)
256
256
thrownewApiException(400,"Missing required parameter 'summaryUpdatePayload' when calling SummariesApi->update");
257
257
258
-
258
+
259
259
if(summaryUpdatePayload==null)
260
260
thrownewApiException(400,"Missing required parameter 'summaryUpdatePayload' when calling SummariesApi->update");
261
261
262
-
262
+
263
263
// verify the required parameter 'summaryId' is set
264
264
if(summaryId==null)
265
265
thrownewApiException(400,"Missing required parameter 'summaryId' when calling SummariesApi->update");
@@ -321,7 +321,7 @@ public Task<ApiResponse<SummarySource>> updateWithHttpInfoAsync(string summaryId
321
321
322
322
323
323
/// <summary>
324
-
/// Update summary details Update details for a summary. Note that this operation is only allowed for summary objects where `sourceStatus` is `missing`.
324
+
/// Update summary details Update details for a summary.
325
325
/// </summary>
326
326
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
327
327
/// <param name="summaryId">The unique identifier of the summary source you want to update.</param>
@@ -333,11 +333,11 @@ public ApiResponse<SummarySource> updateWithHttpInfo(string summaryId, SummaryUp
333
333
if(summaryUpdatePayload==null)
334
334
thrownewApiException(400,"Missing required parameter 'summaryUpdatePayload' when calling SummariesApi->update");
335
335
336
-
336
+
337
337
if(summaryUpdatePayload==null)
338
338
thrownewApiException(400,"Missing required parameter 'summaryUpdatePayload' when calling SummariesApi->update");
339
339
340
-
340
+
341
341
// verify the required parameter 'summaryId' is set
342
342
if(summaryId==null)
343
343
thrownewApiException(400,"Missing required parameter 'summaryId' when calling SummariesApi->update");
0 commit comments