Skip to content

Commit a4763d0

Browse files
Merge pull request #134 from apivideo/update-summary-request-attribute-description
Add missing description
2 parents dc51b59 + 16be2d0 commit a4763d0

9 files changed

+21
-15
lines changed

api/openapi.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16781,7 +16781,8 @@ components:
1678116781
transcriptSummaryAttributes:
1678216782
description: Use this parameter to define the elements of a summary that
1678316783
you want to generate. If you do not define this parameter, the API generates
16784-
a full summary with all attributes.
16784+
a full summary with all attributes. The possible values are `abstract`
16785+
and `takeaways`.
1678516786
items:
1678616787
enum:
1678716788
- abstract
@@ -16812,7 +16813,8 @@ components:
1681216813
attributes:
1681316814
description: Use this parameter to define the elements of a summary that
1681416815
you want to generate. If you do not define this parameter, the API generates
16815-
a full summary with all attributes.
16816+
a full summary with all attributes. The possible values are `abstract`
16817+
and `takeaways`.
1681616818
items:
1681716819
enum:
1681816820
- abstract
@@ -17159,7 +17161,8 @@ components:
1715917161
transcriptSummaryAttributes:
1716017162
description: Use this parameter to define the elements of a summary that
1716117163
you want to generate. If you do not define this parameter, the API generates
17162-
a full summary with all attributes.
17164+
a full summary with all attributes. The possible values are `abstract`
17165+
and `takeaways`.
1716317166
items:
1716417167
enum:
1716517168
- abstract

docs/SummariesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class Example {
4545
If you do not set this parameter, **the API will not generate a summary automatically**.
4646

4747
In this case, `sourceStatus` will return `missing`, and you have to manually add a summary using the `PATCH /summaries/{summaryId}/source` endpoint operation.
48-
summaryCreationPayload.setAttributes(); // 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.
48+
summaryCreationPayload.setAttributes(); // 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. The possible values are `abstract` and `takeaways`.
4949

5050

5151
try {

docs/SummaryCreationPayload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**videoId** | **String** | Create a summary of a video using the video ID. |
1010
**origin** | [**OriginEnum**](#OriginEnum) | 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]
11-
**attributes** | [**List<AttributesEnum>**](#List<AttributesEnum>) | 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]
11+
**attributes** | [**List<AttributesEnum>**](#List<AttributesEnum>) | 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. The possible values are `abstract` and `takeaways`. | [optional]
1212

1313

1414

docs/VideoCreationPayload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
2020
**language** | [**LanguageEnum**](#LanguageEnum) | 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]
2121
**transcript** | **Boolean** | 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]
2222
**transcriptSummary** | **Boolean** | 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]
23-
**transcriptSummaryAttributes** | [**List<TranscriptSummaryAttributesEnum>**](#List<TranscriptSummaryAttributesEnum>) | 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]
23+
**transcriptSummaryAttributes** | [**List<TranscriptSummaryAttributesEnum>**](#List<TranscriptSummaryAttributesEnum>) | 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. The possible values are `abstract` and `takeaways`. | [optional]
2424

2525

2626

docs/VideoUpdatePayload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**language** | [**LanguageEnum**](#LanguageEnum) | 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]
1818
**transcript** | **Boolean** | 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]
1919
**transcriptSummary** | **Boolean** | 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]
20-
**transcriptSummaryAttributes** | [**List<TranscriptSummaryAttributesEnum>**](#List<TranscriptSummaryAttributesEnum>) | 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]
20+
**transcriptSummaryAttributes** | [**List<TranscriptSummaryAttributesEnum>**](#List<TranscriptSummaryAttributesEnum>) | 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. The possible values are `abstract` and `takeaways`. | [optional]
2121

2222

2323

docs/VideosApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class Example {
7272
- When `true`, the API generates a summary for the video, based on the transcription.
7373
- The default value is `false`.
7474
- 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.
75-
videoCreationPayload.setTranscriptSummaryAttributes(); // 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.
75+
videoCreationPayload.setTranscriptSummaryAttributes(); // 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. The possible values are `abstract` and `takeaways`.
7676

7777

7878
try {
@@ -459,7 +459,7 @@ public class Example {
459459
- When `true`, the API generates a summary for the video, based on the transcription.
460460
- The default value is `false`.
461461
- 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.
462-
videoUpdatePayload.setTranscriptSummaryAttributes(); // 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.
462+
videoUpdatePayload.setTranscriptSummaryAttributes(); // 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. The possible values are `abstract` and `takeaways`.
463463
464464
465465
try {

src/main/java/video/api/client/api/models/SummaryCreationPayload.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,13 @@ public SummaryCreationPayload addAttributesItem(AttributesEnum attributesItem) {
198198

199199
/**
200200
* Use this parameter to define the elements of a summary that you want to generate. If you do not define this
201-
* parameter, the API generates a full summary with all attributes.
201+
* parameter, the API generates a full summary with all attributes. The possible values are `abstract` and
202+
* `takeaways`.
202203
*
203204
* @return attributes
204205
**/
205206
@javax.annotation.Nullable
206-
@ApiModelProperty(value = "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.")
207+
@ApiModelProperty(value = "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. The possible values are `abstract` and `takeaways`.")
207208

208209
public List<AttributesEnum> getAttributes() {
209210
return attributes;

src/main/java/video/api/client/api/models/VideoCreationPayload.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,13 @@ public VideoCreationPayload addTranscriptSummaryAttributesItem(
599599

600600
/**
601601
* Use this parameter to define the elements of a summary that you want to generate. If you do not define this
602-
* parameter, the API generates a full summary with all attributes.
602+
* parameter, the API generates a full summary with all attributes. The possible values are &#x60;abstract&#x60; and
603+
* &#x60;takeaways&#x60;.
603604
*
604605
* @return transcriptSummaryAttributes
605606
**/
606607
@javax.annotation.Nullable
607-
@ApiModelProperty(value = "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.")
608+
@ApiModelProperty(value = "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. The possible values are `abstract` and `takeaways`.")
608609

609610
public List<TranscriptSummaryAttributesEnum> getTranscriptSummaryAttributes() {
610611
return transcriptSummaryAttributes;

src/main/java/video/api/client/api/models/VideoUpdatePayload.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,13 @@ public VideoUpdatePayload addTranscriptSummaryAttributesItem(
528528

529529
/**
530530
* Use this parameter to define the elements of a summary that you want to generate. If you do not define this
531-
* parameter, the API generates a full summary with all attributes.
531+
* parameter, the API generates a full summary with all attributes. The possible values are &#x60;abstract&#x60; and
532+
* &#x60;takeaways&#x60;.
532533
*
533534
* @return transcriptSummaryAttributes
534535
**/
535536
@javax.annotation.Nullable
536-
@ApiModelProperty(value = "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.")
537+
@ApiModelProperty(value = "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. The possible values are `abstract` and `takeaways`.")
537538

538539
public List<TranscriptSummaryAttributesEnum> getTranscriptSummaryAttributes() {
539540
return transcriptSummaryAttributes;

0 commit comments

Comments
 (0)