Skip to main content

Get Summary

GET 

/bv/cms/v1/summary

This API will get summary information

Request

Query Parameters

    id stringrequired

    Required. The unique id of the source to generate summary. If type is SUMMARY_SOURCE_TYPE_LIBRARY, it should be library_id If type is SUMMARY_SOURCE_TYPE_VOD, it should be vod_id

    type stringrequired

    Possible values: [SUMMARY_SOURCE_TYPE_LIBRARY, SUMMARY_SOURCE_TYPE_VOD]

    Required. The source type to generate summary .

Responses

A successful response.

Schema
    summary object

    The summary information of the file.

    content string

    The content of summary.

    status string

    Possible values: [SUMMARY_STATUS_WAITING, SUMMARY_STATUS_PROCESSING, SUMMARY_STATUS_READY, SUMMARY_STATUS_FAILED, SUMMARY_STATUS_DELETED]

    The status of summary.

    library_id string

    The Library id of summary, it is existed when the summary is generated by AI.

    external_id string

    The unique id from the summary service.

    character_count int64

    The character count of summary.

    token_count int64

    The token count of summary.

    subtitle_id string

    The subtitle id of summary, only existed when the summary is generated by subtitle.

    error_infos object[]

    Output only. Optional. A list of messages that carry the error infos when vod encoding is failed.

  • Array [
  • reason string

    The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.

    domain string

    The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".

    metadata object

    Additional structured details about this error.

    Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.

    property name* string
  • ]
Loading...