Documentation
¶
Overview ¶
Package api defines all APIs supported by the VCA service of BCE.
Index ¶
Constants ¶
View Source
const ( URI_PREFIX = bce.URI_PREFIX + "v1" MEDIA_URI = "/media" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzeAttribute ¶
type AnalyzeAttribute struct {
Attribute string `json:"attribute"`
Confidence float32 `json:"confidence"`
Source string `json:"source"`
AttributeTime []TimePeriod `json:"time"`
}
type AnalyzeError ¶
type AnalyzeResult ¶
type AnalyzeResult struct {
Type string `json:"type"`
Attributes []AnalyzeAttribute `json:"result"`
}
type GetMediaResult ¶
type GetMediaResult struct {
Source string `json:"source"`
MediaId string `json:"mediaId"`
Title string `json:"title"`
Description string `json:"description"`
Preset string `json:"preset"`
Status string `json:"status"`
Percent int `json:"percent"`
Notification string `json:"notification"`
CreateTime string `json:"createTime"`
StartTime string `json:"startTime"`
PublishTime string `json:"publishTime"`
Results []AnalyzeResult `json:"results"`
Error AnalyzeError `json:"error"`
}
func PutMedia ¶
func PutMedia(cli bce.Client, args *PutMediaArgs) (*GetMediaResult, error)
type PutMediaArgs ¶
type TimePeriod ¶
Click to show internal directories.
Click to hide internal directories.