'1.0',
'info' => ['style' => 'RPC', 'product' => 'imm', 'version' => '2020-09-30'],
'directories' => [
[
'children' => [
[
'children' => ['IndexFileMeta', 'BatchIndexFileMeta', 'UpdateFileMeta', 'BatchUpdateFileMeta', 'GetFileMeta', 'BatchGetFileMeta', 'DeleteFileMeta', 'BatchDeleteFileMeta'],
'type' => 'directory',
'title' => 'Metadata indexing',
],
[
'children' => ['SimpleQuery', 'SemanticQuery', 'FuzzyQuery'],
'type' => 'directory',
'title' => 'Query and statistics',
],
[
'children' => [
[
'children' => ['CreateFigureClusteringTask', 'CreateFigureClustersMergingTask', 'GetFigureCluster', 'QueryFigureClusters', 'BatchGetFigureCluster', 'UpdateFigureCluster', 'SearchImageFigureCluster', 'CreateFacesSearchingTask'],
'type' => 'directory',
'title' => 'Face clustering',
],
[
'children' => ['CreateLocationDateClusteringTask', 'QueryLocationDateClusters', 'UpdateLocationDateCluster', 'DeleteLocationDateCluster'],
'type' => 'directory',
'title' => 'Spatiotemporal clustering',
],
[
'children' => ['QueryStories'],
'type' => 'directory',
'title' => 'Stories',
],
[
'children' => ['CreateSimilarImageClusteringTask', 'QuerySimilarImageClusters'],
'type' => 'directory',
'title' => 'Image clustering',
],
],
'type' => 'directory',
'title' => 'Intelligent management',
],
[
'children' => ['CreateBinding', 'GetBinding', 'ListBindings', 'DeleteBinding', 'AttachOSSBucket', 'DetachOSSBucket', 'GetOSSBucketAttachment'],
'type' => 'directory',
'title' => 'Data binding',
],
],
'type' => 'directory',
'title' => 'Metadata management',
],
[
'children' => ['EncodeBlindWatermark', 'CreateDecodeBlindWatermarkTask', 'GetDecodeBlindWatermarkResult', 'DetectImageLabels', 'DetectImageScore', 'DetectImageCodes', 'DetectImageFaces', 'DetectImageCropping', 'AddImageMosaic', 'CreateImageToPDFTask', 'CreateImageSplicingTask', 'CompareImageFaces', 'DetectImageBodies', 'DetectImageCars', 'DetectImageTexts'],
'type' => 'directory',
'title' => 'Image processing',
],
[
'children' => ['CreateMediaConvertTask', 'DetectMediaMeta', 'CreateVideoLabelClassificationTask', 'GetVideoLabelClassificationResult', 'GenerateVideoPlaylist', 'CreateHighlightTask'],
'type' => 'directory',
'title' => 'Media processing',
],
[
'children' => ['GenerateWebofficeToken', 'RefreshWebofficeToken', 'CreateOfficeConversionTask', 'ExtractDocumentText'],
'type' => 'directory',
'title' => 'Document processing',
],
[
'children' => [
[
'children' => ['CreateFileCompressionTask', 'CreateArchiveFileInspectionTask', 'CreateFileUncompressionTask'],
'type' => 'directory',
'title' => 'Compression and decompression',
],
[
'children' => ['CreateCompressPointCloudTask'],
'type' => 'directory',
'title' => 'Point cloud compression',
],
],
'type' => 'directory',
'title' => 'File processing',
],
[
'children' => ['DetectTextAnomaly', 'CreateImageModerationTask', 'CreateVideoModerationTask', 'GetImageModerationResult', 'GetVideoModerationResult'],
'type' => 'directory',
'title' => 'Content security',
],
[
'children' => [
[
'children' => ['SuspendTrigger', 'ResumeTrigger', 'UpdateTrigger', 'GetTrigger', 'ListTriggers'],
'type' => 'directory',
'title' => 'Triggers',
],
[
'children' => ['CreateBatch', 'SuspendBatch', 'ResumeBatch', 'UpdateBatch', 'ListBatches', 'GetBatch', 'DeleteBatch'],
'type' => 'directory',
'title' => 'Batch processing',
],
],
'type' => 'directory',
'title' => 'Task management',
],
[
'children' => [
'ContextualAnswer', 'ContextualRetrieval', 'ListAttachedOSSBuckets', 'AddStoryFiles', 'CreateCustomizedStory', 'CreateDataset', 'CreateProject', 'CreateStory', 'CreateTrigger', 'DeleteDataset', 'DeleteProject', 'DeleteStory', 'DeleteTrigger', 'GetDataset', 'GetProject', 'GetStory', 'GetTask', 'ListDatasets', 'ListProjects', 'ListRegions',
'ListTasks', 'RemoveStoryFiles', 'UpdateDataset', 'UpdateProject', 'UpdateStory',
],
'type' => 'directory',
'title' => 'Others',
],
],
'components' => [
'schemas' => [
'Address' => [
'title' => '',
'description' => 'The address information.'."\n",
'type' => 'object',
'properties' => [
'Language' => ['title' => '', 'description' => 'The BCP 47 language code.'."\n", 'type' => 'string', 'example' => 'zh-Hans', 'visibility' => 'Public', 'backendName' => 'Language'],
'AddressLine' => ['title' => '', 'description' => 'The full address.'."\n", 'type' => 'string', 'example' => '中国浙江省杭州市余杭区文一西路969号', 'visibility' => 'Public', 'backendName' => 'AddressLine'],
'Country' => ['title' => '', 'description' => 'The country or region.'."\n", 'type' => 'string', 'example' => '中国', 'visibility' => 'Public', 'backendName' => 'Country'],
'Province' => ['title' => '', 'description' => 'The province.'."\n", 'type' => 'string', 'example' => '浙江省', 'visibility' => 'Public', 'backendName' => 'Province'],
'City' => ['title' => '', 'description' => 'The city.'."\n", 'type' => 'string', 'example' => '杭州市', 'visibility' => 'Public', 'backendName' => 'City'],
'District' => ['title' => '', 'description' => 'The district.'."\n", 'type' => 'string', 'example' => '余杭区', 'visibility' => 'Public', 'backendName' => 'District'],
'Township' => ['title' => '', 'description' => 'The street.'."\n", 'type' => 'string', 'example' => '文一西路', 'visibility' => 'Public', 'backendName' => 'Township'],
],
'visibility' => 'Public',
'nullToEmpty' => true,
'example' => '',
],
'AddressForStory' => [
'title' => '',
'description' => 'The address used for the story.'."\n",
'type' => 'object',
'properties' => [
'Country' => ['title' => '', 'description' => 'The country.'."\n", 'type' => 'string', 'example' => '中国', 'visibility' => 'Public', 'backendName' => 'Country'],
'Province' => ['title' => '', 'description' => 'The province.'."\n", 'type' => 'string', 'example' => '浙江省', 'visibility' => 'Public', 'backendName' => 'Province'],
'City' => ['title' => '', 'description' => 'The city.'."\n", 'type' => 'string', 'example' => '杭州市', 'visibility' => 'Public', 'backendName' => 'City'],
'District' => ['title' => '', 'description' => 'The district.'."\n", 'type' => 'string', 'example' => '滨江区', 'visibility' => 'Public', 'backendName' => 'District'],
'Township' => ['title' => '', 'description' => 'The township.'."\n", 'type' => 'string', 'example' => '长河街道', 'visibility' => 'Public', 'backendName' => 'Township'],
],
'visibility' => 'Public',
'example' => '',
],
'AlgorithmDefinition' => [
'title' => '',
'description' => 'The structure of the algorithm definition.'."\n",
'type' => 'object',
'properties' => [
'Description' => ['description' => 'The description.'."\n", 'type' => 'string', 'title' => '', 'example' => 'test'],
'OwnerId' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'title' => '', 'example' => 'user1'],
'ProjectName' => ['description' => 'The name of the project.'."\n", 'type' => 'string', 'title' => '', 'example' => 'traningtest'],
'CreateTime' => ['description' => 'The creation time.'."\n", 'type' => 'string', 'title' => '', 'example' => '2023-05-31T10:19:40.572325888+08:00'],
'UpdateTime' => ['description' => 'The update time.'."\n", 'type' => 'string', 'title' => '', 'example' => '2023-05-31T10:19:40.572325888+08:00'],
'TrainingSpecification' => ['description' => 'The model training parameters.'."\n", 'title' => '', '$ref' => '#/components/schemas/TrainingSpecification', 'example' => ''],
'AlgorithmDefinitionId' => ['description' => 'The ID of the algorithm definition.'."\n", 'type' => 'string', 'title' => '', 'example' => '8fc6e718-8d19-495f-a510-bcee3c598588'],
'Name' => ['description' => 'The name of the algorithm.'."\n", 'type' => 'string', 'title' => '', 'example' => 'algoName'],
'CustomLabels' => [
'title' => '',
'description' => 'Custom labels.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'additionalProperties' => ['description' => 'The custom labels of the file. This parameter is optional. A custom label stores custom key names and key-value pairs, which can be used to filter data. For more information, see [Supported fields and operators](https://help.aliyun.com/zh/imm/developer-reference/imm-supported-fields-and-operators?spm=a2c4g.11186623.0.0.43ea47b1QctPRi).'."\n", 'type' => 'string', 'title' => '', 'example' => '{'."\n"
.' "MemberName": "Tim",'."\n"
.' "Enabled": "True",'."\n"
.' "ItemCount": "10"'."\n"
.'}'],
'description' => '',
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'Answer' => [
'title' => '',
'description' => 'The information about the answer generated by the large language model for the AI assistant.'."\n",
'type' => 'object',
'properties' => [
'Content' => ['title' => '', 'description' => 'The answer.'."\n", 'type' => 'string', 'example' => '你好', 'visibility' => 'Public', 'backendName' => 'Content'],
'References' => [
'title' => '',
'description' => 'The reference sources of the answer.'."\n",
'type' => 'array',
'items' => ['description' => 'The reference file based on which the smart chatbot provides the answer.'."\n", '$ref' => '#/components/schemas/ReferenceFile', 'title' => '', 'example' => '', 'visibility' => 'Public', 'extendType' => 'true'],
'example' => '',
'visibility' => 'Public',
'backendName' => 'References',
],
],
'example' => '',
'visibility' => 'Public',
],
'App' => [
'title' => '',
'description' => 'App'."\n",
'type' => 'object',
'properties' => [
'AppDescription' => ['title' => '', 'description' => 'AppDescription'."\n", 'type' => 'string', 'example' => '中国最大的电商购物商城', 'visibility' => 'Public', 'backendName' => 'AppDescription'],
'AppId' => ['title' => '', 'description' => 'AppId'."\n", 'type' => 'string', 'example' => '1234567890', 'visibility' => 'Public', 'backendName' => 'AppId'],
'PackageName' => ['title' => '', 'description' => 'PackageName'."\n", 'type' => 'string', 'example' => 'ThisIsAPackageName', 'visibility' => 'Public', 'backendName' => 'PackageName'],
'AppType' => ['title' => '', 'description' => 'AppType'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'AppType'],
'EnglishName' => ['title' => '', 'description' => 'EnglishName'."\n", 'type' => 'string', 'example' => 'Taobao', 'visibility' => 'Public', 'backendName' => 'EnglishName'],
'AppName' => ['title' => '', 'description' => 'AppName'."\n", 'type' => 'string', 'example' => '淘宝', 'visibility' => 'Public', 'backendName' => 'AppName'],
'AppRegion' => ['title' => '', 'description' => 'AppRegion'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'AppRegion'],
'OwnerId' => ['title' => '', 'description' => 'OwnerId'."\n", 'type' => 'string', 'example' => '1023210024677934', 'visibility' => 'Public', 'backendName' => 'OwnerId'],
'AppKey' => ['title' => '', 'description' => 'AppKey'."\n", 'type' => 'string', 'example' => 'ryBOBW0Z6NnQ3fV9', 'visibility' => 'Public', 'backendName' => 'AppKey'],
],
'visibility' => 'Public',
'example' => '',
],
'AssumeRoleChain' => [
'title' => '',
'description' => 'The authorization chain of the assumed role.'."\n",
'type' => 'object',
'properties' => [
'Policy' => ['title' => '', 'description' => 'The policy.'."\n", 'type' => 'string', 'example' => '{'."\n"
.' "Statement": ['."\n"
.' {'."\n"
.' "Action": "oss:*",'."\n"
.' "Effect": "Allow",'."\n"
.' "Resource": "*"'."\n"
.' }'."\n"
.' ],'."\n"
.' "Version": "1"'."\n"
.'}', 'visibility' => 'Public', 'backendName' => 'Policy'],
'Chain' => [
'title' => '',
'description' => 'The authorization chains.'."\n",
'type' => 'array',
'items' => ['description' => 'The authorization chain node.'."\n", '$ref' => '#/components/schemas/AssumeRoleChainNode', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Chain',
'itemName' => 'Chain',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'AssumeRoleChainNode' => [
'title' => '',
'description' => 'The chained authorization node.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['title' => '', 'description' => 'The type of the account. Valid values:'."\n"
."\n"
.'* user: Alibaba Cloud account.'."\n"
.'* service: Alibaba Cloud service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'user'],
'OwnerId' => ['title' => '', 'description' => 'The UID of the account.'."\n", 'type' => 'string', 'required' => true, 'example' => '10232100********'],
'Role' => ['title' => '', 'description' => 'The role.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-role'],
],
'example' => '',
],
'AudioStream' => [
'title' => '',
'description' => 'The information about the audio stream.'."\n",
'type' => 'object',
'properties' => [
'Index' => ['title' => '', 'description' => 'The index number of the audio stream.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'Index'],
'Language' => ['title' => '', 'description' => 'The audio language in the BCP 47 standard.'."\n", 'type' => 'string', 'example' => 'en', 'visibility' => 'Public', 'backendName' => 'Language'],
'CodecName' => ['title' => '', 'description' => 'The abbreviated name of the codec.'."\n", 'type' => 'string', 'example' => 'aac', 'visibility' => 'Public', 'backendName' => 'CodecName'],
'CodecLongName' => ['title' => '', 'description' => 'The full name of the codec.'."\n", 'type' => 'string', 'example' => 'AAC (Advanced Audio Coding)', 'visibility' => 'Public', 'backendName' => 'CodecLongName'],
'CodecTimeBase' => ['title' => '', 'description' => 'The time base of the codec.'."\n", 'type' => 'string', 'example' => '1/44100', 'visibility' => 'Public', 'backendName' => 'CodecTimeBase'],
'CodecTagString' => ['title' => '', 'description' => 'The description of the codec tag.'."\n", 'type' => 'string', 'example' => 'mp4a', 'visibility' => 'Public', 'backendName' => 'CodecTagString'],
'CodecTag' => ['title' => '', 'description' => 'The tag of the codec.'."\n", 'type' => 'string', 'example' => '0x6134706d', 'visibility' => 'Public', 'backendName' => 'CodecTag'],
'TimeBase' => ['title' => '', 'description' => 'The time base.'."\n", 'type' => 'string', 'example' => '1/48000', 'visibility' => 'Public', 'backendName' => 'TimeBase'],
'StartTime' => ['title' => '', 'description' => 'The start time of the audio stream in seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.0235', 'visibility' => 'Public', 'backendName' => 'StartTime'],
'Duration' => ['title' => '', 'description' => 'The duration of the audio stream in seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '3.690667', 'visibility' => 'Public', 'backendName' => 'Duration'],
'Bitrate' => ['title' => '', 'description' => 'The bitrate. Unit: bit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '320087', 'visibility' => 'Public', 'backendName' => 'Bitrate'],
'FrameCount' => ['title' => '', 'description' => 'The number of frames.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '173', 'visibility' => 'Public', 'backendName' => 'FrameCount'],
'Lyric' => ['title' => '', 'description' => 'The lyric.'."\n", 'type' => 'string', 'example' => 'test', 'visibility' => 'Public', 'backendName' => 'Lyric'],
'SampleFormat' => ['title' => '', 'description' => 'The sample format.'."\n", 'type' => 'string', 'example' => 'fltp', 'visibility' => 'Public', 'backendName' => 'SampleFormat'],
'SampleRate' => ['title' => '', 'description' => 'The sampling rate. Unit: Hz.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '48000', 'visibility' => 'Public', 'backendName' => 'SampleRate'],
'Channels' => ['title' => '', 'description' => 'The number of sound channels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'Channels'],
'ChannelLayout' => ['title' => '', 'description' => 'The sound channel layout.'."\n", 'type' => 'string', 'example' => 'stereo', 'visibility' => 'Public', 'backendName' => 'ChannelLayout'],
],
'visibility' => 'Public',
'example' => '',
],
'Binding' => [
'title' => '',
'description' => 'Information about the binding.',
'type' => 'object',
'properties' => [
'ProjectName' => ['title' => '', 'description' => 'The name of the project.', 'type' => 'string', 'example' => 'immtest'],
'DatasetName' => ['title' => '', 'description' => 'The name of the dataset.', 'type' => 'string', 'example' => 'dataset001'],
'URI' => ['title' => '', 'description' => 'The URI of the Object Storage Service (OSS) bucket attached to the dataset.'."\n"
."\n"
.'The format of an OSS bucket URI is `oss://${bucketname}`. The `bucketname` is the name of an OSS bucket that is in the same region as the current project.', 'type' => 'string', 'example' => 'oss://examplebucket'],
'State' => ['title' => '', 'description' => 'The state of the binding between the dataset and the OSS bucket. Valid values:'."\n"
."\n"
.'- Ready: The binding is being prepared after it is created.'."\n"
."\n"
.'- Stopped: The binding is paused.'."\n"
."\n"
.'- Running: The binding is running.'."\n"
."\n"
.'- Retrying: The binding is being retried after it is created.'."\n"
."\n"
.'- Failed: The binding failed to be created.'."\n"
."\n"
.'- Deleted: The binding is deleted.', 'type' => 'string', 'example' => 'Running'],
'Phase' => ['title' => '', 'description' => 'The scan type. Valid values:'."\n"
."\n"
.'- FullScanning: A full scan is in progress.'."\n"
."\n"
.'- IncrementalScanning: An incremental scan is in progress.', 'type' => 'string', 'example' => 'FullScanning'],
'CreateTime' => ['title' => '', 'description' => 'The timestamp when the binding between the dataset and the OSS bucket was created. The format is RFC3339Nano.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'UpdateTime' => ['title' => '', 'description' => 'The timestamp when the binding between the dataset and the OSS bucket was last modified. The format is RFC3339Nano.'."\n"
."\n"
.'> After a binding is created, if the binding has not been paused or restarted, this timestamp is the same as the creation timestamp.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'Reason' => ['title' => '', 'description' => 'Reason', 'type' => 'string', 'example' => 'pause usage'],
],
'example' => '',
],
'Body' => [
'title' => '',
'description' => 'The information about the human body.'."\n",
'type' => 'object',
'properties' => [
'Confidence' => ['title' => '', 'description' => 'The confidence level of the result. A higher value indicates greater confidence. Specifically, a value exceeding 0.8 signifies a high degree of confidence in the result.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.82', 'visibility' => 'Public', 'backendName' => 'Confidence'],
'Boundary' => ['title' => '', 'description' => 'The boundary of the human body.'."\n", '$ref' => '#/components/schemas/Boundary', 'visibility' => 'Public', 'backendName' => 'Boundary', 'example' => ''],
],
'visibility' => 'Public',
'example' => '',
],
'Boundary' => [
'title' => '',
'description' => 'The boundary information.'."\n",
'type' => 'object',
'properties' => [
'Width' => ['title' => '', 'description' => 'The width. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'visibility' => 'Public', 'backendName' => 'Width'],
'Height' => ['title' => '', 'description' => 'The height. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'visibility' => 'Public', 'backendName' => 'Height'],
'Left' => ['title' => '', 'description' => 'The distance from the X-coordinate of the vertex to the left edge.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'Left'],
'Top' => ['title' => '', 'description' => 'The distance from the Y-coordinate of the vertex to the top.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'visibility' => 'Public', 'backendName' => 'Top'],
'Polygon' => [
'title' => '',
'description' => 'The polygon formed by a number of points. This parameter takes effect only when the boundary describes a polygon rather than a rectangle.'."\n"
."\n"
.'> This parameter is mutually exclusive to the following parameters that form a rectangle: Width, Height, Left, and Top. A boundary describes only a rectangle or a polygon.'."\n",
'type' => 'array',
'items' => ['description' => 'The coordinates of points that form the polygon.'."\n", '$ref' => '#/components/schemas/PointInt64', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Polygon',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'Car' => [
'title' => '',
'description' => 'The vehicle information.'."\n",
'type' => 'object',
'properties' => [
'LicensePlates' => [
'title' => '',
'description' => 'The license plates.'."\n",
'type' => 'array',
'items' => ['description' => 'The license plate.'."\n", '$ref' => '#/components/schemas/LicensePlate', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'LicensePlates',
'example' => '',
],
'CarType' => ['title' => '', 'description' => 'The vehicle type. Valid values:'."\n"
."\n"
.'* car'."\n"
.'* bus'."\n"
.'* truck'."\n"
.'* van'."\n", 'type' => 'string', 'example' => 'van', 'visibility' => 'Public', 'backendName' => 'CarType'],
'CarTypeConfidence' => ['title' => '', 'description' => 'The confidence level of the vehicle type. Valid values: 0 to 1. The value 0 indicates the lowest confidence level. The value 1 indicates the highest confidence level.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.516', 'visibility' => 'Public', 'backendName' => 'CarTypeConfidence'],
'CarColor' => ['title' => '', 'description' => 'The vehicle color. Valid values'."\n"
."\n"
.'* white'."\n"
.'* grey'."\n"
.'* yellow'."\n"
.'* red'."\n"
.'* green'."\n"
.'* blue'."\n"
.'* black'."\n"
.'* purple'."\n"
.'* brown'."\n", 'type' => 'string', 'example' => 'white', 'visibility' => 'Public', 'backendName' => 'CarColor'],
'CarColorConfidence' => ['title' => '', 'description' => 'The confidence level of the vehicle color. Valid values: 0 to 1. The value 0 indicates the lowest confidence level. The value 1 indicates the highest confidence level.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.604', 'visibility' => 'Public', 'backendName' => 'CarColorConfidence'],
'Boundary' => ['title' => '', 'description' => 'The boundary information.'."\n", '$ref' => '#/components/schemas/Boundary', 'visibility' => 'Public', 'backendName' => 'Boundary', 'example' => ''],
'Confidence' => ['title' => '', 'description' => 'The confidence level of the vehicle detection result. Valid values: 0 to 1. The value 0 indicates the lowest confidence level. The value 1 indicates the highest confidence level.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.999', 'visibility' => 'Public', 'backendName' => 'Confidence'],
],
'visibility' => 'Public',
'example' => '',
],
'Clip' => [
'type' => 'object',
'properties' => [
'TimeRange' => [
'type' => 'array',
'items' => ['description' => 'The start and end time', 'type' => 'integer', 'title' => '', 'example' => '100', 'format' => 'int64'],
'description' => 'The time range of the event clip',
'title' => '',
'example' => '',
],
],
'description' => 'Event clip',
'title' => '',
'example' => '',
],
'ClusterForReq' => [
'title' => '',
'description' => 'The information about the face cluster.'."\n",
'type' => 'object',
'properties' => [
'ObjectId' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'example' => 'Cluster-99b1c333-86dc-45da-8c6****', 'visibility' => 'Public', 'backendName' => 'ObjectId'],
'CustomId' => ['title' => '', 'description' => 'The custom ID.'."\n", 'type' => 'string', 'example' => 'abc', 'visibility' => 'Public', 'backendName' => 'CustomId'],
'CustomLabels' => ['title' => '', 'description' => 'The custom labels.'."\n", 'type' => 'object', 'example' => '{"Bucket": "examplebucket"}', 'visibility' => 'Public', 'backendName' => 'CustomLabels'],
'Name' => ['title' => '', 'description' => 'The name of the cluster.'."\n", 'type' => 'string', 'example' => 'abc', 'visibility' => 'Public', 'backendName' => 'Name'],
'Cover' => [
'title' => '',
'description' => 'The cover.'."\n",
'type' => 'object',
'properties' => [
'Figures' => [
'title' => '',
'description' => 'The persons.'."\n",
'type' => 'array',
'items' => [
'description' => 'The person.'."\n",
'type' => 'object',
'properties' => [
'FigureId' => ['title' => '', 'description' => 'The person ID.'."\n", 'type' => 'string', 'example' => '2cb3c51e-b406-4b0c-af1b-897d88e1****', 'visibility' => 'Public', 'backendName' => 'FigureId'],
],
'visibility' => 'Public',
'extendType' => 'true',
'title' => '',
'example' => '',
],
'visibility' => 'Public',
'backendName' => 'Figures',
'itemName' => 'Figures',
'example' => '',
],
],
'visibility' => 'Public',
'backendName' => 'Cover',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'Codes' => [
'title' => '',
'description' => 'The code information.'."\n",
'type' => 'object',
'properties' => [
'Content' => ['title' => '', 'description' => 'The content of the code.'."\n", 'type' => 'string', 'example' => 'https://www.example.com', 'visibility' => 'Public', 'backendName' => 'Content'],
'Confidence' => ['title' => '', 'description' => 'The confidence level of the code. A greater value indicates a higher confidence level. A value exceeding 0.8 signifies a high degree of confidence in the result.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.9', 'visibility' => 'Public', 'backendName' => 'Confidence'],
'Boundary' => ['title' => '', 'description' => 'The boundary of the code.'."\n", '$ref' => '#/components/schemas/Boundary', 'visibility' => 'Public', 'backendName' => 'Boundary', 'example' => ''],
'Type' => [
'title' => '',
'description' => 'The type of the code.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* qrcode'."\n"
.'* barcode'."\n",
'type' => 'string',
'enumValueTitles' => ['qrcode' => '二维码', 'barcode' => '条码'],
'example' => 'qrcode',
'visibility' => 'Public',
'backendName' => 'Type',
],
],
'visibility' => 'Public',
'example' => '',
],
'ContextualFile' => [
'title' => '',
'description' => 'The file.',
'type' => 'object',
'properties' => [
'OwnerId' => ['description' => 'The user ID.', 'type' => 'string', 'title' => '', 'example' => '1482910009923706'],
'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'title' => '', 'example' => 'test-project'],
'DatasetName' => ['description' => 'The dataset name.', 'type' => 'string', 'title' => '', 'example' => 'test-dataset'],
'ObjectId' => ['description' => 'The identifier of the file in the dataset.', 'type' => 'string', 'title' => '', 'example' => '0939d7ed-73fa-4009-bbe6-fbbe07b92b2e'],
'URI' => ['description' => 'The URI of the file.'."\n"
.'The format of an OSS URI is oss\\://${bucketname}/${objectname}. ${bucketname} is the name of an OSS bucket in the same region as the current project. ${objectname} is the file path.'."\n"
.'The format of a PDS URI is pds\\://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision}.', 'type' => 'string', 'title' => '', 'example' => 'oss://test-bucket'],
'OSSURI' => ['description' => 'The URI path of the OSS file. This parameter is used only when the URI is a PDS address.', 'type' => 'string', 'title' => '', 'example' => 'oss://test-bucket/test-object.jpg'],
'MediaType' => [
'description' => 'The media type of the file.',
'enumValueTitles' => ['image' => 'image', 'other' => 'other', 'document' => 'document', 'archive' => 'archive', 'audio' => 'audio', 'video' => 'video'],
'type' => 'string',
'title' => '',
'example' => 'document',
],
'ContentType' => ['description' => 'The Multipurpose Internet Mail Extensions (MIME) type of the file.', 'type' => 'string', 'title' => '', 'example' => 'text/x-imm-faq'],
'Elements' => [
'title' => '',
'description' => 'Elements.',
'type' => 'array',
'items' => ['description' => 'The document elements generated from document analysis.', '$ref' => '#/components/schemas/Element', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
'ContextualMessage' => [
'title' => '',
'description' => 'The message in a multi-turn dialogue with the AI assistant.'."\n",
'type' => 'object',
'properties' => [
'Role' => ['title' => '', 'description' => 'The role in the dialogue.'."\n", 'type' => 'string', 'example' => 'user', 'visibility' => 'Public', 'backendName' => 'Role'],
'Content' => ['title' => '', 'description' => 'The message content.'."\n", 'type' => 'string', 'example' => '你好', 'visibility' => 'Public', 'backendName' => 'Content'],
'Files' => [
'title' => '',
'description' => 'The files involved in the dialogue.'."\n",
'type' => 'array',
'items' => ['description' => 'The data structure for file information.'."\n", '$ref' => '#/components/schemas/ContextualFile', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Files',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'CredentialConfig' => [
'title' => '',
'description' => 'The authorization chain settings. In most cases, this parameter is left empty.'."\n"
."\n"
.'> If Account A is used to call an API operation of Intelligent Media Management (IMM) to process Object Storage Service (OSS) data in Account B, you must set the ServiceRole parameter to a role in Account A, and set the Chain parameter to a role in Account B.'."\n",
'type' => 'object',
'properties' => [
'ServiceRole' => ['title' => '', 'description' => 'The service role in the account that is used to call an IMM API operation. The role must have the `sts:AssumeRole` permission. You can configure permissions for the role in the Resource Access Management (RAM) console.'."\n", 'type' => 'string', 'example' => 'AliyunSTSAssumeForIMMServiceRole', 'visibility' => 'Public', 'backendName' => 'ServiceRole'],
'Policy' => ['title' => '', 'description' => 'The policy that is attached to the role specified by the ServiceRole parameter. For example, the policy allows access to OSS. This parameter is optional.'."\n", 'type' => 'string', 'example' => '{"Statement": [{"Action": "oss:*","Effect": "Allow","Resource": "*"}],"Version": "1"}', 'visibility' => 'Public', 'backendName' => 'Policy'],
'Chain' => [
'title' => '',
'description' => 'The authorization chains. All roles in the array must have the `sts:AssumeRole` permission. You need to only grant other permissions, such as read and write permissions on OSS, to the last role in the array. You can grant permissions in the RAM console.'."\n",
'type' => 'array',
'items' => [
'description' => 'The authorization chain.'."\n",
'type' => 'object',
'properties' => [
'AssumeRoleFor' => ['title' => '', 'description' => 'The ID of the account that you use to grant permissions.'."\n", 'type' => 'string', 'example' => '10232100246xxxxx', 'visibility' => 'Public', 'backendName' => 'AssumeRoleFor'],
'Role' => ['title' => '', 'description' => 'The RAM role that can be assumed.'."\n", 'type' => 'string', 'example' => 'AliyunOSSRole', 'visibility' => 'Public', 'backendName' => 'Role'],
'RoleType' => ['title' => '', 'description' => 'The role type. Valid values:'."\n"
."\n"
.'* user: Alibaba Cloud account.'."\n"
.'* service: Alibaba Cloud service.'."\n", 'type' => 'string', 'example' => 'user', 'visibility' => 'Public', 'backendName' => 'RoleType'],
],
'visibility' => 'Public',
'extendType' => 'true',
'title' => '',
'example' => '',
],
'visibility' => 'Public',
'backendName' => 'Chain',
'itemName' => 'Chain',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'CroppingSuggestion' => [
'title' => '',
'description' => 'The cropping suggestion.'."\n",
'type' => 'object',
'properties' => [
'AspectRatio' => ['title' => '', 'description' => 'The aspect ratio.'."\n", 'type' => 'string', 'example' => '2:3'],
'Confidence' => ['title' => '', 'description' => 'The confidence score. Valid values: 0 to 1. A higher score indicates greater confidence in the result.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.742'],
'Boundary' => ['title' => '', 'description' => 'The boundary of the cropping.'."\n", '$ref' => '#/components/schemas/Boundary', 'example' => ''],
],
'example' => '',
],
'CustomParams' => [
'title' => '',
'description' => 'The custom parameters for model training.'."\n",
'type' => 'object',
'properties' => [
'Properties' => [
'title' => '',
'description' => 'The properties.'."\n",
'type' => 'array',
'items' => ['description' => 'The information about the properties.'."\n", '$ref' => '#/components/schemas/Property', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Properties',
'example' => '',
],
'Name' => ['title' => '', 'description' => 'The name of the parameter.'."\n", 'type' => 'string', 'example' => 'Normalize', 'visibility' => 'Public', 'backendName' => 'Name'],
],
'visibility' => 'Public',
'example' => '',
],
'DataIngestion' => [
'title' => '',
'description' => 'A data ingestion instance.',
'type' => 'object',
'properties' => [
'Id' => ['title' => '', 'description' => 'The unique ID of the data ingestion.', 'type' => 'string', 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27bfe****'],
'Input' => ['title' => '', 'description' => 'The data source information.', '$ref' => '#/components/schemas/Input', 'example' => ''],
'Actions' => [
'title' => '',
'description' => 'A list of processing templates.',
'type' => 'array',
'items' => [
'description' => 'The template information.',
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'The template name.', 'type' => 'string', 'example' => 'doc/convert'],
'Parameters' => [
'title' => '',
'description' => 'The template parameters.',
'type' => 'array',
'items' => ['description' => 'A template parameter.', 'type' => 'string', 'example' => 'pages=3', 'title' => ''],
'example' => '',
],
'FastFailPolicy' => ['title' => '', 'description' => 'The configuration of the fast-fail policy for data processing.', '$ref' => '#/components/schemas/FastFailPolicy', 'example' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Notification' => [
'title' => '',
'description' => 'The notification for task completion.',
'type' => 'object',
'properties' => [
'Endpoint' => ['title' => '', 'description' => 'The MNS Endpoint.', 'type' => 'string', 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com'],
'Topic' => ['title' => '', 'description' => 'The MNS topic.', 'type' => 'string', 'example' => 'topic1'],
'MNS' => ['title' => '', 'description' => 'MNS', '$ref' => '#/components/schemas/MNS', 'example' => ''],
'RocketMQ' => ['title' => '', 'description' => 'RocketMQ', '$ref' => '#/components/schemas/RocketMQ', 'example' => ''],
],
'example' => '',
],
'Statistic' => [
'title' => '',
'description' => 'The statistics information.',
'type' => 'object',
'properties' => [
'SubmitSuccess' => ['title' => '', 'description' => 'The number of successful submissions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'SubmitFailure' => ['title' => '', 'description' => 'The number of failed submissions.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'SkipFiles' => ['title' => '', 'description' => 'The number of skipped files.', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
'example' => '',
],
'State' => ['title' => '', 'description' => 'The state of the batch processing task:'."\n"
."\n"
.'- Ready: The task is ready. A newly created task is in the Ready state.'."\n"
."\n"
.'- Running: The task is running. This is the state of a task that is executing normally.'."\n"
."\n"
.'- Failed: The task failed. An error occurred during task execution, and the task cannot be automatically recovered.'."\n"
."\n"
.'- Suspended: The task is paused.'."\n"
."\n"
.'- Succeeded: The task is complete.', 'type' => 'string', 'example' => 'Succeeded'],
'Marker' => ['title' => '', 'description' => 'The task execution position.', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****'],
'CreateTime' => ['title' => '', 'description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2020-11-10T03:50:28Z'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the task was last updated.', 'type' => 'string', 'example' => '2021-12-18T07:40:29Z'],
'Tags' => ['title' => '', 'description' => 'The task tags.', 'type' => 'object', 'example' => ''],
'Error' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'api returns error: SDKError: StatusCode: 404 Code: ResourceNotFound'],
'Phase' => ['title' => '', 'description' => 'The scanning phase.', 'type' => 'string', 'example' => 'IncrementalScanning'],
'ServiceRole' => ['title' => '', 'description' => 'The service authorization role.', 'type' => 'string', 'example' => 'AliyunIMMBatchTriggerRole'],
],
'example' => '',
],
'Dataset' => [
'title' => '',
'description' => 'The dataset information.',
'type' => 'object',
'properties' => [
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'immtest'],
'DatasetName' => ['title' => '', 'description' => 'The dataset name.', 'type' => 'string', 'example' => 'dataset001'],
'TemplateId' => ['title' => '', 'description' => 'The workflow template ID.', 'type' => 'string', 'example' => 'Official:ImageManagement'],
'CreateTime' => ['title' => '', 'description' => 'The timestamp when the dataset was created, in RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'UpdateTime' => ['title' => '', 'description' => 'The timestamp when the dataset was last modified, in RFC3339Nano format.'."\n"
."\n"
.'>If the dataset has not been updated since it was created, this timestamp is the same as the creation timestamp.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'Description' => ['title' => '', 'description' => 'The description of the dataset.', 'type' => 'string', 'example' => '测试数据集'],
'DatasetMaxBindCount' => ['title' => '', 'description' => 'The maximum number of bindings allowed for each dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'DatasetMaxFileCount' => ['title' => '', 'description' => 'The maximum number of files allowed in the dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000'],
'DatasetMaxEntityCount' => ['title' => '', 'description' => 'The maximum number of metadata entities allowed in the dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000000000'],
'DatasetMaxRelationCount' => ['title' => '', 'description' => 'The maximum number of metadata relationships allowed in the dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000000'],
'DatasetMaxTotalFileSize' => ['title' => '', 'description' => 'The maximum total file size allowed in the dataset, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '90000000000000000'],
'BindCount' => ['title' => '', 'description' => 'The number of OSS buckets currently bound to the dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'FileCount' => ['title' => '', 'description' => 'The current number of files in the dataset.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'TotalFileSize' => ['title' => '', 'description' => 'The total file size in the dataset, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
'WorkflowParameters' => [
'title' => '',
'description' => 'The custom parameters.',
'type' => 'array',
'items' => ['description' => 'The custom parameter struct.', '$ref' => '#/components/schemas/WorkflowParameter', 'title' => '', 'example' => ''],
'deprecated' => true,
'example' => '',
],
],
'example' => '',
],
'DatasetConfig' => [
'description' => 'The dataset configuration.',
'type' => 'object',
'properties' => [
'Insights' => ['title' => '', 'description' => 'The content awareness configuration.', 'example' => '', '$ref' => '#/components/schemas/InsightsConfig'],
'SmartCluster' => ['description' => 'The intelligent clustering configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SmartClusterConfig'],
'ReverseImage' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ReverseImageConfig'],
],
'title' => '',
'example' => '',
],
'DatasetTaskStatus' => [
'title' => '',
'description' => 'The information about the dataset task.'."\n",
'type' => 'object',
'properties' => [
'Status' => ['title' => '', 'description' => 'The status of the task.'."\n", 'type' => 'string', 'example' => 'Succeeded'],
'LastSucceededTime' => ['title' => '', 'description' => 'The time of the last completion.'."\n", 'type' => 'string', 'example' => '2024-06-29T14:50:13.011643661+08:00'],
'StartTime' => ['title' => '', 'description' => 'The start time of the task.'."\n", 'type' => 'string', 'example' => '2024-06-29T14:50:13.011643661+08:00'],
],
'example' => '',
],
'DocumentChapterSummarizeOption' => [
'description' => 'The article section-by-section summary options.',
'type' => 'object',
'properties' => [
'Marker' => ['description' => 'The start position for section-by-section summarization.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'],
'Limit' => ['description' => 'The number of section-by-section summaries. If neither Marker nor Index is specified, the entire article is summarized by default. Marker and Index must either both be specified or both be omitted.', 'type' => 'integer', 'title' => '', 'example' => '5', 'format' => 'int32'],
'Version' => ['description' => 'The version of section-by-section summarization.', 'type' => 'string', 'title' => '', 'example' => 'v1'],
],
'title' => '',
'example' => '',
],
'DocumentParseKeywordOption' => [
'type' => 'object',
'properties' => [
'Extract' => ['title' => '', 'description' => 'Specifies whether to extract keywords.', 'type' => 'boolean', 'example' => ''],
'Count' => ['title' => '', 'description' => 'The number of keywords to extract. The value must be an integer from 0 to 10.', 'type' => 'integer', 'example' => '1', 'format' => 'int32'],
],
'description' => 'Options for extracting keywords from a document.',
'title' => '',
'example' => '',
],
'DocumentParseNarratorOption' => [
'type' => 'object',
'properties' => [
'Narrate' => ['title' => '', 'description' => 'The summary of the document.', 'type' => 'boolean', 'example' => ''],
],
'description' => 'Document parsing narrator options',
'title' => '',
'example' => '',
],
'DocumentParseOption' => [
'type' => 'object',
'properties' => [
'Narrator' => ['description' => 'Document parsing guidance options', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentParseNarratorOption'],
'Summary' => ['description' => 'Document parsing summary options', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentParseSummaryOption'],
'Question' => ['description' => 'Document parsing question generation options', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentParseQuestionOption'],
'Keyword' => ['description' => 'Document parsing keyword extraction options', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentParseKeywordOption'],
],
'description' => 'Document parsing options',
'title' => '',
'example' => '',
],
'DocumentParseQuestionOption' => [
'type' => 'object',
'properties' => [
'Extract' => ['title' => '', 'description' => 'Whether to extract', 'type' => 'boolean', 'example' => ''],
'Count' => ['title' => '', 'description' => 'Number of questions (range: 0 to 10)', 'type' => 'integer', 'example' => '1', 'format' => 'int32'],
],
'description' => 'Options for generating questions during document parsing',
'title' => '',
'example' => '',
],
'DocumentParseSummaryOption' => [
'type' => 'object',
'properties' => [
'Summarize' => ['title' => '', 'description' => 'Article summary', 'type' => 'boolean', 'example' => ''],
'ChapterSummarize' => ['title' => '', 'description' => 'Document chapter summary', 'type' => 'boolean', 'example' => ''],
],
'description' => 'Document parsing summary options',
'title' => '',
'example' => '',
],
'DocumentReadKeywordOption' => [
'description' => 'The keyword extraction options for document intensive reading.',
'type' => 'object',
'properties' => [
'Extract' => ['description' => 'Specifies whether to extract keywords.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'Count' => ['description' => 'The number of keywords. Valid values: 0 to 10.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'DocumentReadNarratorOption' => [
'description' => 'The document intensive reading guide options.',
'type' => 'object',
'properties' => [
'Narrate' => ['description' => 'Specifies whether to fetch.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'DocumentReadOption' => [
'description' => 'The document intensive reading options.',
'type' => 'object',
'properties' => [
'Summary' => ['description' => 'The document intensive reading summary options.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentReadSummaryOption'],
'Narrator' => ['description' => 'The document intensive reading guide options.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentReadNarratorOption'],
'Question' => ['description' => 'The document intensive reading question guide options.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentReadQuestionOption'],
'Keyword' => ['description' => 'The document intensive reading keyword extraction options.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentReadKeywordOption'],
],
'title' => '',
'example' => '',
],
'DocumentReadSummaryOption' => [
'description' => 'The document intensive reading summary options.',
'type' => 'object',
'properties' => [
'Summarize' => ['description' => 'Specifies whether to extract the article summary.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'ChapterSummarize' => ['description' => 'Specifies whether to extract the chapter-level summary of the article.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'ChapterSummarizeOption' => ['description' => 'The chapter-level summary options for the article.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentChapterSummarizeOption'],
],
'title' => '',
'example' => '',
],
'Element' => [
'title' => '',
'description' => 'The element information generated via document analytics.'."\n",
'type' => 'object',
'properties' => [
'ElementContents' => [
'title' => '',
'description' => 'The element contents.'."\n",
'type' => 'array',
'items' => ['description' => 'The element content.'."\n", '$ref' => '#/components/schemas/ElementContent', 'title' => '', 'example' => ''],
'example' => '',
],
'ObjectId' => ['description' => 'The unique ID of the element.'."\n", 'type' => 'string', 'title' => '', 'example' => 'id1'],
'ElementType' => ['description' => 'The element type.'."\n", 'type' => 'string', 'title' => '', 'example' => 'title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文'],
'SemanticSimilarity' => ['description' => 'The similarity between the current file and its extracted semantics.'."\n", 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0.8'],
'ElementRelations' => [
'title' => '',
'description' => 'The relationships between the current element and other elements.'."\n",
'type' => 'array',
'items' => ['description' => 'The relationship structure between the current element and other elements.'."\n", '$ref' => '#/components/schemas/ElementRelation', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
'ElementContent' => [
'title' => '',
'description' => 'The element content generated via document analytics.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The type of the element content.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'* text'."\n"
.'* image'."\n"
.'* link'."\n", 'type' => 'string', 'title' => '', 'example' => 'text'],
'Content' => ['description' => 'The content of the element.'."\n"
."\n"
.'If the value of the Type parameter is image or link, this parameter indicates the placeholder text.'."\n", 'type' => 'string', 'title' => '', 'example' => '文本片段'],
'URL' => ['description' => 'The link to the element content. This parameter takes effect only if the Type parameter is set to image or link.'."\n", 'type' => 'string', 'title' => '', 'example' => 'http://aliyun.com'],
'TimeRange' => [
'title' => '',
'description' => 'The time range. The array length is fixed to 2. One element indicates the start time and the other one indicates the end time. Unit: milliseconds.'."\n",
'type' => 'array',
'items' => ['description' => 'The time range.'."\n", 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '500'],
'example' => '',
],
],
'example' => '',
],
'ElementRelation' => [
'title' => '',
'description' => 'The relationship between the current element and another element.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['title' => '', 'description' => 'The type.'."\n", 'type' => 'string', 'example' => 'child,parent', 'visibility' => 'Public', 'backendName' => 'Type'],
'ObjectId' => ['title' => '', 'description' => 'The ID of the element.'."\n", 'type' => 'string', 'example' => 'id1', 'visibility' => 'Public', 'backendName' => 'ObjectId'],
],
'visibility' => 'Public',
'example' => '',
],
'FastFailPolicy' => [
'title' => '',
'description' => 'The on-error policy.'."\n",
'type' => 'object',
'properties' => [
'Action' => [
'title' => '',
'description' => 'The action when the batch processor or trigger encounters an error.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* abort: stops running.'."\n"
.'* ignore: ignores the error and keeps running.'."\n",
'type' => 'string',
'enumValueTitles' => ['abort' => '遇到错误停止运行', 'ignore' => '忽略错误继续执行'],
'example' => 'abort',
'visibility' => 'Public',
'backendName' => 'Action',
],
],
'visibility' => 'Public',
'example' => '',
],
'Figure' => [
'title' => '',
'description' => 'The figure information.',
'type' => 'object',
'properties' => [
'FigureId' => ['title' => '', 'description' => 'The ID of the figure object.', 'type' => 'string', 'example' => '868a9e74-cde5-4c7a-9013-28bb984****'],
'FigureConfidence' => ['title' => '', 'description' => 'The confidence score of the figure object. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'FigureClusterId' => ['title' => '', 'description' => 'The figure cluster ID. The following reserved special cluster ID names are included:'."\n"
."\n"
.'- figure-cluster-id-independent: The face does not currently belong to any suitable group. After new images are added to the dataset and face clustering is performed, the face may be assigned to a group.'."\n"
."\n"
.'- figure-cluster-id-unavailable: The face has not been clustered yet. This means that after new images were added to the dataset, face clustering has not been performed.', 'type' => 'string', 'example' => 'Cluster-dbe72fec-b84c-4ab6-885b-3678e64****'],
'FigureClusterConfidence' => ['title' => '', 'description' => 'The clustering confidence score. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'FigureType' => [
'title' => '',
'description' => 'The figure type.',
'enumValueTitles' => ['face' => '人脸'],
'type' => 'string',
'example' => 'face',
],
'Age' => ['title' => '', 'description' => 'The age.', 'type' => 'integer', 'format' => 'int64', 'example' => '29'],
'AgeSD' => ['title' => '', 'description' => 'The age standard deviation.', 'type' => 'number', 'format' => 'float', 'example' => '5'],
'Gender' => [
'title' => '',
'description' => 'The gender.',
'enumValueTitles' => ['female' => '女性', 'male' => '男性'],
'type' => 'string',
'example' => 'female',
],
'GenderConfidence' => ['title' => '', 'description' => 'The gender confidence score. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Emotion' => [
'title' => '',
'description' => 'The emotion.',
'enumValueTitles' => ['happiness' => '开心', 'none' => '无'],
'type' => 'string',
'example' => 'happiness',
],
'EmotionConfidence' => ['title' => '', 'description' => 'The emotion confidence score. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '0.707845687866210'],
'FaceQuality' => ['title' => '', 'description' => 'The face quality score, which evaluates whether the image quality is suitable for face recognition. A higher score indicates better quality. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'float', 'example' => '0.960875928401947'],
'Boundary' => ['title' => '', 'description' => 'The face boundary information.', '$ref' => '#/components/schemas/Boundary', 'example' => ''],
'Mouth' => [
'title' => '',
'description' => 'Indicates whether the mouth is open.',
'enumValueTitles' => ['close' => '否', 'open' => '是'],
'type' => 'string',
'example' => 'close',
],
'MouthConfidence' => ['title' => '', 'description' => 'The confidence score for whether the mouth is open. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Beard' => [
'title' => '',
'description' => 'Indicates whether the person has a beard.',
'enumValueTitles' => ['beard' => '是', 'none' => '否'],
'type' => 'string',
'example' => 'none',
],
'BeardConfidence' => ['title' => '', 'description' => 'The confidence score for whether the person has a beard. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Hat' => [
'title' => '',
'description' => 'Indicates whether the person is wearing a hat.',
'enumValueTitles' => ['hat' => '是', 'none' => '否'],
'type' => 'string',
'example' => 'none',
],
'HatConfidence' => ['title' => '', 'description' => 'The confidence score for whether the person is wearing a hat. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Mask' => [
'title' => '',
'description' => 'Indicates whether the person is wearing a mask.',
'enumValueTitles' => ['none' => '否', 'mask' => '是'],
'type' => 'string',
'example' => 'none',
],
'MaskConfidence' => ['title' => '', 'description' => 'The confidence score for whether the person is wearing a mask. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '1'],
'Glasses' => [
'title' => '',
'description' => 'Indicates whether the person is wearing glasses.',
'enumValueTitles' => ['glasses' => '戴眼镜', 'sunglasses' => '戴太阳镜', 'none' => '否'],
'type' => 'string',
'example' => 'none',
],
'GlassesConfidence' => ['title' => '', 'description' => 'The confidence score for whether the person is wearing glasses. Valid values: 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '0.8'],
'Sharpness' => ['title' => '', 'description' => 'The sharpness score. A higher score indicates a clearer face. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'float', 'example' => '0.7'],
'Attractive' => ['title' => '', 'description' => 'The face attractiveness score. A higher score indicates greater attractiveness. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'float', 'example' => '0.96'],
'HeadPose' => ['description' => 'The head pose information.', '$ref' => '#/components/schemas/HeadPose', 'title' => '', 'example' => ''],
],
'example' => '',
],
'FigureCluster' => [
'title' => '',
'description' => 'The information about the clustering task.'."\n",
'type' => 'object',
'properties' => [
'OwnerId' => ['title' => '', 'description' => 'The user ID.'."\n", 'type' => 'string', 'example' => '102321002****'],
'ProjectName' => ['title' => '', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'example' => 'immtest'],
'DatasetName' => ['title' => '', 'description' => 'The name of the dataset.'."\n", 'type' => 'string', 'example' => 'dataset001'],
'ObjectType' => ['title' => '', 'description' => 'The type of the cluster.'."\n", 'type' => 'string', 'example' => 'figure-cluster'],
'ObjectId' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'example' => 'Cluster-ae6e3472-999e-410b-b54e-cd5dba****'],
'UpdateTime' => ['title' => '', 'description' => 'The update time.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:10:52.83948013+08:00'],
'CreateTime' => ['title' => '', 'description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:10:52.83948013+08:00'],
'Name' => ['title' => '', 'description' => 'The name of the cluster.'."\n", 'type' => 'string', 'example' => 'abc'],
'Gender' => ['title' => '', 'description' => 'The gender.'."\n", 'type' => 'string', 'example' => 'female'],
'FaceCount' => ['title' => '', 'description' => 'The number of faces.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'ImageCount' => ['title' => '', 'description' => 'The number of images.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'VideoCount' => ['title' => '', 'description' => 'The number of videos.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
'AverageAge' => ['title' => '', 'description' => 'The average age.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '26'],
'MinAge' => ['title' => '', 'description' => 'The minimum age.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '12'],
'MaxAge' => ['title' => '', 'description' => 'The maximum age.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '44'],
'Cover' => ['title' => '', 'description' => 'The cover image.'."\n", '$ref' => '#/components/schemas/File', 'example' => ''],
'CustomId' => ['title' => '', 'description' => 'The custom ID.'."\n", 'type' => 'string', 'example' => 'abc'],
'CustomLabels' => ['title' => '', 'description' => 'The custom labels. You can search for clusters by label.'."\n", 'type' => 'object', 'example' => '{"Bucket": "examplebucket"}'],
'MetaLockVersion' => ['title' => '', 'description' => 'The version of the metadata lock. A metadata lock version can be obtained by using a get or list operation. If you include the MetaLockVersion parameter in a request to update the cluster, the server checks consistency between the MetaLockVersion parameter value sent in the request and the one on the server side and updates the cluster only when they are consistent. This parameter prevents update conflicts in concurrent scenarios. The initial version is 0. The version is automatically increased by 1 after each successful update.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
'example' => '',
],
'FigureClusterConfig' => [
'type' => 'object',
'properties' => [
'AutoClustering' => ['description' => 'Whether to automatically group similar figures into clusters.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'AutoGenerate' => ['description' => 'Whether to automatically generate metadata for each cluster, such as a representative cover image.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'MinEntityCount' => ['description' => 'The minimum number of figures required to form a cluster.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
'EnabledFeatures' => [
'type' => 'array',
'items' => ['description' => 'The clustering strategy. Valid values are `metadata-based clustering` and `time-based clustering`.', 'type' => 'string', 'title' => '', 'example' => ''],
'description' => 'An array of strings specifying the clustering strategies to use.',
'title' => '',
'example' => '',
],
],
'description' => 'Configuration for figure clustering.',
'title' => '',
'example' => '',
],
'FigureClusterForReq' => [
'description' => 'The information required to update a figure cluster.',
'title' => '',
'type' => 'object',
'properties' => [
'ObjectId' => ['description' => 'The object ID of the cluster.', 'type' => 'string', 'title' => '', 'example' => 'Cluster-99b1c333-86dc-45da-8c6****'],
'Name' => ['description' => 'The cluster name.', 'type' => 'string', 'title' => '', 'example' => 'abc'],
'Cover' => [
'description' => 'The cover of the cluster.',
'title' => '',
'type' => 'object',
'properties' => [
'Figures' => [
'description' => 'The figure list.',
'title' => '',
'type' => 'array',
'items' => [
'description' => 'A figure object in the figure list.',
'type' => 'object',
'properties' => [
'FigureId' => ['description' => 'The figure ID.', 'type' => 'string', 'title' => '', 'example' => '2cb3c51e-b406-4b0c-af1b-897d88e1****'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'CustomId' => ['description' => 'The custom ID.', 'type' => 'string', 'title' => '', 'example' => 'abc'],
'CustomLabels' => ['description' => 'A key-value map of custom labels that can be used to search for the figure cluster.', 'type' => 'object', 'title' => '', 'example' => '{"Bucket": "examplebucket"}'],
'MetaLockVersion' => ['description' => 'The metadata lock version. This parameter enables optimistic locking to prevent conflicting updates during high concurrency. To ensure data consistency, pass the current MetaLockVersion value when updating a figure cluster. You can retrieve this value from a Get or List operation. The service proceeds with the update only if the provided version matches the system\'s current version. The initial value is 0 and is incremented by 1 after each successful update.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int64'],
],
'example' => '',
],
'File' => [
'title' => '',
'description' => 'The file\'s metadata.',
'type' => 'object',
'properties' => [
'OwnerId' => ['title' => '', 'description' => 'The ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '102321002467****'],
'ProjectName' => ['title' => '', 'description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'example' => 'test-project'],
'DatasetName' => ['title' => '', 'description' => 'The dataset name. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'example' => 'test-dataset'],
'ObjectType' => ['title' => '', 'description' => 'The type of the object. The value is always **file**.', 'type' => 'string', 'example' => 'file'],
'ObjectId' => ['title' => '', 'description' => 'The unique ID of the object.', 'type' => 'string', 'example' => '75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the metadata was last updated. The time is in the RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'CreateTime' => ['title' => '', 'description' => 'The time when the metadata was created. The time is in the RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'URI' => ['title' => '', 'description' => 'The address of the file.'."\n"
."\n"
.'An OSS URI must be in the `oss://${Bucket}/${Object}` format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the full path to the object, including the file extension.'."\n"
."\n"
.'A PDS URI must be in the `pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision}` format.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object.jpg'],
'OSSURI' => ['title' => '', 'description' => 'The URI of the OSS file. This parameter is returned only if the URI is a PDS address.', 'type' => 'string', 'example' => 'oss://examplebucket/sampleobject.jpg'],
'Filename' => ['title' => '', 'description' => 'The name of the file. For an OSS object, this parameter is the ObjectKey.', 'type' => 'string', 'example' => 'sampleobject.jpg'],
'MediaType' => [
'title' => '',
'description' => 'The media type of the file.',
'enumValueTitles' => ['image' => '', 'other' => '', 'document' => '', 'archive' => '', 'audio' => '', 'video' => ''],
'type' => 'string',
'example' => 'image',
],
'ContentType' => ['title' => '', 'description' => 'The content type of the file (MIME type).', 'type' => 'string', 'example' => 'image/jpeg'],
'Size' => ['title' => '', 'description' => 'The size of the file, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
'FileHash' => ['title' => '', 'description' => 'The hash of the file.', 'type' => 'string', 'example' => '1d9c280a7c4f67f7ef873e28449dbe17'],
'FileModifiedTime' => ['title' => '', 'description' => 'The time when the file was last modified. The time is in the RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'FileCreateTime' => ['title' => '', 'description' => 'The time when the file was created. The time is in the RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'FileAccessTime' => ['title' => '', 'description' => 'The time when the file was last accessed. The time is in the RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'ProduceTime' => ['title' => '', 'description' => 'The time when the photo was taken.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'LatLong' => ['title' => '', 'description' => 'The GPS latitude and longitude.', 'type' => 'string', 'example' => '30.134390,120.074997'],
'Timezone' => ['title' => '', 'description' => 'The timezone.'."\n"
."\n"
.'> This feature is not supported.', 'type' => 'string', 'example' => '""'],
'Addresses' => [
'title' => '',
'description' => 'The address information.',
'type' => 'array',
'items' => ['description' => 'The address information.', '$ref' => '#/components/schemas/Address', 'title' => '', 'example' => ''],
'example' => '',
],
'TravelClusterId' => ['title' => '', 'description' => 'A reserved parameter.'."\n"
."\n"
.'> This feature is not supported.', 'type' => 'string', 'example' => '-'],
'Orientation' => ['title' => '', 'description' => 'The rotation value of the image, read from its EXIF data.'."\n"
."\n"
.'This parameter is returned only if this value is available in the EXIF data.', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Figures' => [
'title' => '',
'description' => 'A list of figures detected by the AI model.',
'type' => 'array',
'items' => ['description' => 'The information about the figure.', '$ref' => '#/components/schemas/Figure', 'title' => '', 'example' => ''],
'example' => '',
],
'FigureCount' => ['title' => '', 'description' => 'The number of figures.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Labels' => [
'title' => '',
'description' => 'A list of AI-detected labels for the file.',
'type' => 'array',
'items' => ['description' => 'The information about the file label.', '$ref' => '#/components/schemas/Label', 'title' => '', 'example' => ''],
'example' => '',
],
'Title' => ['title' => '', 'description' => 'The title of the file.', 'type' => 'string', 'example' => 'test'],
'ImageWidth' => ['title' => '', 'description' => 'The width of the image, in pixels (px).', 'type' => 'integer', 'format' => 'int64', 'example' => '270'],
'ImageHeight' => ['title' => '', 'description' => 'The height of the image, in pixels (px).', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
'EXIF' => ['title' => '', 'description' => 'The original EXIF information of the image, stored as a serialized JSON object. For more information, see [Obtain image information](~~44975~~).', 'type' => 'string', 'example' => '{"Compression":{"value":"6"},"DateTime":{"value":"2020:08:19 17:11:11"}}'],
'ImageScore' => ['description' => 'The image score information, detected by an AI model.', '$ref' => '#/components/schemas/ImageScore', 'title' => '', 'example' => ''],
'CroppingSuggestions' => [
'title' => '',
'description' => 'The cropping suggestions for the image.'."\n"
."\n"
.'> This feature is not supported.',
'type' => 'array',
'items' => ['description' => 'A cropping suggestion for the image.', '$ref' => '#/components/schemas/CroppingSuggestion', 'title' => '', 'example' => ''],
'example' => '',
],
'OCRContents' => [
'title' => '',
'description' => 'The OCR results.'."\n"
."\n"
.'> This feature is not supported.',
'type' => 'array',
'items' => ['description' => 'The OCR results.', '$ref' => '#/components/schemas/OCRContents', 'title' => '', 'example' => ''],
'example' => '',
],
'VideoWidth' => ['title' => '', 'description' => 'The width of the video, in pixels (px).', 'type' => 'integer', 'format' => 'int64', 'example' => '1080'],
'VideoHeight' => ['title' => '', 'description' => 'The height of the video, in pixels (px).', 'type' => 'integer', 'format' => 'int64', 'example' => '1920'],
'VideoStreams' => [
'title' => '',
'description' => 'A list of video streams.',
'type' => 'array',
'items' => ['description' => 'A video stream.', '$ref' => '#/components/schemas/VideoStream', 'title' => '', 'example' => ''],
'example' => '',
],
'Subtitles' => [
'title' => '',
'description' => 'A list of subtitle streams.',
'type' => 'array',
'items' => ['description' => 'A subtitle stream.', '$ref' => '#/components/schemas/SubtitleStream', 'title' => '', 'example' => ''],
'example' => '',
],
'AudioStreams' => [
'title' => '',
'description' => 'A list of audio streams.',
'type' => 'array',
'items' => ['description' => 'An audio stream.', '$ref' => '#/components/schemas/AudioStream', 'title' => '', 'example' => ''],
'example' => '',
],
'Artist' => ['title' => '', 'description' => 'The artist.', 'type' => 'string', 'example' => 'Jane'],
'AlbumArtist' => ['title' => '', 'description' => 'The album artist.', 'type' => 'string', 'example' => 'Jane'],
'AudioCovers' => [
'title' => '',
'description' => 'The cover images for the audio.',
'type' => 'array',
'items' => ['description' => 'A cover image for the audio.', '$ref' => '#/components/schemas/Image', 'title' => '', 'example' => ''],
'example' => '',
],
'Composer' => ['title' => '', 'description' => 'The composer.', 'type' => 'string', 'example' => 'Jane'],
'Performer' => ['title' => '', 'description' => 'The performer.', 'type' => 'string', 'example' => 'Jane'],
'Language' => ['title' => '', 'description' => 'The language in BCP 47 format.', 'type' => 'string', 'example' => 'eng'],
'Album' => ['title' => '', 'description' => 'The album.', 'type' => 'string', 'example' => 'FirstAlbum'],
'PageCount' => ['title' => '', 'description' => 'The number of pages.'."\n"
."\n"
.'> This feature is not supported.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'ETag' => ['title' => '', 'description' => 'An ETag is generated when an object is created. The ETag identifies the content of an object.', 'type' => 'string', 'example' => '"1D9C280A7C4F67F7EF873E28449****"'],
'CacheControl' => ['title' => '', 'description' => 'The web cache behavior that the browser should use when the object is downloaded.'."\n"
."\n"
.'This parameter is returned only if the Cache-Control HTTP header is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'string', 'example' => 'no-cache'],
'ContentDisposition' => ['title' => '', 'description' => 'The name of the object when it is downloaded.'."\n"
."\n"
.'This parameter is returned only if the Content-Disposition HTTP header is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'string', 'example' => 'attachment; filename =test.jpg'],
'ContentEncoding' => ['title' => '', 'description' => 'The content encoding format of the object when it is downloaded.'."\n"
."\n"
.'This parameter is returned only if the Content-Encoding HTTP header is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'string', 'example' => 'UTF-8'],
'ContentLanguage' => ['title' => '', 'description' => 'The language of the object content.'."\n"
."\n"
.'This parameter is returned only if the Content-Language HTTP header is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'string', 'example' => 'zh-CN'],
'AccessControlAllowOrigin' => ['title' => '', 'description' => 'The allowed origins for cross-origin requests.', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'AccessControlRequestMethod' => ['title' => '', 'description' => 'The allowed methods for the cross-origin request.', 'type' => 'string', 'example' => 'PUT'],
'ServerSideEncryptionCustomerAlgorithm' => ['title' => '', 'description' => 'The encryption algorithm used for server-side encryption with customer-provided keys.', 'type' => 'string', 'example' => 'SM4'],
'ServerSideEncryption' => ['title' => '', 'description' => 'The server-side encryption method.'."\n"
."\n"
.'This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see [Server-side encryption](~~31871~~).', 'type' => 'string', 'example' => 'AES256'],
'ServerSideDataEncryption' => ['title' => '', 'description' => 'The encryption algorithm of the object.'."\n"
."\n"
.'This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see [Server-side encryption](~~31871~~).', 'type' => 'string', 'example' => 'SM4'],
'ServerSideEncryptionKeyId' => ['title' => '', 'description' => 'The ID of the customer master key (CMK) that is managed by KMS.'."\n"
."\n"
.'This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see [Server-side encryption](~~31871~~).', 'type' => 'string', 'example' => '9468da86-3509-4f8d-a61e-6eab1eac****'],
'OSSStorageClass' => ['title' => '', 'description' => 'The storage class of the OSS object.', 'type' => 'string', 'example' => 'Standard'],
'OSSCRC64' => ['title' => '', 'description' => 'The CRC-64 value of the object.', 'type' => 'string', 'example' => '559890638950338001'],
'ObjectACL' => ['title' => '', 'description' => 'The access control list (ACL) of the OSS object.', 'type' => 'string', 'example' => 'default'],
'ContentMd5' => ['title' => '', 'description' => 'The MD5 hash of the object content.', 'type' => 'string', 'example' => 'HZwoCnxPZ/fvhz4oRJ2+Fw=='],
'OSSUserMeta' => ['title' => '', 'description' => 'The user-defined metadata of the OSS object.'."\n"
."\n"
.'This parameter is returned only if user-defined metadata is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'object', 'example' => '{"key": "val"}'],
'OSSTaggingCount' => ['title' => '', 'description' => 'The number of tags on the OSS object.'."\n"
."\n"
.'This parameter is returned only if tags are set for the OSS object. For more information, see [Object tagging](~~106678~~).', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'OSSTagging' => ['title' => '', 'description' => 'The tags of the OSS object.'."\n"
."\n"
.'For more information, see [Object tagging](~~106678~~).', 'type' => 'object', 'example' => '{"key": "val"}'],
'OSSExpiration' => ['title' => '', 'description' => 'The expiration time of the OSS object.'."\n"
."\n"
.'This parameter is returned only if the Expires HTTP header is set for the OSS object. For more information, see [Manage object metadata](~~31859~~).', 'type' => 'string', 'example' => '2120-01-01T12:00:00.000Z'],
'OSSVersionId' => ['title' => '', 'description' => 'The version ID of the OSS object.'."\n"
."\n"
.'This parameter is returned only if versioning is enabled for the bucket. For more information, see [Overview of versioning](~~109695~~).', 'type' => 'string', 'example' => 'CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****'],
'OSSDeleteMarker' => ['title' => '', 'description' => 'The OSS delete marker.', 'type' => 'string', 'example' => 'CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****'],
'OSSObjectType' => ['title' => '', 'description' => 'The type of the OSS object. A common value is `Normal`.', 'type' => 'string', 'example' => 'Normal'],
'CustomId' => ['title' => '', 'description' => 'The custom ID of the file, which you can use to associate the file with an ID in your business system. When the file is indexed into a dataset, this ID is stored as a metadata attribute. We recommend using a globally unique value.', 'type' => 'string', 'example' => ' '."\n"
.'member-image-id-0001'],
'CustomLabels' => ['title' => '', 'description' => 'Custom key-value labels for the file. This parameter is optional and can be used to store business-specific data and to filter queries.', 'type' => 'object', 'example' => '{'."\n"
.' "MemberName": "Tim",'."\n"
.' "Enabled": "True",'."\n"
.' "ItemCount": "10"'."\n"
.'}'],
'StreamCount' => ['title' => '', 'description' => 'The number of media streams in the media container.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ProgramCount' => ['title' => '', 'description' => 'The number of programs in the media container.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'FormatName' => ['title' => '', 'description' => 'The name of the media format.', 'type' => 'string', 'example' => 'mov'],
'FormatLongName' => ['title' => '', 'description' => 'The full name of the media format.', 'type' => 'string', 'example' => 'QuickTime / MOV'],
'StartTime' => ['title' => '', 'description' => 'The start time of the first frame, in seconds.', 'type' => 'number', 'format' => 'double', 'example' => '0.000000'],
'Bitrate' => ['title' => '', 'description' => 'The bitrate, in bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '13091201'],
'Duration' => ['title' => '', 'description' => 'The total duration of the video, in seconds.', 'type' => 'number', 'format' => 'double', 'example' => '15.263000'],
'SemanticTypes' => [
'title' => '',
'description' => 'Indicates why this file was returned when you use the SemanticQuery API to perform a semantic search.',
'type' => 'array',
'items' => ['description' => 'The reason the current file is returned when you use the SemanticQuery API to perform a semantic search.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- content: The semantic meaning of the document\'s content or image matches the search query.'."\n"
."\n"
.'- text: The text string in the document or the text in the image matches the search query.'."\n"
."\n"
.'- datetime: The creation time of the file matches the search query.'."\n"
."\n"
.'- address: The creation location of the file matches the search query.'."\n"
."\n"
.'- figure: The name of a figure in the file matches the search query.'."\n"
."\n\n"
.' >'."\n"
."\n"
.' More values may be added as the algorithm evolves.'."\n"
."\n"
.' > ', 'type' => 'string', 'title' => '', 'example' => 'content'],
'example' => '',
],
'Elements' => [
'title' => '',
'description' => 'A list of document fragments that match the current search content when you use the SemanticQuery API to perform a semantic search.',
'type' => 'array',
'items' => ['description' => 'The information about the document fragment that matches the current search content.', '$ref' => '#/components/schemas/Element', 'title' => '', 'example' => ''],
'example' => '',
],
'SceneElements' => [
'title' => '',
'description' => 'A list of scene elements extracted from the video by the AI model during analysis.',
'type' => 'array',
'items' => ['description' => 'The information about the scene element.', '$ref' => '#/components/schemas/SceneElement', 'title' => '', 'example' => ''],
'example' => '',
],
'OCRTexts' => ['title' => '', 'description' => 'The text detected in the image.', 'type' => 'string', 'example' => '阿里云IMM'],
'Reason' => ['title' => '', 'description' => 'The reason the file failed to be indexed.', 'type' => 'string', 'example' => '[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****'],
'ObjectStatus' => [
'title' => '',
'description' => 'File index status.',
'enumValueTitles' => ['Failed' => '文件执行索引构建失败。', 'Indexed' => '文件执行索引构建完成。', 'Pending' => '文件已经提交索引任务,准备进入索引构建。', 'Deleting' => '文件处于删除中,此时该文件进入清理阶段,此阶段用户无法对文件进行写操作,如IndexFileMeta、UpdateFileMeta会返回409', 'Indexing' => '文件执行索引构建任务过程中。'],
'type' => 'string',
'example' => 'Indexed',
],
'Insights' => ['description' => 'Summary and description of the file.'."\n"
."\n"
.'> Currently not supported', '$ref' => '#/components/schemas/Insights', 'title' => '', 'example' => ''],
],
'example' => '',
],
'FileSmartCluster' => [
'title' => '',
'description' => 'A short description of struct'."\n",
'type' => 'object',
'properties' => [
'SmartClusterId' => ['title' => '', 'description' => 'SmartClusterId'."\n", 'type' => 'string', 'example' => 'SmartCluster-12cd1645-deae-4b5e-9434-613747b75f6d', 'visibility' => 'Public', 'backendName' => 'SmartClusterId'],
'Similarity' => ['title' => '', 'description' => 'Similarity'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.9', 'visibility' => 'Public', 'backendName' => 'Similarity'],
],
'visibility' => 'Public',
'example' => '',
],
'FunctionCall' => [
'title' => '',
'description' => 'The definition of the function that can be called by the AI assistant.'."\n",
'type' => 'object',
'properties' => [
'Name' => ['title' => '', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'search_file', 'visibility' => 'Public', 'backendName' => 'Name'],
'Arguments' => ['title' => '', 'description' => 'The parameters detected by the large language model.'."\n", 'type' => 'string', 'example' => '{'."\n"
.' "type": "object",'."\n"
.' "name": {'."\n"
.' "type": "string", '."\n"
.' "description": "需要检索的文件的文件名。可以为空 null"'."\n"
.' }, '."\n"
.' "required": ['."\n"
.' "category"'."\n"
.' ]'."\n"
.'}', 'visibility' => 'Public', 'backendName' => 'Arguments'],
],
'visibility' => 'Public',
'example' => '',
],
'GetDocumentAnalysisOption' => [
'description' => 'The options for retrieving document intensive reading results.',
'type' => 'object',
'properties' => [
'Summary' => ['description' => 'Specifies whether to retrieve the full-text summary.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'Question' => ['description' => 'Specifies whether to retrieve the generated questions and corresponding answers.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Keyword' => ['description' => 'Specifies whether to retrieve keywords.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Narrator' => ['description' => 'Specifies whether to retrieve the document reading guide results.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Layouts' => ['description' => 'Specifies whether to retrieve the layout.jsonl file.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Images' => ['description' => 'Specifies whether to retrieve images extracted from the document, such as pictures, tables, and formulas.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'ChapterSummaryOption' => ['description' => 'The options for retrieving chapter-by-chapter summaries of the document.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/DocumentChapterSummarizeOption'],
'ChapterSummary' => ['description' => 'Specifies whether to retrieve chapter-by-chapter summaries of the document.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
],
'title' => '',
'example' => '',
],
'GetVideoAnalysisOption' => [
'description' => 'The options for retrieving video intensive reading results.',
'type' => 'object',
'properties' => [
'Summary' => ['description' => 'Specifies whether to retrieve the full-text summary.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Question' => ['description' => 'Specifies whether to retrieve the generated questions and corresponding answers.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Keyword' => ['description' => 'Specifies whether to retrieve keywords.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'ChapterSummary' => ['description' => 'Specifies whether to retrieve the chapter-based summary of the video.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Transcript' => ['description' => 'Specifies whether to retrieve the dialogue in the video. Default value: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'TranscriptSummary' => ['description' => 'Specifies whether to retrieve the summary generated from the dialogue in the video. Default value: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'TranscriptChapterSummary' => ['description' => 'Specifies whether to retrieve the segmented summary generated from the dialogue in the video. Default value: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'PPT' => ['description' => 'Specifies whether to retrieve the PPT from the video. Default value: false.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
],
'title' => '',
'example' => '',
],
'GuidingQuestion' => [
'description' => 'The question guide.',
'type' => 'object',
'properties' => [
'Question' => ['description' => 'The question.', 'type' => 'string', 'title' => '', 'example' => '"为什么将场景文本检测和布局分析统一起来是重要的?"'],
'Answer' => ['description' => 'The answer.', 'type' => 'string', 'title' => '', 'example' => '"将场景文本检测和布局分析统一起来是重要的,因为这两个任务虽然在文献中通常被独立研究,但实际上是紧密相关的。"'],
],
'title' => '',
'example' => '',
],
'HeadPose' => [
'title' => '',
'description' => 'The head orientation information.'."\n",
'type' => 'object',
'properties' => [
'Pitch' => ['title' => '', 'description' => 'The angel of elevation or depression of the head. Unit: degree. Valid values: -180 to 180. A recommended range for reliable results is from -30 to 30.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '18.385589599609375', 'visibility' => 'Public', 'backendName' => 'Pitch'],
'Roll' => ['title' => '', 'description' => 'The angle of the tilt to the side. Unit: degree. Valid values: -180 to 180. A recommended range for reliable results is from -45 to 45.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '4.204030513763428', 'visibility' => 'Public', 'backendName' => 'Roll'],
'Yaw' => ['title' => '', 'description' => 'The angle of leftward or rightward rotation of the head. Unit: degree. Valid values: -180 to 180. A recommended range for reliable results is from -80 to 80.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '2.4945924282073975', 'visibility' => 'Public', 'backendName' => 'Yaw'],
],
'visibility' => 'Public',
'example' => '',
],
'Hyperparameters' => [
'title' => '',
'description' => 'The hyperparameters.'."\n",
'type' => 'object',
'properties' => [
'BatchSize' => ['title' => '', 'description' => 'The batch size for model training.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'visibility' => 'Public', 'backendName' => 'BatchSize'],
'InputSize' => [
'title' => '',
'description' => 'The image size. The array contains the width and height of the image.'."\n",
'type' => 'array',
'items' => ['description' => 'The image size. The array contains the width and height of the image.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '640', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''],
'required' => true,
'visibility' => 'Public',
'backendName' => 'InputSize',
'example' => '',
],
'Schedule' => ['description' => 'The learning rate scheduler.'."\n", '$ref' => '#/components/schemas/Schedule', 'visibility' => 'Public', 'backendName' => 'Schedule', 'title' => '', 'example' => ''],
'MaxEpoch' => ['title' => '', 'description' => 'The number of epochs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'MaxEpoch'],
'Evaluator' => ['description' => 'The custom parameters for model training.'."\n", 'required' => true, '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'backendName' => 'Evaluator', 'title' => '', 'example' => ''],
'DataLoaderWorkers' => ['title' => '', 'description' => 'The number of threads used to read the training data.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'visibility' => 'Public', 'backendName' => 'DataLoaderWorkers'],
'Optimization' => ['description' => 'The optimization algorithm.'."\n", '$ref' => '#/components/schemas/Optimization', 'visibility' => 'Public', 'backendName' => 'Optimization', 'title' => '', 'example' => ''],
'BackupInterval' => ['title' => '', 'description' => 'The frequency at which the model configuration is saved. If you set this parameter to 1, model configuration is saved every epoch.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'BackupInterval'],
],
'visibility' => 'Public',
'example' => '',
],
'Illustration' => [
'description' => 'The image information in the article.',
'type' => 'object',
'properties' => [
'ImagePath' => ['description' => 'The relative path of the image.', 'type' => 'string', 'title' => '', 'example' => '"imgs/page_0_img_image_box_770_540_1367_860.png"'],
'Text' => ['description' => 'The text result recognized by optical character recognition (OCR) from the image.', 'type' => 'string', 'title' => '', 'example' => '"图片"'],
'Type' => ['description' => 'The type of the image.', 'type' => 'string', 'title' => '', 'example' => 'image、table、code'],
'ImageIndex' => ['description' => 'The index of the image.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'],
'PageNumber' => ['description' => 'The page number where the image is located.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'],
'NormalizedBox' => [
'description' => 'The normalized coordinate of the image on the page.',
'type' => 'array',
'items' => ['description' => 'The normalized coordinate.', 'type' => 'number', 'title' => '', 'example' => '0.5029411911964417', 'format' => 'float'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'Image' => [
'title' => '',
'description' => 'The information about the image.'."\n",
'type' => 'object',
'properties' => [
'ImageWidth' => ['title' => '', 'description' => 'The width of the image. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'visibility' => 'Public', 'backendName' => 'ImageWidth'],
'ImageHeight' => ['title' => '', 'description' => 'The height of the image. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '820', 'visibility' => 'Public', 'backendName' => 'ImageHeight'],
'EXIF' => ['title' => '', 'description' => 'The original EXIF information about the image. The EXIF information is stored in the serialized JSON format. For more information, see [Query image information](~~44975~~).'."\n", 'type' => 'string', 'example' => '{"FileSize":{"value":"29304"},"Format":{"value":"jpg"}}', 'visibility' => 'Public', 'backendName' => 'EXIF'],
'ImageScore' => ['description' => 'The image scoring information.'."\n", '$ref' => '#/components/schemas/ImageScore', 'visibility' => 'Public', 'backendName' => 'ImageScore', 'title' => '', 'example' => ''],
'CroppingSuggestions' => [
'title' => '',
'description' => 'The image cropping suggestions. This parameter is reserved and not available.'."\n",
'type' => 'array',
'items' => ['description' => 'The cropping suggestion.'."\n", '$ref' => '#/components/schemas/CroppingSuggestion', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'CroppingSuggestions',
'itemName' => 'CroppingSuggestions',
'example' => '',
],
'OCRContents' => [
'title' => '',
'description' => 'The results of optical character recognition (OCR). This parameter is reserved and not available.'."\n",
'type' => 'array',
'items' => ['description' => 'The OCR result.'."\n", '$ref' => '#/components/schemas/OCRContents', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'OCRContents',
'itemName' => 'OCRContents',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'ImageInsight' => [
'description' => 'The summary and description of the image.'."\n",
'type' => 'object',
'properties' => [
'Caption' => ['description' => 'Image summary.'."\n"
."\n"
.'> Not supported.'."\n", 'type' => 'string', 'example' => '无。', 'visibility' => 'Public', 'nullable' => true, 'backendName' => 'Caption', 'title' => ''],
'Description' => [
'description' => 'The description of the image.'."\n",
'type' => 'string',
'example' => '图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。',
'visibility' => 'Public',
'nullable' => true,
'backendName' => 'Description',
'valueMapping' => [
'cases' => [],
],
'title' => '',
],
],
'visibility' => 'Public',
'nullable' => true,
'title' => '',
'example' => '',
],
'ImageInsightsCaptionConfig' => [
'description' => 'The image content perception Caption configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether to enable this feature.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'Prompt' => ['description' => 'The prompt.', 'type' => 'string', 'title' => '', 'example' => 'Provide a concise title for this monitoring section, capturing the core subject and key event. Keep the title within 10 characters.'],
],
'title' => '',
'example' => '',
],
'ImageInsightsConfig' => [
'description' => 'The image content recognition configuration.',
'type' => 'object',
'properties' => [
'Caption' => ['description' => 'The image content recognition Caption configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ImageInsightsCaptionConfig'],
],
'title' => '',
'example' => '',
],
'ImageReverseImageConfig' => [
'description' => 'The image-to-image search configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether to enable the feature.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'ImageScore' => [
'title' => '',
'description' => 'The image scoring information.'."\n",
'type' => 'object',
'properties' => [
'OverallQualityScore' => ['title' => '', 'description' => 'The score for the overall image quality. The image is automatically evaluated by AI. The evaluation is mainly based on subjective aesthetics and is affected by various factors, such as composition, brightness, contrast, color, and definition.'."\n"
."\n"
.'Valid values: 0 to 1. A higher value indicates better quality.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.736', 'visibility' => 'Public', 'backendName' => 'OverallQualityScore'],
],
'visibility' => 'Public',
'example' => '',
],
'Input' => [
'title' => '',
'description' => 'The input configuration object for data ingestion.',
'type' => 'object',
'properties' => [
'OSS' => ['description' => 'The OSS data source.', '$ref' => '#/components/schemas/InputOSS', 'title' => '', 'example' => ''],
],
'example' => '',
],
'InputFile' => [
'title' => '',
'description' => 'The file that is used to create or update indexes. For information about how to create indexes, see [IndexFileMeta](~~478166~~). For information about how to update indexes, see [UpdateFileMeta](~~478168~~).'."\n",
'type' => 'object',
'properties' => [
'URI' => ['title' => '', 'description' => 'The URI of the file for which you want to create or update an index in the request. This parameter is required. The URI can represent an object in Object Storage Service (OSS) or a file in Photo and Drive Service.'."\n"
."\n"
.'The OSS URI must be in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that is in the same region as the current project. `${Object}` specifies the full file path that contains the object name extension.'."\n"
."\n"
.'The URI of a file in Photo and Drive Service must be in the `pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision}` format.'."\n"
."\n"
.'> URIs that start with HTTP are not supported.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/test-object'],
'CustomId' => ['title' => '', 'description' => 'The custom ID of the file. This parameter is optional. When the metadata of the file is indexed into the dataset, the custom ID is stored as the data attribute. You can map the custom ID to other data in your business system. You can configure this parameter based on your business requirements. For example, you can associate a URI with an ID in your business system. We recommend that you set this parameter to a unique value.'."\n"
."\n"
.'This parameter supports prefix searches and sorting during queries. For more information, see [Supported fields and operators](~~252856~~).'."\n", 'type' => 'string', 'example' => 'member-image-id-0001'],
'CustomLabels' => ['title' => '', 'description' => 'The custom labels of the file. This parameter is optional. The parameter stores custom key-value labels, which can be used to filter data. For more information, see [Supported fields and operators](~~252856~~).'."\n", 'type' => 'object', 'example' => '{'."\n"
.' "MemberName": "Tim",'."\n"
.' "Enabled": "True",'."\n"
.' "ItemCount": "10"'."\n"
.'}'],
'FileHash' => ['title' => '', 'description' => 'The file hash. In most cases, you can leave this parameter empty. This parameter is required only when the URI parameter specifies a file in Photo and Drive Service.'."\n", 'type' => 'string', 'example' => '1d9c280a7c4f67f7ef873e28449dbe17'],
'OSSURI' => ['title' => '', 'description' => 'The path of the OSS object. In most cases, you can leave this parameter empty. You can specify this parameter only if the URI parameter specifies a file in Photo and Drive Service.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/test-object.jpg'],
'MediaType' => [
'title' => '',
'description' => 'In most cases, you can leave this parameter empty. The media type of the file.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* image'."\n"
.'* other'."\n"
.'* document'."\n"
.'* archive'."\n"
.'* video'."\n"
.'* audio'."\n",
'type' => 'string',
'enumValueTitles' => ['image' => '图片', 'other' => '其他', 'document' => '文档', 'archive' => '压缩包', 'video' => '视频', 'audio' => '音频'],
'example' => 'image',
],
'ContentType' => ['title' => '', 'description' => 'In most cases, you can leave this parameter empty. The Multipurpose Internet Mail Extensions (MIME) type of the file.'."\n", 'type' => 'string', 'example' => 'image/jpeg'],
'Figures' => [
'title' => '',
'description' => 'This parameter is optional. The persons. This parameter is used to remove a face from a face group or modify a face group. For more information, see [Face clustering](~~477175~~).'."\n"
."\n"
.'> This parameter takes effect only for the UpdateFileMeta or BatchUpdateFileMeta operation.'."\n",
'type' => 'array',
'items' => [
'description' => 'The object that stores the person information.'."\n",
'type' => 'object',
'properties' => [
'FigureId' => ['title' => '', 'description' => 'The person ID.'."\n", 'type' => 'string', 'example' => '2cb3c51e-b406-4b0c-af1b-897d88e1****'],
'FigureClusterId' => ['title' => '', 'description' => 'The ID of the face cluster. The following IDs of special face clusters are reserved:'."\n"
."\n"
.'* figure-cluster-id-independent: indicates that the face does not belong to any face cluster. The face may be added to a face cluster in subsequent face clustering tasks after new images are added to the dataset.'."\n"
.'* figure-cluster-id-unavailable: indicates that the face has not been included in a face clustering task since a new image was added to the dataset.'."\n", 'type' => 'string', 'example' => 'Cluster-dbe72fec-b84c-4ab6-885b-3678e64****'."\n"],
'FigureType' => [
'title' => '',
'description' => 'The figure type. Set this parameter to `face`.'."\n",
'type' => 'string',
'enumValueTitles' => ['face' => 'face'],
'example' => 'face',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'LatLong' => ['title' => '', 'description' => 'The GPS latitude and longitude information.'."\n", 'type' => 'string', 'example' => '30.134390,120.074997'],
'ProduceTime' => ['title' => '', 'description' => 'The time when the image was taken.'."\n", 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'Title' => ['title' => '', 'description' => 'The file title.'."\n", 'type' => 'string', 'example' => 'test'],
'Artist' => ['title' => '', 'description' => 'The artist.'."\n", 'type' => 'string', 'example' => 'Jane'],
'AlbumArtist' => ['title' => '', 'description' => 'The album artist.'."\n", 'type' => 'string', 'example' => 'Jane'],
'Composer' => ['title' => '', 'description' => 'The composer.'."\n", 'type' => 'string', 'example' => 'Jane'],
'Performer' => ['title' => '', 'description' => 'The performer.'."\n", 'type' => 'string', 'example' => 'Jane'],
'Album' => ['title' => '', 'description' => 'The album.'."\n", 'type' => 'string', 'example' => 'FirstAlbum'],
'Labels' => [
'title' => '',
'description' => 'The intelligent labels.'."\n",
'type' => 'array',
'items' => ['description' => 'The object that stores information about the intelligent label.'."\n", '$ref' => '#/components/schemas/Label', 'title' => '', 'example' => ''],
'example' => '',
],
'Addresses' => [
'title' => '',
'description' => 'The addresses.'."\n",
'type' => 'array',
'items' => ['description' => 'The address information.'."\n", '$ref' => '#/components/schemas/Address', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
'InputOSS' => [
'title' => '',
'description' => 'The input settings for data access to Object Storage Service (OSS).'."\n",
'type' => 'object',
'properties' => [
'Bucket' => ['title' => '', 'description' => 'The name of the OSS bucket.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-bucket', 'visibility' => 'Public', 'backendName' => 'Bucket'],
'Prefix' => ['title' => '', 'description' => 'The object key prefix.'."\n", 'type' => 'string', 'example' => 'test-object', 'visibility' => 'Public', 'backendName' => 'Prefix'],
'MatchExpressions' => [
'title' => '',
'description' => 'The match expressions.'."\n",
'type' => 'array',
'items' => ['description' => 'The match mode.'."\n", 'type' => 'string', 'example' => 'key prefix (abc)', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''],
'visibility' => 'Public',
'backendName' => 'MatchExpressions',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'Insights' => [
'description' => 'Summary and description of the file.'."\n",
'type' => 'object',
'properties' => [
'Video' => ['description' => 'The summary and description of the video.'."\n", '$ref' => '#/components/schemas/VideoInsight', 'title' => '', 'example' => ''],
'Image' => ['description' => 'The summary and description of the image.'."\n", '$ref' => '#/components/schemas/ImageInsight', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'InsightsConfig' => [
'description' => 'The content-aware configuration.',
'type' => 'object',
'properties' => [
'Language' => ['title' => '', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh-Hans'],
'Video' => ['description' => 'The video content-aware configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsConfig'],
'Image' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ImageInsightsConfig'],
],
'title' => '',
'example' => '',
],
'InsightsLabel' => [
'description' => 'The label.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The label name.', 'type' => 'string', 'title' => '', 'example' => '摔倒'],
'Description' => ['description' => 'The label description.', 'type' => 'string', 'title' => '', 'example' => '有人摔倒'],
],
'title' => '',
'example' => '',
],
'KdtreeOption' => [
'title' => '',
'description' => 'The k-d tree options.'."\n",
'type' => 'object',
'properties' => [
'CompressionLevel' => ['title' => '', 'description' => 'The compression level. Valid values: 0 to 10. A greater value specifies a higher compression ratio and ensures better detail effects.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10', 'minimum' => '0', 'example' => '5', 'visibility' => 'Public', 'backendName' => 'CompressionLevel'],
'QuantizationBits' => ['title' => '', 'description' => 'The number of bits for quantization. Valid values: 0 to 31. A greater value ensures that more details are retained. A value of 0 specifies that vertex compression is not performed.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '31', 'minimum' => '0', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'QuantizationBits'],
'LibraryName' => [
'title' => '',
'description' => 'The name of the library supported by a k-d tree. Set the value to draco. Default value: draco.'."\n",
'type' => 'string',
'enumValueTitles' => [],
'example' => 'draco',
'default' => 'draco',
'enum' => ['draco'],
'visibility' => 'Public',
'backendName' => 'LibraryName',
'trim' => true,
],
],
'visibility' => 'Public',
'example' => '',
],
'KeyValuePair' => [
'title' => '',
'description' => 'The key-value pair.'."\n",
'type' => 'object',
'properties' => [
'Key' => ['title' => '', 'description' => 'The key.'."\n", 'type' => 'string', 'example' => 'bucket', 'visibility' => 'Public', 'backendName' => 'Key'],
'Value' => ['title' => '', 'description' => 'The value.'."\n", 'type' => 'string', 'example' => 'testbucket', 'visibility' => 'Public', 'backendName' => 'Value'],
],
'visibility' => 'Public',
'example' => '',
],
'Label' => [
'title' => '',
'description' => 'Tag information.',
'type' => 'object',
'properties' => [
'Language' => ['title' => '', 'description' => 'The tag language, in BCP 47 format.', 'type' => 'string', 'example' => 'zh-Hans'],
'LabelName' => ['title' => '', 'description' => 'The tag name.', 'type' => 'string', 'example' => '椅子'],
'LabelLevel' => ['title' => '', 'description' => 'The tag level. Valid values are 1, 2, and 3, representing first-level, second-level, and third-level tags, respectively.', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
'LabelConfidence' => ['title' => '', 'description' => 'The tag confidence level. The value ranges from 0 (lowest confidence) to 1 (highest confidence).', 'type' => 'number', 'format' => 'float', 'example' => '0.95'],
'ParentLabelName' => ['title' => '', 'description' => 'The parent tag name.', 'type' => 'string', 'example' => '家具'],
'CentricScore' => ['title' => '', 'description' => 'The centric score of the tag. This indicates whether the tag is the main subject in the image. The value ranges from 0 to 1. A higher value indicates higher confidence that the tag is the main subject of the image.', 'type' => 'number', 'format' => 'float', 'example' => '0.877'],
'LabelAlias' => ['description' => 'The tag alias.', 'type' => 'string', 'title' => '', 'example' => '座椅'],
'Clips' => [
'type' => 'array',
'items' => ['description' => 'Event clips.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Clip'],
'description' => 'Event clips.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'LicensePlate' => [
'title' => '',
'description' => 'The license plate.'."\n",
'type' => 'object',
'properties' => [
'Content' => [
'title' => '',
'description' => 'The license plate number.'."\n",
'type' => 'string',
'enumValueTitles' => [],
'example' => '鲁A8***8',
'visibility' => 'Public',
'backendName' => 'Content',
],
'Boundary' => ['title' => '', 'description' => 'The boundary information of the license plate.'."\n", '$ref' => '#/components/schemas/Boundary', 'visibility' => 'Public', 'backendName' => 'Boundary', 'example' => ''],
'Confidence' => ['title' => '', 'description' => 'The confidence level.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.789', 'visibility' => 'Public', 'backendName' => 'Confidence'],
],
'visibility' => 'Public',
'example' => '',
],
'LocationDateCluster' => [
'title' => '',
'description' => 'The spatiotemporal cluster.'."\n",
'type' => 'object',
'properties' => [
'Title' => ['title' => '', 'description' => 'The custom title.'."\n", 'type' => 'string', 'example' => '杭州一日游', 'visibility' => 'Public', 'backendName' => 'Title'],
'LocationDateClusterLevel' => [
'title' => '',
'description' => 'The administrative level of the spatiotemporal cluster.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* country'."\n"
.'* province'."\n"
.'* city'."\n"
.'* district'."\n"
.'* township'."\n",
'type' => 'string',
'enumValueTitles' => ['country' => '国家或地区', 'province' => '省', 'city' => '市', 'district' => '区', 'township' => '街道'],
'example' => 'province',
'visibility' => 'Public',
'backendName' => 'LocationDateClusterLevel',
],
'LocationDateClusterStartTime' => ['title' => '', 'description' => 'The start time of the spatiotemporal cluster.'."\n", 'type' => 'string', 'example' => '2022-05-01T00:00:00+08:00', 'visibility' => 'Public', 'backendName' => 'LocationDateClusterStartTime'],
'LocationDateClusterEndTime' => ['title' => '', 'description' => 'The end time of the spatiotemporal cluster.'."\n", 'type' => 'string', 'example' => '2022-05-02T23:59:59.999999999+08:00', 'visibility' => 'Public', 'backendName' => 'LocationDateClusterEndTime'],
'Addresses' => [
'title' => '',
'description' => 'The addresses.'."\n",
'type' => 'array',
'items' => ['description' => 'The address.'."\n", '$ref' => '#/components/schemas/Address', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Addresses',
'example' => '',
],
'ObjectId' => ['title' => '', 'description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => 'location-date-cluster-14f48cb3-079d-4595-80c4-5735284b****', 'visibility' => 'Public', 'backendName' => 'ObjectId'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the spatiotemporal cluster was updated.'."\n", 'type' => 'string', 'example' => '2022-11-16T13:15:05.65746784+08:00', 'visibility' => 'Public', 'backendName' => 'UpdateTime'],
'CreateTime' => ['title' => '', 'description' => 'The time when the spatiotemporal cluster was created.'."\n", 'type' => 'string', 'example' => '2022-11-16T13:14:34.882523669+08:00', 'visibility' => 'Public', 'backendName' => 'CreateTime'],
'CustomId' => ['title' => '', 'description' => 'The custom ID.'."\n", 'type' => 'string', 'example' => 'user-01', 'visibility' => 'Public', 'backendName' => 'CustomId'],
'CustomLabels' => ['title' => '', 'description' => 'The custom labels.'."\n", 'type' => 'object', 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'visibility' => 'Public', 'backendName' => 'CustomLabels'],
],
'visibility' => 'Public',
'example' => '',
],
'Message' => [
'title' => '',
'description' => 'The message from the AI assistant.'."\n",
'type' => 'object',
'properties' => [
'CreateTime' => ['description' => 'The time when the message was created.'."\n", 'type' => 'string', 'title' => '', 'example' => '2022-01-14T10:10:52.83948013+08:00'],
'Regenerate' => ['description' => 'Indicates whether the message is a regenerated answer.'."\n", 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Score' => ['description' => 'Rate'."\n", 'type' => 'number', 'title' => '', 'format' => 'double', 'example' => '0.99'],
'AssistantType' => ['description' => 'Assistant type.'."\n", 'type' => 'string', 'title' => '', 'example' => 'doc/translate'],
'DatasetName' => ['description' => 'The dataset that the answer references to.'."\n", 'type' => 'string', 'title' => '', 'example' => 'test-dataset'],
'SourceURI' => ['description' => 'The URI of the source file from which the answer was generated.'."\n", 'type' => 'string', 'title' => '', 'example' => 'oss://test-bucket/sample.docx'],
'Topic' => ['description' => 'The topic in the question.'."\n", 'type' => 'string', 'title' => '', 'example' => '根据 AssistantType 不同具体含义不同。'],
'Content' => ['description' => 'The content of the question.'."\n", 'type' => 'string', 'title' => '', 'example' => '你好,哪个公园距离我最近?'],
'Language' => ['description' => 'The language of the answer.'."\n", 'type' => 'string', 'title' => '', 'example' => 'zh-Hans'],
'Tone' => ['description' => 'The tone of the answer.'."\n", 'type' => 'string', 'title' => '', 'example' => 'professional'],
'Reply' => ['description' => 'The answer.'."\n", 'type' => 'string', 'title' => '', 'example' => '你好,我是你的助手'],
'Suggestion' => ['description' => 'The compliance check results. Valid values: pass block'."\n", 'type' => 'string', 'title' => '', 'example' => 'pass'],
],
'example' => '',
],
'MetaData' => [
'title' => '',
'description' => 'The basic model information.'."\n",
'type' => 'object',
'properties' => [
'Identifier' => ['title' => '', 'description' => 'The model type identifier.'."\n", 'type' => 'string', 'example' => 'detection', 'visibility' => 'Public', 'backendName' => 'Identifier'],
'Version' => ['title' => '', 'description' => 'The model version.'."\n", 'type' => 'string', 'example' => 'v1', 'visibility' => 'Public', 'backendName' => 'Version'],
'Provider' => ['title' => '', 'description' => 'The model provider.'."\n", 'type' => 'string', 'example' => 'imm', 'visibility' => 'Public', 'backendName' => 'Provider'],
],
'visibility' => 'Public',
'example' => '',
],
'MNS' => [
'title' => '',
'description' => 'Message notification parameters for ApsaraMQ for MNS.',
'type' => 'object',
'properties' => [
'TopicName' => ['description' => 'Specifies the name of the ApsaraMQ for MNS topic, which can be found in the topic list for the current region in the left-side navigation pane of the [ApsaraMQ for MNS console](https://mns.console.aliyun.com/). This parameter is required for ApsaraMQ for MNS message notification.', 'type' => 'string', 'title' => '', 'example' => 'topic1'],
],
'example' => '',
],
'ModelSpecification' => [
'title' => '',
'description' => 'The model specification details.'."\n",
'type' => 'object',
'properties' => [
'MetaData' => ['description' => 'The basic model information.'."\n", 'required' => true, '$ref' => '#/components/schemas/MetaData', 'visibility' => 'Public', 'backendName' => 'MetaData', 'title' => '', 'example' => ''],
'Spec' => ['description' => 'The model specification information.'."\n", 'required' => true, '$ref' => '#/components/schemas/Spec', 'visibility' => 'Public', 'backendName' => 'Spec', 'title' => '', 'example' => ''],
],
'visibility' => 'Public',
'example' => '',
],
'Notification' => [
'description' => 'The notification object. It supports multiple message middleware. For more information about the message format, see [Asynchronous notification message format](~~2743997~~). Choose one of the following methods to receive messages:'."\n"
."\n"
.'- Activate and integrate with the [EventBridge](~~161886~~) service in the same region as Intelligent Media Management (IMM) to receive task notifications promptly. For more information, see [IMM events](~~205730~~).'."\n"
."\n"
.'- Activate the [MNS](~~27412~~) service in the same region as IMM and configure a subscription.'."\n"
."\n"
.'- Activate the [RocketMQ](~~29530~~) service in the same region as IMM, and create a RocketMQ 4.0 instance, Topic, and Group.'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The Notification object does not support custom webhook addresses.'."\n"
."\n"
.' > ',
'type' => 'object',
'properties' => [
'MNS' => ['title' => '', 'description' => 'The MNS notification parameter object.', '$ref' => '#/components/schemas/MNS', 'example' => ''],
'RocketMQ' => ['title' => '', 'description' => 'The RocketMQ notification parameter object.', '$ref' => '#/components/schemas/RocketMQ', 'example' => ''],
'ExtendedMessageURI' => ['title' => '', 'description' => 'Use an Object Storage Service (OSS) file to receive task notifications. If you provide the URI of this file, detailed task execution information is written to the file in a JSON structure. Normally, you receive notifications through [EventBridge](~~161886~~), [MNS](~~27412~~), or [RocketMQ](~~29530~~). However, some tasks generate large amounts of information, such as archive previews or decompression tasks. For these tasks, provide this file to get the complete execution results.'."\n"
."\n"
.'The OSS URI format is oss\\://${Bucket}/${Object}. `${Bucket}` is the name of an OSS bucket in the same region as the current project. `${Object}` is the full path of the file, including the file name extension.'."\n"
."\n"
.'>'."\n"
."\n"
.'This file is not a notification method. It only serves as a medium to receive detailed task execution information. Task status is sent through standard message notifications. This file contains only the detailed execution information.'."\n"
."\n"
.'> ', 'type' => 'string', 'example' => 'oss://test-bucket/test-object.json'],
],
'title' => '',
'example' => '',
],
'OCRContents' => [
'title' => '',
'description' => 'The OCR content.'."\n",
'type' => 'object',
'properties' => [
'Language' => ['title' => '', 'description' => 'The BCP 47 language code. This parameter is not supported in the current version.'."\n", 'type' => 'string', 'example' => 'zh-hans', 'visibility' => 'Public', 'backendName' => 'Language'],
'Contents' => ['title' => '', 'description' => 'The content.'."\n", 'type' => 'string', 'example' => '欢迎使用智能媒体管理', 'visibility' => 'Public', 'backendName' => 'Contents'],
'Confidence' => ['title' => '', 'description' => 'The confidence level of the content. Valid values: 0 to 1. The value 0 indicates the lowest confidence level. The value 1 indicates the highest confidence level.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.8254936695098877', 'visibility' => 'Public', 'backendName' => 'Confidence'],
'Boundary' => ['title' => '', 'description' => 'The boundary information.'."\n", '$ref' => '#/components/schemas/Boundary', 'visibility' => 'Public', 'backendName' => 'Boundary', 'example' => ''],
],
'visibility' => 'Public',
'example' => '',
],
'OctreeOption' => [
'title' => '',
'description' => 'The octree option object.'."\n",
'type' => 'object',
'properties' => [
'PointResolution' => [
'title' => '', 'description' => 'The point cloud resolution. This parameter determines the precision of the point coordinates during encoding. Default value: 0.01.'."\n", 'type' => 'number', 'format' => 'double', 'maximum' => '1', 'minimum' => '0', 'example' => '0.01', 'default' => '0.01', 'visibility' => 'Public', 'backendName' => 'PointResolution',
'trim' => false,
],
'OctreeResolution' => ['title' => '', 'description' => 'The minimum block size when an octree is partitioned. The minimum block size indicates the edge length of a voxel. Default value: 0.01.'."\n", 'type' => 'number', 'format' => 'double', 'maximum' => '1', 'minimum' => '0', 'example' => '0.01', 'default' => '0.01', 'visibility' => 'Public', 'backendName' => 'OctreeResolution'],
'DoVoxelGridDownDownSampling' => ['title' => '', 'description' => 'Specifies whether to downsample the point cloud file. Valid values:'."\n"
."\n"
.'* true: The point cloud file is downsampled, and the coordinates of the points in a voxel are replaced with the coordinates of the center point of the voxel. The average color of all points in the voxel is used as the color of the voxel. In this case, the PointResolution parameter does not take effect.'."\n"
.'* false: Specific coordinates and colors in a voxel are encoded by calculating the offsets from each point to the lower-left corner of the voxel. The offsets are divided by the PointResolution value to obtain the integer coordinates. The residual of the color for each point relative to the average color of all points in the voxel is encoded.'."\n", 'type' => 'boolean', 'example' => 'false', 'default' => 'false', 'visibility' => 'Public', 'backendName' => 'DoVoxelGridDownDownSampling'],
'LibraryName' => [
'title' => '',
'description' => 'The library name. Set the value to pcl. Default value: pcl.'."\n",
'type' => 'string',
'example' => 'pcl',
'default' => 'pcl',
'enum' => ['pcl'],
'visibility' => 'Public',
'backendName' => 'LibraryName',
'trim' => true,
],
],
'visibility' => 'Public',
'example' => '',
],
'Optimization' => [
'title' => '',
'description' => 'Optimization algorithm information.'."\n",
'type' => 'object',
'properties' => [
'LearningRate' => ['title' => '', 'description' => 'The initial learning rate.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.01'],
'Optimizer' => ['title' => '', 'description' => 'The optimization method.'."\n", 'type' => 'string', 'example' => 'SGD'],
],
'example' => '',
],
'PaperDescription' => [
'description' => 'The document guide result.',
'type' => 'object',
'properties' => [
'Description' => [
'description' => 'The guide result.',
'type' => 'array',
'items' => ['description' => 'The navigation result.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Summary'],
'title' => '',
'example' => '',
],
'TitleID' => [
'description' => 'The section heading included in the guide result.',
'type' => 'array',
'items' => ['description' => 'The section title.', 'type' => 'string', 'title' => '', 'example' => 'f79aa209-b08b-4d7d-984f-21e77c21541b'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'PersonReferenceConfig' => [
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether to enable person referencing. Set to `true` to enable this feature. The default value is `false`.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'description' => 'Specifies the configuration for person referencing.',
'title' => '',
'example' => '',
],
'PointInt64' => [
'title' => '',
'description' => 'The coordinates of the vertex.'."\n",
'type' => 'object',
'properties' => [
'X' => ['title' => '', 'description' => 'The distance from the X-coordinate of the vertex to the left edge. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'X'],
'Y' => ['title' => '', 'description' => 'The distance from the Y-coordinate of the vertex to the top. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'Y'],
],
'visibility' => 'Public',
'example' => '',
],
'PPTDetails' => [
'description' => 'The PPT information.',
'type' => 'object',
'properties' => [
'StartTime' => ['description' => 'The time in the video.', 'type' => 'integer', 'title' => '', 'example' => '5000', 'format' => 'int64'],
'PPTShotIndex' => ['description' => 'The index of the PPT frame capture.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int64'],
'ImagePath' => ['description' => 'The image path of the PPT frame capture.', 'type' => 'string', 'title' => '', 'example' => '"ppts/video_snapshots_0.jpg"'],
],
'title' => '',
'example' => '',
],
'Project' => [
'title' => '',
'description' => 'The project information.',
'type' => 'object',
'properties' => [
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'immtest'],
'ServiceRole' => ['title' => '', 'description' => 'The service role.', 'type' => 'string', 'example' => 'AliyunIMMDefaultRole'],
'TemplateId' => ['title' => '', 'description' => 'The workflow template ID.', 'type' => 'string', 'example' => 'Official:ImageManagement'],
'CreateTime' => ['title' => '', 'description' => 'The timestamp when the project was created, in RFC3339Nano format.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'UpdateTime' => ['title' => '', 'description' => 'The timestamp when the project was last modified, in RFC3339Nano format.'."\n"
."\n"
.'> If the project has not been updated since it was created, the modification timestamp is the same as the creation timestamp.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00'],
'Description' => ['title' => '', 'description' => 'The description of the project.', 'type' => 'string', 'example' => 'test project'],
'ProjectQueriesPerSecond' => ['title' => '', 'description' => 'The maximum number of requests that the project can process per second. This specifies the maximum number of API calls allowed per second for all APIs in the project. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'EngineConcurrency' => ['title' => '', 'description' => 'The maximum number of tasks that the project can process per second. This specifies the maximum number of operators across the project that can run in parallel at the same time. Default value: 100.'."\n"
."\n"
.'- Synchronous tasks: if the number of concurrent tasks exceeds this limit, task execution time increases until a timeout occurs.'."\n"
."\n"
.'- Asynchronous tasks: if the number of concurrent tasks exceeds this limit, tasks are queued for a period of time, which delays task completion. If the queuing time also exceeds the limit (typically tens of minutes), the task returns a failure.', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'ProjectMaxDatasetCount' => ['title' => '', 'description' => 'The maximum number of datasets in the project. Valid values: 1 to 1000000000. Default value: 1000000000.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000000000'],
'DatasetMaxBindCount' => ['title' => '', 'description' => 'The maximum number of bindings per dataset. Valid values: 1 to 10. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'DatasetMaxFileCount' => ['title' => '', 'description' => 'The maximum number of files per dataset. Valid values: 1 to 100000000. Default value: 100000000.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000'],
'DatasetMaxEntityCount' => ['title' => '', 'description' => 'The maximum number of metadata entities per dataset. Default value: 10000000000.'."\n"
."\n"
.'> This field is reserved for future use and is not enforced.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000000000'],
'DatasetMaxRelationCount' => ['title' => '', 'description' => 'The maximum number of metadata relationships per dataset. Default value: 100000000000.'."\n"
."\n"
.'> This field is reserved for future use and is not enforced.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000000'],
'DatasetMaxTotalFileSize' => ['title' => '', 'description' => 'The maximum total file size per dataset, in bytes. After this limit is exceeded, no more indexes can be added. Default value: 90000000000000000.', 'type' => 'integer', 'format' => 'int64', 'example' => '90000000000000000'],
'DatasetCount' => ['title' => '', 'description' => 'The current number of datasets in the project.', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'FileCount' => ['title' => '', 'description' => 'The current number of files in the project.', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'TotalFileSize' => ['title' => '', 'description' => 'The current total file size in the project, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
'Tags' => [
'title' => '',
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The tag information.',
'type' => 'object',
'properties' => [
'TagKey' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'example' => 'TestKey'],
'TagValue' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'example' => 'TestValue'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
'Property' => [
'title' => '',
'description' => 'The property information.'."\n",
'type' => 'object',
'properties' => [
'ItemsType' => ['title' => '', 'description' => 'If you set the ValueType field to array, you must specify the type of the elements within the array. The enumerated values include float, integer, and string.'."\n", 'type' => 'string', 'example' => 'float', 'visibility' => 'Public', 'backendName' => 'ItemsType'],
'ValueType' => ['title' => '', 'description' => 'The type of the property. Supported enumerated values: float, integer, string, and array.'."\n", 'type' => 'string', 'example' => 'array', 'visibility' => 'Public', 'backendName' => 'ValueType'],
'Value' => ['title' => '', 'description' => 'The value.'."\n", 'type' => 'string', 'example' => '[40, 80, 160, 320]', 'visibility' => 'Public', 'backendName' => 'Value'],
'Name' => ['title' => '', 'description' => 'The property name.'."\n", 'type' => 'string', 'example' => 'channels', 'visibility' => 'Public', 'backendName' => 'Name'],
],
'visibility' => 'Public',
'example' => '',
],
'ReferenceFile' => [
'title' => '',
'description' => 'The reference file based on which the smart chatbot provides the answer.'."\n",
'type' => 'object',
'properties' => [
'ProjectName' => ['title' => '', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'example' => 'test-project', 'visibility' => 'Public', 'backendName' => 'ProjectName'],
'DatasetName' => ['title' => '', 'description' => 'The name of the dataset.'."\n", 'type' => 'string', 'example' => 'test-dataset', 'visibility' => 'Public', 'backendName' => 'DatasetName'],
'ObjectId' => ['title' => '', 'description' => 'The unique ID of the file.'."\n", 'type' => 'string', 'example' => '75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7', 'visibility' => 'Public', 'backendName' => 'ObjectId'],
'URI' => ['title' => '', 'description' => 'The URI of the file.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/test-object.jpg', 'visibility' => 'Public', 'backendName' => 'URI'],
],
'visibility' => 'Public',
'example' => '',
],
'RegionType' => [
'title' => '',
'description' => 'The region.'."\n",
'type' => 'object',
'properties' => [
'RegionId' => ['title' => '', 'description' => 'The ID of the region.'."\n", 'type' => 'string', 'example' => 'cn-beijing', 'visibility' => 'Public', 'backendName' => 'RegionId'],
'LocalName' => ['title' => '', 'description' => 'The name of the region.'."\n", 'type' => 'string', 'example' => '华北2(北京)', 'visibility' => 'Public', 'backendName' => 'LocalName'],
],
'visibility' => 'Public',
'example' => '',
],
'Resource' => [
'title' => '',
'description' => 'The resource.'."\n",
'type' => 'object',
'properties' => [
'ECSInstance' => ['title' => '', 'description' => 'The Elastic Compute Service (ECS) instance.'."\n", 'type' => 'string', 'example' => 'ecs.gn5i-c2g1.large', 'visibility' => 'Public', 'backendName' => 'ECSInstance'],
'CPU' => ['title' => '', 'description' => 'The number of CPU cores. Valid values: 4 to 96.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'CPU'],
'GPUNum' => ['title' => '', 'description' => 'The number of GPUs.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'GPUNum'],
'Name' => ['title' => '', 'description' => 'The displayed name of the resource.'."\n", 'type' => 'string', 'example' => 'ecs.gn5i-c2g1.large-2vCPU-8GB-1*NVIDIA_P4', 'visibility' => 'Public', 'backendName' => 'Name'],
'RAM' => ['title' => '', 'description' => 'The RAM size. Unit: GB. Valid values: 30 to 736.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'visibility' => 'Public', 'backendName' => 'RAM'],
'GPUModel' => ['title' => '', 'description' => 'The GPU.'."\n", 'type' => 'string', 'example' => 'NVIDIA_P4', 'visibility' => 'Public', 'backendName' => 'GPUModel'],
],
'visibility' => 'Public',
'example' => '',
],
'ReverseImageConfig' => [
'description' => 'The image search configuration.',
'type' => 'object',
'properties' => [
'Video' => ['description' => 'The image-to-video search configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoReverseImageConfig'],
'Image' => ['description' => 'The image-to-image search configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ImageReverseImageConfig'],
],
'title' => '',
'example' => '',
],
'RocketMQ' => [
'title' => '',
'description' => 'RocketMQ message notification parameters.',
'type' => 'object',
'properties' => [
'TopicName' => ['description' => 'The name of the RocketMQ topic. Required for RocketMQ message notifications.', 'type' => 'string', 'title' => '', 'example' => 'topic1'],
'InstanceId' => ['description' => 'The RocketMQ instance ID. Required for RocketMQ message notifications.', 'type' => 'string', 'title' => '', 'example' => 'MQ_INST_11111111111_BYcNy2Nc'],
],
'example' => '',
],
'Row' => [
'title' => '',
'description' => 'The file information.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['title' => '', 'description' => 'The OSS URI of the file.'."\n"
."\n"
.'The OSS URI is in the `oss://${bucketname}/${objectname}` format, where `${bucketname}` is the name of the OSS bucket that is in the same region as the current project and `${objectname}` is the path of the file.'."\n", 'type' => 'string', 'example' => 'oss://examplebucket/exampleobject.jpg', 'visibility' => 'Public', 'backendName' => 'URI'],
'CustomLabels' => [
'title' => '',
'description' => 'The custom labels.'."\n",
'type' => 'array',
'items' => ['description' => 'The key-value pair of the label.'."\n", '$ref' => '#/components/schemas/KeyValuePair', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'CustomLabels',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'Runtime' => [
'title' => '',
'description' => 'The information about the runtime for model training.'."\n",
'type' => 'object',
'properties' => [
'Hyperparameters' => ['description' => 'The hyperparameters.'."\n", 'required' => true, '$ref' => '#/components/schemas/Hyperparameters', 'visibility' => 'Public', 'backendName' => 'Hyperparameters', 'title' => '', 'example' => ''],
'Resource' => ['description' => 'The resource.'."\n", 'required' => true, '$ref' => '#/components/schemas/Resource', 'visibility' => 'Public', 'backendName' => 'Resource', 'title' => '', 'example' => ''],
],
'visibility' => 'Public',
'example' => '',
],
'SceneElement' => [
'title' => '',
'description' => 'A video scene element.',
'type' => 'object',
'properties' => [
'TimeRange' => [
'title' => '',
'description' => 'The time range of the video element. The array has a fixed length of 2. The two values represent the start time and end time in milliseconds.',
'type' => 'array',
'items' => ['description' => 'The time range of the video element.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'example' => '',
],
'FrameTimes' => [
'title' => '',
'description' => 'The timestamps of the frames within the current video element that match the search content. The unit is milliseconds.',
'type' => 'array',
'items' => ['description' => 'The timestamps, in milliseconds, of the frames in the current video element that match the search content.', 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'title' => ''],
'example' => '',
],
'VideoStreamIndex' => ['description' => 'The index of the video stream to which the current video scene element belongs. This corresponds to the index in the [VideoStreams](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-detectmediameta?spm=a2c4g.11186623.0.0.463e600fIDdM8r#api-detail-40) array.', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int64'],
'Labels' => [
'type' => 'array',
'items' => ['description' => 'The label information.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/Label'],
'description' => 'The label information.',
'title' => '',
'example' => '',
],
],
'example' => '',
],
'Schedule' => [
'title' => '',
'description' => 'The information about the learning rate scheduler.'."\n",
'type' => 'object',
'properties' => [
'Gamma' => ['title' => '', 'description' => 'The learning rate decay. This parameter takes effect only when LRScheduler is set to StepLR.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.97', 'visibility' => 'Public', 'backendName' => 'Gamma'],
'StepSize' => ['title' => '', 'description' => 'The number of epochs the learning rate is changed after. This parameter takes effect only when LRScheduler is set to StepLR.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'StepSize'],
'LRScheduler' => ['title' => '', 'description' => 'The learning rate scheduler.'."\n", 'type' => 'string', 'example' => 'StepLR', 'visibility' => 'Public', 'backendName' => 'LRScheduler'],
],
'visibility' => 'Public',
'example' => '',
],
'SimilarImage' => [
'title' => '',
'description' => 'The similar image.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['title' => '', 'description' => 'The URI of the image.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/test-object', 'visibility' => 'Public', 'backendName' => 'URI'],
'ImageScore' => ['title' => '', 'description' => 'The aesthetic score.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.709', 'visibility' => 'Public', 'backendName' => 'ImageScore'],
],
'visibility' => 'Public',
'example' => '',
],
'SimilarImageCluster' => [
'title' => '',
'description' => 'The cluster of similar images.'."\n",
'type' => 'object',
'properties' => [
'ObjectId' => ['title' => '', 'description' => 'The ID of the cluster.'."\n", 'type' => 'string', 'example' => 'SimilarImageCluster-748a041e-4ebc-4487-9e74-9c89b1****', 'visibility' => 'Public', 'backendName' => 'ObjectId'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the cluster was updated.'."\n", 'type' => 'string', 'example' => '2023-02-08T09:42:34.354969088+08:00', 'visibility' => 'Public', 'backendName' => 'UpdateTime'],
'CreateTime' => ['title' => '', 'description' => 'The creation time.'."\n", 'type' => 'string', 'example' => '2023-02-08T09:42:34.354969088+08:00', 'visibility' => 'Public', 'backendName' => 'CreateTime'],
'CustomLabels' => ['title' => '', 'description' => 'The custom tag.'."\n", 'type' => 'object', 'visibility' => 'Public', 'backendName' => 'CustomLabels', 'example' => ''],
'Files' => [
'title' => '',
'description' => 'The similar images.'."\n",
'type' => 'array',
'items' => ['description' => 'The similar image.'."\n", '$ref' => '#/components/schemas/SimilarImage', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Files',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'SimpleQuery' => [
'title' => '',
'description' => 'The search conditions that can be nested in SimpleQuery.'."\n",
'type' => 'object',
'properties' => [
'Field' => ['title' => '', 'description' => 'This parameter is required. The field name. For a list of the supported fields, see [Supported fields and operators](~~252856~~).'."\n", 'type' => 'string', 'example' => 'Size', 'visibility' => 'Public', 'backendName' => 'Field'],
'Value' => ['title' => '', 'description' => 'The field value. If you set the Operation parameter to and, or, not, or nested, this parameter is invalid.'."\n", 'type' => 'string', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'Value'],
'Operation' => [
'title' => '',
'description' => 'This parameter is required. The operator.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* exist: exists query.'."\n"
.'* not: logical NOT.'."\n"
.'* or: logical OR.'."\n"
.'* prefix: prefix query.'."\n"
.'* and: logical AND.'."\n"
.'* It: less than.'."\n"
.'* match-phrase: string match query.'."\n"
.'* gte: greater than or equal to.'."\n"
.'* eq: equal to.'."\n"
.'* lte: less than or equal to.'."\n"
.'* gt: greater than.'."\n"
.'* nested: You can perform logical condition queries within the same object when the data type of a field is ARRAY.'."\n",
'type' => 'string',
'enumValueTitles' => [
'exist' => '存在性查询', 'not' => '逻辑非', 'or' => '逻辑或', 'prefix' => '前缀查询', 'and' => '逻辑与', 'lt' => '小于', 'match-phrase' => '字符串匹配查询', 'gte' => '大于等于', 'eq' => '等于', 'lte' => '小于等于',
'gt' => '大于', 'nested' => '字段为数组时,其中同一对象内逻辑条件查询',
],
'example' => 'and',
'visibility' => 'Public',
'backendName' => 'Operation',
],
'SubQueries' => [
'title' => '',
'description' => 'The subquery structure.'."\n"
."\n"
.'You can configure Subquery conditions only if you set the Operation parameter to and, or, not, or nested.'."\n"
."\n"
.'If you set the Operation parameter to and, or, or not, all query conditions specified by the SubQueries parameter must comply with the logical relationship of the parent query condition.'."\n"
."\n"
.'If you set the Operation parameter to nested, the parent field of a subquery must be of the ARRAY type, such as Labels. The operator of a subquery condition must be one or more of the following operators: and, or, and not. The field of the subquery must be a sub-field of the parent field.'."\n"
."\n"
.'For information about how to call the SimpleQuery operation, see [SimpleQuery](~~478175~~).'."\n",
'type' => 'array',
'items' => ['description' => 'The subquery condition.'."\n", '$ref' => '#/components/schemas/SimpleQuery', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'SubQueries',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'SmartCluster' => [
'title' => '',
'description' => 'The intelligent grouping.',
'type' => 'object',
'properties' => [
'OwnerId' => ['title' => '', 'description' => 'The user ID.', 'type' => 'string', 'example' => '1023210024677934'],
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'MyProject'],
'DatasetName' => ['title' => '', 'description' => 'The dataset name.', 'type' => 'string', 'example' => 'MyDataset'],
'ObjectType' => ['title' => '', 'description' => 'The grouping type.', 'type' => 'string', 'example' => 'smart-cluster'],
'ObjectId' => ['title' => '', 'description' => 'The intelligent grouping ID.', 'type' => 'string', 'example' => 'SmartCluster-12cd1645-deae-4b5e-9434-613747b75f6d'],
'CreateTime' => ['title' => '', 'description' => 'The time when the grouping was created.', 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the grouping was last updated.', 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'Name' => ['title' => '', 'description' => 'The grouping name.', 'type' => 'string', 'example' => 'MySmartCluster1'],
'Description' => ['title' => '', 'description' => 'The description of the grouping.', 'type' => 'string', 'example' => '这是一个智能分组的描述示例,它用于展示记录的格式。'],
'ObjectStatus' => ['title' => '', 'description' => 'The status of the grouping.', 'type' => 'string', 'example' => 'Succeeded'],
'ClusterType' => ['description' => 'The category of the grouping.', 'type' => 'string', 'title' => '', 'example' => 'figure'],
'Rule' => ['description' => 'The grouping rule. This parameter is deprecated. Use the Rules parameter instead.', 'title' => '', '$ref' => '#/components/schemas/SmartClusterRule', 'example' => ''],
'Rules' => [
'description' => 'The list of grouping rules.',
'type' => 'array',
'items' => ['description' => '分组规则', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/SmartClusterRule'],
'title' => '',
'example' => '',
],
'Reason' => ['description' => 'The reason why the grouping failed.', 'type' => 'string', 'title' => '', 'example' => '[InvalidArgument.BaseURIs] Each BaseURI must contain exactly one figure'],
],
'example' => '',
],
'SmartClusterConfig' => [
'type' => 'object',
'properties' => [
'Figure' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FigureClusterConfig'],
],
'description' => 'The configuration object for a smart cluster.',
'title' => '',
'example' => '',
],
'SmartClusterRule' => [
'title' => '',
'description' => 'The intelligent grouping rule.',
'type' => 'object',
'properties' => [
'Keywords' => [
'title' => '',
'description' => 'The keywords.',
'type' => 'array',
'items' => ['description' => 'The keyword.', 'type' => 'string', 'example' => '机器学习', 'title' => ''],
'example' => '',
],
'Sensitivity' => ['title' => '', 'description' => 'The sensitivity.', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
'RuleType' => ['description' => 'The rule type.', 'type' => 'string', 'title' => '', 'example' => 'figure'],
'BaseURIs' => [
'description' => 'The array of URIs for the reference files.',
'type' => 'array',
'items' => ['description' => 'The URI of the reference file.', 'type' => 'string', 'title' => '', 'example' => 'oss://testbucket/example_file'],
'title' => '',
'example' => '',
],
],
'example' => '',
],
'Spec' => [
'title' => '',
'description' => 'The model specification information.'."\n",
'type' => 'object',
'properties' => [
'Backbone' => ['description' => 'The custom parameters for model training.'."\n", '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'backendName' => 'Backbone', 'title' => '', 'example' => ''],
'ClassNum' => ['title' => '', 'description' => 'The number of output classes of the last layer.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'ClassNum'],
'Head' => ['description' => 'The custom parameters for model training.'."\n", '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'backendName' => 'Head', 'title' => '', 'example' => ''],
'Loss' => ['description' => 'The custom parameters for model training.'."\n", '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'backendName' => 'Loss', 'title' => '', 'example' => ''],
'InputChannel' => ['title' => '', 'description' => '3'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'visibility' => 'Public', 'backendName' => 'InputChannel'],
'Name' => ['title' => '', 'description' => 'The name of the model. The available model names vary with the model category.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ClsResNet', 'visibility' => 'Public', 'backendName' => 'Name'],
'Neck' => ['description' => 'The custom parameters for model training.'."\n", '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'backendName' => 'Neck', 'title' => '', 'example' => ''],
'NumLandmarks' => ['title' => '', 'description' => 'The number of face landmarks. This parameter is required for face detection. In most cases, you can set the parameter to 5.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'visibility' => 'Public', 'backendName' => 'NumLandmarks'],
'PretrainedPath' => ['title' => '', 'description' => 'The path to the pretrained model.'."\n", 'type' => 'string', 'example' => 'oss://bucket/abc/xxx.json', 'visibility' => 'Public', 'backendName' => 'PretrainedPath'],
],
'visibility' => 'Public',
'example' => '',
],
'Story' => [
'title' => '',
'description' => 'The story information.'."\n",
'type' => 'object',
'properties' => [
'OwnerId' => ['title' => '', 'description' => 'The ID of the owner to which the story belongs.'."\n", 'type' => 'string', 'example' => '102321002****'],
'ProjectName' => ['title' => '', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'example' => 'immtest'],
'DatasetName' => ['title' => '', 'description' => 'The name of the dataset.'."\n", 'type' => 'string', 'example' => 'dataset001'],
'ObjectId' => ['title' => '', 'description' => 'The ID of the story object.'."\n", 'type' => 'string', 'example' => 'id1'],
'ObjectType' => ['title' => '', 'description' => 'The type of the object.'."\n", 'type' => 'string', 'example' => 'story'],
'UpdateTime' => ['title' => '', 'description' => 'The time when the story was updated.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'CreateTime' => ['title' => '', 'description' => 'The time when the story was created.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'StoryName' => ['title' => '', 'description' => 'The name of the story.'."\n", 'type' => 'string', 'example' => 'name1'],
'StoryType' => ['title' => '', 'description' => 'The story type.'."\n", 'type' => 'string', 'example' => 'PeopleMemory'],
'StorySubType' => ['title' => '', 'description' => 'The subtype of the story.'."\n", 'type' => 'string', 'example' => 'ImportantPerson'],
'StoryStartTime' => ['title' => '', 'description' => 'The time when the story starts.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'StoryEndTime' => ['title' => '', 'description' => 'The time when the story ends.'."\n", 'type' => 'string', 'example' => '2022-01-14T10:17:18.102700407+08:00'],
'Files' => [
'title' => '',
'description' => 'The story files.'."\n",
'type' => 'array',
'items' => ['description' => 'The story file.'."\n", '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'example' => '',
],
'Cover' => ['description' => 'The story cover.'."\n", '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'FigureClusterIds' => [
'title' => '',
'description' => 'The fluster IDs.'."\n",
'type' => 'array',
'items' => ['description' => 'The cluster ID.'."\n", 'type' => 'string', 'example' => '2cb3c51e-b406-4b0c-af1b-897d88e1****', 'title' => ''],
'example' => '',
],
'CustomId' => ['title' => '', 'description' => 'The custom ID.'."\n", 'type' => 'string', 'example' => 'test'],
'CustomLabels' => ['title' => '', 'description' => 'The custom labels.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"key": "val"}'],
'Addresses' => [
'title' => '',
'description' => 'The addresses.'."\n",
'type' => 'array',
'items' => ['description' => 'The address.'."\n", '$ref' => '#/components/schemas/Address', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
'SubtitleStream' => [
'title' => '',
'description' => 'The information about the subtitle stream.'."\n",
'type' => 'object',
'properties' => [
'Index' => ['title' => '', 'description' => 'The index number of the subtitle stream.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'Index'],
'Language' => ['title' => '', 'description' => 'The subtitle language in the BCP 47 standard.'."\n", 'type' => 'string', 'example' => 'en', 'visibility' => 'Public', 'backendName' => 'Language'],
'CodecName' => ['title' => '', 'description' => 'The abbreviated name of the codec.'."\n", 'type' => 'string', 'example' => 'mov_text', 'visibility' => 'Public', 'backendName' => 'CodecName'],
'CodecLongName' => ['title' => '', 'description' => 'The full name of the codec.'."\n", 'type' => 'string', 'example' => 'MOV text', 'visibility' => 'Public', 'backendName' => 'CodecLongName'],
'CodecTagString' => ['title' => '', 'description' => 'The description of the codec tag.'."\n", 'type' => 'string', 'example' => 'tx3g', 'visibility' => 'Public', 'backendName' => 'CodecTagString'],
'CodecTag' => ['title' => '', 'description' => 'The tag of the codec.'."\n", 'type' => 'string', 'example' => '0x67337874', 'visibility' => 'Public', 'backendName' => 'CodecTag'],
'StartTime' => ['title' => '', 'description' => 'The start time of the subtitle stream in seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.000000', 'visibility' => 'Public', 'backendName' => 'StartTime'],
'Duration' => ['title' => '', 'description' => 'The duration of the subtitle stream in seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '71.378', 'visibility' => 'Public', 'backendName' => 'Duration'],
'Bitrate' => ['title' => '', 'description' => 'The bitrate. Unit: bit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '74', 'visibility' => 'Public', 'backendName' => 'Bitrate'],
'Content' => ['title' => '', 'description' => 'The subtitle content.'."\n", 'type' => 'string', 'example' => '欢迎', 'visibility' => 'Public', 'backendName' => 'Content'],
'Width' => ['title' => '', 'description' => 'The width of the subtitles. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '600', 'visibility' => 'Public', 'backendName' => 'Width'],
'Height' => ['title' => '', 'description' => 'The height of the subtitles. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30', 'visibility' => 'Public', 'backendName' => 'Height'],
],
'visibility' => 'Public',
'example' => '',
],
'TargetAudio' => [
'title' => '',
'description' => 'The audio processing settings.'."\n",
'type' => 'object',
'properties' => [
'DisableAudio' => ['title' => '', 'description' => 'Specifies whether to disable audio stream generation. Valid values:'."\n"
."\n"
.'* true: disables audio stream generation. No audio stream is included in the output file.'."\n"
.'* false: does not disable audio stream generation. This is the default value.'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'DisableAudio'],
'Stream' => [
'title' => '',
'description' => 'The index numbers of audio streams. If you do not specify this parameter, the first audio stream (the one with the smallest index number) is processed. If the array contains an element greater than 100, all audio streams are processed.'."\n"
."\n"
.'* For example, you can set the parameter to `[0,1]` to process audio streams with index numbers 0 and 1, `[1]` to process only the audio stream with the index number 1, or `[101]` to process all audio streams.'."\n"
."\n"
.'> If you specify an index number but no audio stream with the index number is found, the index number is ignored.'."\n",
'type' => 'array',
'items' => ['description' => 'The index number of the audio stream.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''],
'visibility' => 'Public',
'backendName' => 'Stream',
'example' => '',
],
'TranscodeAudio' => [
'title' => '',
'description' => 'The audio transcoding settings. If you do not specify this parameter, no audio streams are included in the output file.'."\n"
."\n"
.'> We recommend that you do not use this parameter to disable audio stream generation.'."\n",
'type' => 'object',
'properties' => [
'Codec' => ['title' => '', 'description' => 'The codec. Valid values:'."\n"
."\n"
.'* copy, mp3, vorbis, aac, flac, ac3, opus, and amr for the CreateMediaConvert operation. The default value is copy.'."\n"
.'* aac for the GenerateVideoPlaylist operation. The default value is aac.'."\n"
."\n"
.'> When you set the parameter to copy, the audio stream is directly copied into the output file and all other parameters in **TranscodeAudio** do not take effect. The copy value is commonly used in container format conversion scenarios. You cannot use this value in audio merging scenarios.'."\n", 'type' => 'string', 'example' => 'aac', 'visibility' => 'Public', 'backendName' => 'Codec'],
'BitrateOption' => ['title' => '', 'description' => 'The audio bitrate option. Valid values:'."\n"
."\n"
.'* fixed: always uses the target bitrate.'."\n"
.'* adaptive: uses the source bitrate when the source bitrate is smaller than the target bitrate.'."\n"
.'* fall: returns a failure when the source bitrate is smaller than the target bitrate.'."\n"
."\n"
.'Default values:'."\n"
."\n"
.'* fixed for the CreateMediaConvert operation.'."\n"
.'* adaptive for the GenerateVideoPlaylist operation.'."\n"
."\n"
.'> This parameter must be used in conjunction with the **Bitrate** parameter.'."\n", 'type' => 'string', 'example' => 'fixed', 'visibility' => 'Public', 'backendName' => 'BitrateOption'],
'Bitrate' => ['title' => '', 'description' => 'The bitrate of the audio stream. Unit: bit/s. This parameter and the **Quality** parameter are mutually exclusive. Valid values: 1000 to 10000000.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '64000', 'visibility' => 'Public', 'backendName' => 'Bitrate'],
'Quality' => ['title' => '', 'description' => 'The audio quality. Valid values: 0 to 100. The greater the value, the higher the quality. This parameter and the **Bitrate** parameter are mutually exclusive.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'visibility' => 'Public', 'backendName' => 'Quality'],
'SampleRateOption' => ['title' => '', 'description' => 'The sampling rate option. Valid values:'."\n"
."\n"
.'* fixed: always uses the target sampling rate.'."\n"
.'* adaptive: uses the source sampling rate when the source sampling rate is smaller than the target sampling rate.'."\n"
.'* fall: returns a failure when the source sampling rate is smaller than the target sampling rate.'."\n"
."\n"
.'Default values:'."\n"
."\n"
.'* fixed for the CreateMediaConvert operation.'."\n"
.'* adaptive for the GenerateVideoPlaylist operation.'."\n"
."\n"
.'> This parameter must be used in conjunction with the **SampleRate** parameter.'."\n", 'type' => 'string', 'example' => 'fixed', 'visibility' => 'Public', 'backendName' => 'SampleRateOption'],
'SampleRate' => ['title' => '', 'description' => 'The sampling rate option. Unit: Hz. By default, the source sampling rate is used. Valid values: 8000, 12025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, and 96000.'."\n"
."\n"
.'> Supported sampling rates vary with formats: 48 kHz and lower for MP3, 8 kHz, 12 kHz, 16 kHz, 24 kHz, and 48 kHz for Opus, 32 kHz, 44.1 kHz, and 48 kHz for AC3, and 8 kHz and 16 kHz for AMR.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '12050', 'visibility' => 'Public', 'backendName' => 'SampleRate'],
'Channel' => ['title' => '', 'description' => 'The number of sound channels. By default, the audio stream has the same number of sound channels as the source audio. Valid values: \\[1,8].'."\n"
."\n"
.'> The number of sound channels varies with audio formats: one or two for MP3, up to six for AC3 5.1, and one for AMR.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'Channel'],
'BitsPerSample' => ['title' => '', 'description' => 'The audio bit depth. Valid values: 16 and 24.'."\n"
."\n"
.'> This parameter takes effect only when Codec is set to flac.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'visibility' => 'Public', 'backendName' => 'BitsPerSample'],
],
'visibility' => 'Public',
'backendName' => 'TranscodeAudio',
'example' => '',
],
'FilterAudio' => [
'title' => '',
'description' => 'The audio processing settings. This parameter is invalid if **TranscodeAudio** is left empty or **TranscodeAudio.Codec** is set to copy.'."\n"
."\n"
.'> This parameter is not available to the GenerateVideoPlaylist operation.'."\n",
'type' => 'object',
'properties' => [
'Mixing' => ['title' => '', 'description' => 'Specifies whether to mix all sound tracks into a single track. Valid values:'."\n"
."\n"
.'* false (default)'."\n"
.'* true'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'Mixing'],
],
'visibility' => 'Public',
'backendName' => 'FilterAudio',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'TargetImage' => [
'title' => '',
'description' => 'Image structure',
'type' => 'object',
'properties' => [
'Sprites' => [
'title' => '',
'description' => 'Sprites',
'type' => 'array',
'items' => [
'description' => 'The information about the sprite.'."\n",
'type' => 'object',
'properties' => [
'ScaleType' => ['title' => '', 'description' => 'Scaling method', 'type' => 'string', 'example' => 'crop', 'visibility' => 'Public', 'backendName' => 'ScaleType'],
'Mode' => ['type' => 'string', 'description' => '', 'example' => 'interval', 'title' => '', 'visibility' => 'Public', 'backendName' => 'mode'],
'StartTime' => ['title' => '', 'description' => 'StartTime', 'type' => 'number', 'format' => 'double', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'StartTime', 'parseType' => 'struct'],
'TileHeight' => ['title' => '', 'description' => 'Height of each sprite tile, in pixels', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'visibility' => 'Public', 'backendName' => 'TileHeight'],
'URI' => ['title' => '', 'description' => 'URI', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/sprites', 'visibility' => 'Public', 'backendName' => 'URI'],
'ScaleWidth' => ['title' => '', 'description' => 'Output width after scaling, in pixels', 'type' => 'number', 'format' => 'float', 'example' => '1280', 'visibility' => 'Public', 'backendName' => 'ScaleWidth'],
'Pad' => ['title' => '', 'description' => 'Padding between sprite tiles, in pixels', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'Pad'],
'Format' => ['title' => '', 'description' => 'Image format', 'type' => 'string', 'required' => true, 'example' => 'jpg'."\n", 'visibility' => 'Public', 'backendName' => 'Format'],
'Number' => ['title' => '', 'description' => 'Total number of sprites to generate', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'Number'],
'ScaleHeight' => ['title' => '', 'description' => 'Output height after scaling, in pixels', 'type' => 'number', 'format' => 'float', 'example' => '960', 'visibility' => 'Public', 'backendName' => 'ScaleHeight'],
'TileWidth' => ['title' => '', 'description' => 'Width of each sprite tile, in pixels', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'visibility' => 'Public', 'backendName' => 'TileWidth'],
'Interval' => ['title' => '', 'description' => 'Time interval between sprites, in seconds', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1', 'visibility' => 'Public', 'backendName' => 'Interval', 'parseType' => 'struct'],
'Margin' => ['title' => '', 'description' => 'Margin around the sprite grid, in pixels', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'Margin'],
'Threshold' => ['type' => 'integer', 'description' => '', 'format' => 'int32', 'example' => '0', 'title' => '', 'visibility' => 'Public', 'backendName' => 'Threshold'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
'extendType' => 'true',
],
'example' => '',
'visibility' => 'Public',
'backendName' => 'Sprites',
],
'Animations' => [
'title' => '',
'description' => 'Animations',
'type' => 'array',
'items' => [
'description' => 'The information about the animated image.'."\n",
'type' => 'object',
'properties' => [
'FrameRate' => ['title' => '', 'description' => 'Animation frame rate, in frames per second', 'type' => 'number', 'format' => 'double', 'example' => '25', 'visibility' => 'Public', 'backendName' => 'FrameRate', 'parseType' => 'struct'],
'Format' => ['title' => '', 'description' => 'Format', 'type' => 'string', 'required' => true, 'example' => 'gif', 'visibility' => 'Public', 'backendName' => 'Format'],
'Number' => ['title' => '', 'description' => 'Total number of animation frames to generate', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'visibility' => 'Public', 'backendName' => 'Number'],
'ScaleType' => ['title' => '', 'description' => 'Scaling method', 'type' => 'string', 'example' => 'crop', 'visibility' => 'Public', 'backendName' => 'ScaleType'],
'StartTime' => ['title' => '', 'description' => 'StartTime', 'type' => 'number', 'format' => 'double', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'StartTime', 'parseType' => 'struct'],
'Height' => ['title' => '', 'description' => 'Height', 'type' => 'number', 'format' => 'double', 'example' => '960', 'visibility' => 'Public', 'backendName' => 'Height'],
'URI' => ['title' => '', 'description' => 'The URI of the animation.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/animations', 'visibility' => 'Public', 'backendName' => 'URI'],
'Width' => ['title' => '', 'description' => 'Output width, in pixels', 'type' => 'number', 'format' => 'double', 'example' => '1280', 'visibility' => 'Public', 'backendName' => 'Width'],
'Interval' => ['title' => '', 'description' => 'Time interval between animation frames, in seconds', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.5', 'visibility' => 'Public', 'backendName' => 'Interval', 'parseType' => 'struct'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
'extendType' => 'true',
],
'example' => '',
'visibility' => 'Public',
'backendName' => 'Animations',
],
'Snapshots' => [
'title' => '',
'description' => 'Snapshots',
'type' => 'array',
'items' => [
'description' => 'The information about the frame.'."\n",
'type' => 'object',
'properties' => [
'Format' => ['title' => '', 'description' => 'Image format', 'type' => 'string', 'required' => true, 'example' => 'jpg', 'visibility' => 'Public', 'backendName' => 'Format'],
'Number' => ['title' => '', 'description' => 'The sequence number of the snapshot.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'visibility' => 'Public', 'backendName' => 'Number'],
'ScaleType' => ['title' => '', 'description' => 'Scaling method', 'type' => 'string', 'example' => 'crop', 'visibility' => 'Public', 'backendName' => 'ScaleType'],
'Mode' => ['type' => 'string', 'description' => '', 'example' => 'interval', 'title' => '', 'visibility' => 'Public', 'backendName' => 'Mode'],
'StartTime' => ['title' => '', 'description' => 'The start time of the snapshot.', 'type' => 'number', 'format' => 'double', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'StartTime', 'parseType' => 'struct'],
'Height' => ['title' => '', 'description' => 'Output height, in pixels', 'type' => 'number', 'format' => 'double', 'example' => '960', 'visibility' => 'Public', 'backendName' => 'Height'],
'URI' => ['title' => '', 'description' => 'OSS URI where snapshots are stored', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/snapshots', 'visibility' => 'Public', 'backendName' => 'URI'],
'Width' => ['title' => '', 'description' => 'The width of the snapshot.', 'type' => 'number', 'format' => 'double', 'example' => '1280', 'visibility' => 'Public', 'backendName' => 'Width'],
'Interval' => ['title' => '', 'description' => 'Time interval between snapshots, in seconds', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.5', 'visibility' => 'Public', 'backendName' => 'Interval', 'parseType' => 'struct'],
'Threshold' => ['type' => 'integer', 'description' => '', 'format' => 'int32', 'example' => '0', 'title' => '', 'visibility' => 'Public', 'backendName' => 'Threshold'],
],
'title' => '',
'example' => '',
'visibility' => 'Public',
'extendType' => 'true',
],
'example' => '',
'visibility' => 'Public',
'backendName' => 'Snapshots',
],
],
'example' => '',
'visibility' => 'Public',
],
'TargetSubtitle' => [
'title' => '',
'description' => 'The subtitle processing settings.'."\n",
'type' => 'object',
'properties' => [
'DisableSubtitle' => ['title' => '', 'description' => 'Specifies whether to disable subtitle generation. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false (default)'."\n"
."\n"
.'> If you call the GenerateVideoPlaylist operation and subtitles are required, you must set this parameter to false.'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'DisableSubtitle'],
'Stream' => [
'title' => '',
'description' => 'The index numbers of subtitle streams that need to be processed. If you set this parameter to null (default) or a value greater than 100, all subtitle streams are processed.'."\n"
."\n"
.'* For example, you can set the parameter to `[0,1]` to process subtitle streams with index numbers 0 and 1, `[1]` to process only the subtitle stream with the index number 1, and `[101]` to process all subtitle streams.'."\n"
."\n"
.'> If you specify an index number but no subtitle stream with the index number is found, the index number is ignored.'."\n",
'type' => 'array',
'items' => ['description' => 'The index number of the subtitle stream that needs to be processed.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'extendType' => 'true', 'title' => ''],
'visibility' => 'Public',
'backendName' => 'Stream',
'example' => '',
],
'ExtractSubtitle' => [
'title' => '',
'description' => 'The subtitle extraction settings.'."\n"
."\n"
.'> The GenerateVideoPlaylist operation does not support this parameter.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['title' => '', 'description' => 'The prefix of the OSS URI where the extracted subtitles are stored. The OSS URI is in the oss://bucket/object format, where bucket specifies the name of the OSS bucket that is in the same region as the current project and object specifies the full file path that includes the file name extension.'."\n"
."\n"
.'* Example: If the prefix is oss://examplebucket/outputSubtitle, an output subtitle file has a URI in the format of oss://examplebucket/outputSubitile\\_${index}.${ext}. In the URI format, ${ext} is the file name extension of the output subtitle file, and ${index} is the same 0-based index number as that of the corresponding source subtitle stream file.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/extractsubtitle', 'visibility' => 'Public', 'backendName' => 'URI'],
'Format' => ['title' => '', 'description' => 'The format of the extracted subtitle file. Valid values:'."\n"
."\n"
.'* ass'."\n"
.'* srt'."\n"
.'* webvtt'."\n", 'type' => 'string', 'example' => 'webvtt', 'visibility' => 'Public', 'backendName' => 'Format'],
],
'visibility' => 'Public',
'backendName' => 'ExtractSubtitle',
'example' => '',
],
],
'visibility' => 'Public',
'example' => '',
],
'TargetVideo' => [
'title' => '',
'description' => 'Parameter settings for video processing.',
'type' => 'object',
'properties' => [
'DisableVideo' => ['description' => 'Specifies whether to disable video stream generation. Valid values:'."\n"
."\n"
.'- true: Disables video stream generation. The output file will not contain a video stream.'."\n"
."\n"
.'- false (default): Enables video stream generation.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Stream' => [
'title' => '',
'description' => 'A list of index numbers for the source video streams to process. If you leave this parameter empty (default), the system processes the video stream with the smallest index number (the first video stream). If you set the index number to a value greater than 100, the system processes all video streams.'."\n"
."\n"
.'- Example: `[0,1]` processes video streams with index numbers 0 and 1. `[1]` processes the video stream with index number 1. `[101]` processes all video streams.'."\n"
."\n"
.'> The system only processes video streams with existing index numbers. If a video stream corresponding to an index number does not exist, the system ignores that index number.',
'type' => 'array',
'items' => ['description' => 'The index number of the video stream to process.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
'example' => '',
],
'TranscodeVideo' => [
'title' => '',
'description' => 'The video transcoding parameters. An empty value disables video processing. The output file will not contain a video stream.'."\n"
."\n"
.'> Do not disable video processing by leaving this parameter empty.',
'type' => 'object',
'properties' => [
'Codec' => ['description' => 'The video encoding format. Valid values:'."\n"
."\n"
.'- For the CreateMediaConvert API: copy (default), h264, h265, and vp9.'."\n"
."\n\n"
.' >'."\n"
."\n"
.' If you set this parameter to copy, the system directly copies the video stream to the output file. In this case, the other parameters under **TranscodeVideo** are invalid. The copy value cannot be used for video concatenation and is typically used for container format conversion.'."\n"
."\n"
.' > '."\n"
."\n"
.'- For the GenerateVideoPlaylist API: h264 (default) and h265.', 'type' => 'string', 'title' => '', 'example' => 'h264'],
'PixelFormat' => ['description' => 'The pixel format. By default, this is the same as the source video. Valid values:'."\n"
."\n"
.'- yuv420p'."\n"
."\n"
.'- yuv422p'."\n"
."\n"
.'- yuv444p'."\n"
."\n"
.'- yuv420p10le'."\n"
."\n"
.'- yuv422p10le'."\n"
."\n"
.'- yuv444p10le'."\n"
."\n"
.'- yuva420p'."\n"
."\n"
.'> The yuva420p value is available only for the CreateMediaConvert API, and the **Codec** parameter must be set to vp9.', 'type' => 'string', 'title' => '', 'example' => 'yuv420p'],
'FrameRateOption' => ['description' => 'The frame rate option. Valid values:'."\n"
."\n"
.'- fixed: Always uses the specified target video frame rate.'."\n"
."\n"
.'- adaptive: Uses the source video frame rate if it is lower than the specified target video frame rate.'."\n"
."\n"
.'- fall: The task fails if the source video frame rate is lower than the specified target video frame rate.'."\n"
."\n"
.'Default value:'."\n"
."\n"
.'- For the CreateMediaConvert API, the default value is fixed.'."\n"
."\n"
.'- For the GenerateVideoPlaylist API, the default value is adaptive.'."\n"
."\n"
.'> This parameter must be set together with the **FrameRate** parameter.', 'type' => 'string', 'title' => '', 'example' => 'fixed'],
'FrameRate' => ['description' => 'The video frame rate. By default, this is the same as the source video.', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '25'],
'ResolutionOption' => ['description' => 'The resolution option. Valid values:'."\n"
."\n"
.'- fixed: Always uses the specified target video resolution.'."\n"
."\n"
.'- adaptive: Uses the source video resolution if its area is smaller than the area of the specified target video resolution.'."\n"
."\n"
.'- fall: The task fails if the area of the source video resolution is smaller than the area of the specified target video resolution.'."\n"
."\n"
.'Default value:'."\n"
."\n"
.'- For the CreateMediaConvert API, the default value is fixed.'."\n"
."\n"
.'- For the GenerateVideoPlaylist API, the default value is adaptive.'."\n"
."\n"
.'> This parameter must be set together with the **Resolution** parameter.', 'type' => 'string', 'title' => '', 'example' => 'fixed'],
'Resolution' => ['description' => 'The resolution of the output video in the format of `width × height`. By default, this is the same as the playback resolution of the source video. You can configure both width and height, or only width or height. You can also use this parameter with the **AdaptiveResolutionDirection** parameter to configure both the long and short edges, or only the long or short edge. The value for a single edge ranges from (0, 4096].'."\n"
."\n"
.'- Example 1: If **AdaptiveResolutionDirection** is set to false, `1280x720` sets the width to 1280 and the height to 720. `1280x` sets the width to 1280 and keeps the height the same as the source video. `x720` sets the height to 720 and keeps the width the same as the source video.'."\n"
."\n"
.'- Example 2: If **AdaptiveResolutionDirection** is set to true, `1280x720` sets the long edge to 1280 and the short edge to 720. `1280x` sets the long edge to 1280 and keeps the short edge the same as the source video. `x720` sets the short edge to 720 and keeps the long edge the same as the source video.'."\n"
."\n"
.'> If the source video contains rotation information, the width, height, long edge, and short edge are determined based on the rotated video, which means the playback resolution is used.', 'type' => 'string', 'title' => '', 'example' => '640x480'],
'AdaptiveResolutionDirection' => ['description' => 'Specifies whether to enable adaptive resolution for long and short edges. Valid values:'."\n"
."\n"
.'- true: Yes. In this case, the format for the **Resolution** parameter is `long edge × short edge`.'."\n"
."\n"
.'- false (default): No. In this case, the format for the **Resolution** parameter is `width × height`.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'ScaleType' => ['description' => 'The scaling mode. Valid values:'."\n"
."\n"
.'- stretch (default): Fixes the width and height or the long and short edges, and forces scaling to stretch and fill any blank areas.'."\n"
."\n"
.'- crop: Scales the video proportionally to the minimum resolution that extends beyond the specified rectangle (defined by width/height or long/short edges), and then center-crops the excess parts.'."\n"
."\n"
.'- fill: Scales the video proportionally to the maximum resolution that fits within the specified rectangle (defined by width/height or long/short edges), and then center-fills any blank areas with black.'."\n"
."\n"
.'- fit: Scales the video proportionally to the maximum resolution that fits within the specified rectangle (defined by width/height or long/short edges).'."\n"
."\n"
.'> This parameter must be set together with the **Resolution** parameter.', 'type' => 'string', 'title' => '', 'example' => 'crop'],
'Rotation' => ['description' => 'The clockwise rotation angle of the video in degrees. Valid values:'."\n"
."\n"
.'- 0 (default)'."\n"
."\n"
.'- 90'."\n"
."\n"
.'- 180'."\n"
."\n"
.'- 270', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '90'],
'BitrateOption' => ['description' => 'The video bitrate option. Valid values:'."\n"
."\n"
.'- fixed: Always uses the specified target video bitrate.'."\n"
."\n"
.'- adaptive: Uses the source video bitrate if it is lower than the specified target video bitrate.'."\n"
."\n"
.'- fall: The task fails if the source video bitrate is lower than the specified target video bitrate.'."\n"
."\n"
.'Default value:'."\n"
."\n"
.'- For the CreateMediaConvert API, the default value is fixed.'."\n"
."\n"
.'- For the GenerateVideoPlaylist API, the default value is adaptive.'."\n"
."\n"
.'> This parameter must be set together with the **Bitrate** parameter.', 'type' => 'string', 'title' => '', 'example' => 'fixed'],
'Bitrate' => ['description' => 'The video stream bitrate in bits per second (bit/s).'."\n"
."\n"
.'> This parameter is mutually exclusive with **CRF**. If both this parameter and the **CRF** parameter are empty, the system encodes the video with a CRF value of 23.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '128000'],
'GOPSize' => ['description' => 'The size of the Group of Pictures (GOP) in frames. The default value is 150.'."\n"
."\n"
.'> This parameter is not supported by the GenerateVideoPlaylist API.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '60'],
'CRF' => ['description' => 'Specifies the Constant Rate Factor (CRF) mode. This parameter is mutually exclusive with **Bitrate**. The value ranges from 0 to 51. A larger value indicates lower image quality. A value from 18 to 38 is recommended.', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '18'],
'BufferSize' => ['description' => 'The size of the decoding buffer for dynamic bitrate, in bits per second (bps).'."\n"
."\n"
.'> This parameter is effective only when used with the **CRF** parameter.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '4000000'],
'MaxBitrate' => ['description' => 'The maximum bitrate limit for dynamic bitrate. When you use this parameter, you must also specify the BufferSize parameter.'."\n"
."\n"
.'> This parameter is effective only when used with the **CRF** parameter.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '128000'],
'BFrames' => ['description' => 'The number of consecutive B-frames. The default value is 3.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '3'],
'Refs' => ['description' => 'The number of reference frames. The default value is 2.', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '2'],
'VideoSlim' => ['description' => 'Enables the Narrowband HD mode. Set the value as follows:'."\n"
."\n"
.'0: The default value. Disables the mode.'."\n"
."\n"
.'1: Enables transcoding in Narrowband HD mode.'."\n"
."\n"
.'> For best results, use the officially recommended Bitrate or CRF parameters for video transcoding and encoding in Narrowband HD mode.'."\n"
."\n"
.'>'."\n"
."\n"
.'Narrowband HD only supports the h.264/h.265 format, yuv420p, and an 8-bit depth. It does not support transcoding output for multiple target videos or video concatenation. For more information, see [Introduction to Narrowband HD](~~2984556~~).'."\n"
."\n"
.'> ', 'type' => 'integer', 'title' => '', 'example' => '0', 'format' => 'int32'],
],
'example' => '',
],
'FilterVideo' => [
'title' => '',
'description' => 'The video processing parameters. This parameter is invalid if **TranscodeVideo** is empty or if **TranscodeVideo.Codec** is set to copy.'."\n"
."\n"
.'> You cannot set this parameter for the GenerateVideoPlaylist API.',
'type' => 'object',
'properties' => [
'Watermarks' => [
'title' => '',
'description' => 'A list of video watermarks.',
'type' => 'array',
'items' => [
'description' => 'The video watermark information.',
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The watermark type. Valid values:'."\n"
."\n"
.'- text (default): A text watermark.'."\n"
."\n"
.'- file: An image or animated image watermark.', 'type' => 'string', 'title' => '', 'example' => 'text'],
'Dx' => ['description' => 'The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- 0 (default): The pixel offset is 0. The ratio of the horizontal offset to the output video width is also 0.'."\n"
."\n"
.'- Integer: The offset in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the horizontal offset to the output video width. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0'],
'Dy' => ['description' => 'The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- 0 (default): The pixel offset is 0. The ratio of the vertical offset to the output video height is also 0.'."\n"
."\n"
.'- Integer: The offset in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the vertical offset to the output video height. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0'],
'StartTime' => ['description' => 'The start time for adding the watermark, in seconds (s). By default, the watermark is added from the beginning of the video.', 'type' => 'number', 'title' => '', 'format' => 'double', 'example' => '0'],
'Duration' => ['description' => 'The duration for which the watermark is displayed, in seconds (s). By default, the watermark is displayed until the end of the video.', 'type' => 'number', 'title' => '', 'format' => 'double', 'example' => '0'],
'ReferPos' => ['description' => 'The reference position for adding the watermark. Valid values:'."\n"
."\n"
.'- topleft (default): The top-left corner.'."\n"
."\n"
.'- topright: The top-right corner.'."\n"
."\n"
.'- bottomright: The bottom-right corner.'."\n"
."\n"
.'- bottomleft: The bottom-left corner.', 'type' => 'string', 'title' => '', 'example' => 'topleft'],
'Content' => ['description' => 'The content of the text watermark. The default value is empty.'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'string', 'title' => '', 'example' => 'example'],
'FontName' => ['description' => 'The font name for the text watermark. Valid values:'."\n"
."\n"
.'- SourceHanSans-Regular (default)'."\n"
."\n"
.'- SourceHanSans-Bold'."\n"
."\n"
.'- SourceHanSerif-Regular'."\n"
."\n"
.'- SourceHanSerif-Bold'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'string', 'title' => '', 'example' => 'SourceHanSans-Bold'],
'FontSize' => ['description' => 'The font size for the text watermark. The default value is 16. The value must be an integer in the range (4, 120).'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '18'],
'FontColor' => ['description' => 'The font color of the watermark text. The format is #RRGGBB. The default value is #000000. You can also enter values such as "red" or "green".'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'string', 'title' => '', 'example' => 'red'],
'FontApha' => ['description' => 'The font opacity of the text watermark. The value ranges from (0, 1]. The default value is 1, which means fully opaque.'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0.8'],
'BorderWidth' => ['description' => 'The outline width for the text watermark, in pixels (px). The value must be an integer from 0 to 4096. The default value is 0.'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'integer', 'title' => '', 'format' => 'int32', 'example' => '2'],
'BorderColor' => ['description' => 'The outline color of the watermark text. The format is #RRGGBB. The default value is #000000. You can also enter values such as "red" or "green".'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `text`.'."\n"
."\n"
.'> ', 'type' => 'string', 'title' => '', 'example' => 'red'],
'URI' => ['description' => 'The OSS URL of the watermark file. Supported formats are PNG and MOV.'."\n"
."\n"
.'The OSS URL must follow the format `oss:///`, where `` is the name of an OSS bucket in the same region as the current project, and `` is the full path of the file, including the file name extension.'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is effective only when the `Type` parameter is set to `file`.'."\n"
."\n"
.'> ', 'type' => 'string', 'title' => '', 'example' => 'oss://test-bucket/watermark.jpg'],
'Width' => ['description' => 'The width of the watermark image. By default, this is the width of the original watermark image. The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- Integer: The width of the watermark in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the watermark width to the output video width. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '80'],
'Height' => ['description' => 'The height of the watermark image. By default, this is the height of the original watermark image. The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- Integer: The height of the watermark in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the watermark height to the output video height. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '40'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Delogos' => [
'title' => '',
'description' => 'Blurs a rectangular area of the video to remove logos, station icons, and other elements.',
'type' => 'array',
'items' => [
'description' => 'The parameters for video blurring.',
'type' => 'object',
'properties' => [
'StartTime' => ['description' => 'The start time for adding the mosaic, in seconds (s). By default, the mosaic is added from the beginning of the video.', 'type' => 'number', 'title' => '', 'format' => 'double', 'example' => '0'],
'Duration' => ['description' => 'The duration for which the mosaic is displayed, in seconds (s). By default, the mosaic is displayed until the end of the video.', 'type' => 'number', 'title' => '', 'format' => 'double', 'example' => '15'],
'Dx' => ['description' => 'The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- 0 (default): The pixel offset is 0. The ratio of the horizontal offset to the output video width is also 0.'."\n"
."\n"
.'- Integer: The offset in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the horizontal offset to the output video width. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0'],
'Dy' => ['description' => 'The default value is 0. The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- 0 (default): The pixel offset is 0. The ratio of the vertical offset to the output video height is also 0.'."\n"
."\n"
.'- Integer: The offset in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the vertical offset to the output video height. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '0'],
'Width' => ['description' => 'The width of the mosaic. The default value is the decimal 1.0, which means it fills the entire width of the output video. The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- Integer: The width in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the mosaic width to the output video width. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '100'],
'Height' => ['description' => 'The height of the mosaic. The default value is the decimal 1.0, which means it fills the entire height of the output video. The meaning of this parameter varies depending on whether the value is an integer or a decimal:'."\n"
."\n"
.'- Integer: The height in pixels (px). The value ranges from 1 to 4096.'."\n"
."\n"
.'- Decimal: The ratio of the mosaic height to the output video height. The value ranges from (0, 1).', 'type' => 'number', 'title' => '', 'format' => 'float', 'example' => '40'],
'ReferPos' => ['description' => 'The reference position for adding the mosaic. Valid values:'."\n"
."\n"
.'- topleft (default): The top-left corner.'."\n"
."\n"
.'- topright: The top-right corner.'."\n"
."\n"
.'- bottomright: The bottom-right corner.'."\n"
."\n"
.'- bottomleft: The bottom-left corner.', 'type' => 'string', 'title' => '', 'example' => 'topleft'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'Speed' => ['description' => 'The video playback speed setting. The value ranges from 0.5 to 1.0. The default value is 1.0.'."\n"
."\n"
.'> - This is the ratio of the default playback speed of the transcoded media file to that of the source media file. This is not a high-speed transcoding feature.'."\n"
."\n"
.'>'."\n"
."\n"
.'- This parameter applies only to the CreateMediaConvertTask API.'."\n"
."\n"
.'> ', 'type' => 'number', 'format' => 'float', 'example' => '1.0', 'title' => ''],
'Desensitization' => [
'description' => 'The video desensitization configuration.'."\n"
."\n"
.'>'."\n"
."\n"
.'- This parameter applies only to the CreateMediaConvertTask API.'."\n"
."\n"
.'> ',
'type' => 'object',
'properties' => [
'Face' => [
'description' => 'The facial desensitization configuration.'."\n"
."\n"
.'> This feature is in public preview. If you have any questions, join the DingTalk group for feedback. For the DingTalk group number, see [Contact us](~~84454~~).',
'type' => 'object',
'properties' => [
'Confidence' => ['description' => 'The confidence threshold for facial recognition. This sets the lower limit for the confidence level. If the confidence level of a detected face is below this threshold, the face is not desensitized.'."\n"
."\n"
.'- Value range: 0.0 to 1.0.'."\n"
."\n"
.'- Default value: 0.0 (no confidence filtering).', 'type' => 'number', 'format' => 'float', 'example' => '0.4', 'title' => ''],
'MinSize' => ['description' => 'The minimum face size threshold. This sets the minimum size for a face to be desensitized. If the width or height of a detected face is smaller than this threshold, the face is not desensitized. The unit is pixels. The default value is 0, which means there is no restriction on face size.', 'type' => 'integer', 'format' => 'int32', 'example' => '0.4', 'title' => ''],
],
'title' => '',
'example' => '',
],
'LicensePlate' => [
'description' => 'The license plate desensitization configuration.'."\n"
."\n"
.'> This feature is in public preview. If you have any questions, join the DingTalk group for feedback. For the DingTalk group number, see [Contact us](~~84454~~).',
'type' => 'object',
'properties' => [
'Confidence' => ['description' => 'The confidence threshold for license plate recognition. This sets the lower limit for the confidence level. If the confidence level of a detected license plate is below this threshold, the license plate is not desensitized.'."\n"
."\n"
.'- Value range: 0.0 to 1.0.'."\n"
."\n"
.'- Default value: 0.0 (no confidence filtering).', 'type' => 'number', 'format' => 'float', 'example' => '0.4', 'title' => ''],
'MinSize' => ['description' => 'The minimum license plate size threshold. This sets the minimum size for a license plate to be desensitized. If the width or height of a detected license plate is smaller than this threshold, the license plate is not desensitized. The unit is pixels. The default value is 0, which means there is no restriction on license plate size.', 'type' => 'integer', 'format' => 'int32', 'example' => '0.4', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
'example' => '',
],
'TaskInfo' => [
'title' => '',
'description' => 'The task information.'."\n",
'type' => 'object',
'properties' => [
'Status' => ['title' => '', 'description' => 'The status of the task. Valid values:'."\n"
."\n"
.'* Running: The task is running.'."\n"
.'* Succeeded: The task is successful.'."\n"
.'* Failed: The task failed.'."\n", 'type' => 'string', 'example' => 'Running', 'visibility' => 'Public', 'backendName' => 'Status'],
'Code' => ['title' => '', 'description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'ResourceNotFound', 'visibility' => 'Public', 'backendName' => 'Code'],
'Message' => ['title' => '', 'description' => 'The error message.'."\n", 'type' => 'string', 'example' => 'The specified resource project is not found.', 'visibility' => 'Public', 'backendName' => 'Message'],
'StartTime' => ['title' => '', 'description' => 'The start time of the task.'."\n", 'type' => 'string', 'example' => '2021-12-24T03:01:41.662060377Z', 'visibility' => 'Public', 'backendName' => 'StartTime'],
'EndTime' => ['title' => '', 'description' => 'The end time of the task.'."\n", 'type' => 'string', 'example' => '2021-12-24T03:01:49.480109219Z', 'visibility' => 'Public', 'backendName' => 'EndTime'],
'UserData' => ['title' => '', 'description' => 'The custom user data.'."\n", 'type' => 'string', 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'visibility' => 'Public', 'backendName' => 'UserData'],
'TaskType' => ['title' => '', 'description' => 'The type of the task.'."\n", 'type' => 'string', 'example' => 'VideoLabelClassification', 'visibility' => 'Public', 'backendName' => 'TaskType'],
'TaskId' => ['title' => '', 'description' => 'The ID of the task.'."\n", 'type' => 'string', 'example' => 'c2b277b9-0d30-4882-ad6d-ad661382****', 'visibility' => 'Public', 'backendName' => 'TaskId'],
'Tags' => ['title' => '', 'description' => 'The tags of the task. You can search for tasks by tag.'."\n", 'type' => 'object', 'visibility' => 'Public', 'backendName' => 'Tags', 'example' => ''],
'TaskRequestDefinition' => ['title' => '', 'description' => 'The parameter definition in the JSON string format. For more information, see the Request parameters section of the topic about an asynchronous processing task.'."\n", 'type' => 'string', 'example' => '{'."\n"
.' "ProjectName":"test-project",'."\n"
.' "CompressedFormat":"zip",'."\n"
.' "TargetURI":"oss://test-bucket/output/test.zip",'."\n"
.' "Sources":[{"URI":"oss://test-bucket/input/test.jpg"}]'."\n"
.'}', 'visibility' => 'Public', 'backendName' => 'TaskRequestDefinition'],
'Progress' => ['title' => '', 'description' => 'The progress of the task.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'Progress'],
],
'visibility' => 'Public',
'example' => '',
],
'TimeRange' => [
'title' => '',
'description' => 'The time range.'."\n",
'type' => 'object',
'properties' => [
'Start' => ['title' => '', 'description' => 'The start time.'."\n", 'type' => 'string', 'example' => '2016-12-31T00:00:00+08:00', 'visibility' => 'Public', 'backendName' => 'Start'],
'End' => ['title' => '', 'description' => 'The end time.'."\n", 'type' => 'string', 'example' => '2016-12-31T00:00:00+08:00', 'visibility' => 'Public', 'backendName' => 'End'],
],
'visibility' => 'Public',
'example' => '',
],
'ToolCall' => [
'title' => '',
'description' => 'The tool that can be used by the AI assistant.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['title' => '', 'description' => 'The type of the tool.'."\n", 'type' => 'string', 'example' => 'function', 'visibility' => 'Public', 'backendName' => 'Type'],
'Function' => ['description' => 'The definition of the function that can be called by the AI assistant.'."\n", '$ref' => '#/components/schemas/FunctionCall', 'visibility' => 'Public', 'backendName' => 'Function', 'title' => '', 'example' => ''],
],
'visibility' => 'Public',
'example' => '',
],
'TrainingSpecification' => [
'title' => '',
'description' => 'x'."\n",
'type' => 'object',
'properties' => [
'ValidationSourceURI' => ['title' => '', 'description' => 'The URI of the evaluation dataset. You must specify this parameter or the ValidationSplit parameter.'."\n", 'type' => 'string', 'example' => 'oss://imm-alg-dataset-bj/cifar10/test_index.json', 'visibility' => 'Public', 'backendName' => 'ValidationSourceURI'],
'Runtime' => ['description' => 'The information about the runtime for model training.'."\n", 'required' => true, '$ref' => '#/components/schemas/Runtime', 'visibility' => 'Public', 'backendName' => 'Runtime', 'title' => '', 'example' => ''],
'Endpoint' => ['title' => '', 'description' => 'The endpoint of the storage where the dataset is stored.'."\n", 'type' => 'string', 'required' => true, 'example' => 'http://1111111111.mns.cn-hangzhou.aliyuncs.com', 'visibility' => 'Public', 'backendName' => 'Endpoint'],
'ModelSpecification' => ['description' => 'The model specification details.'."\n", 'required' => true, '$ref' => '#/components/schemas/ModelSpecification', 'visibility' => 'Public', 'backendName' => 'ModelSpecification', 'title' => '', 'example' => ''],
'DatasetName' => ['title' => '', 'description' => 'Name of the dataset'."\n", 'type' => 'string', 'example' => 'test-dataset', 'visibility' => 'Public', 'backendName' => 'DatasetName'],
'SourceURI' => ['title' => '', 'description' => 'URI of the dataset'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://imm-alg-dataset-bj/cifar10/test_index.json', 'visibility' => 'Public', 'backendName' => 'SourceURI'],
'Transforms' => [
'title' => '',
'description' => 'Local preprocessing parameters for the dataset.'."\n",
'type' => 'array',
'items' => ['description' => 'Custom parameters for model training.'."\n", '$ref' => '#/components/schemas/CustomParams', 'visibility' => 'Public', 'extendType' => 'true', 'title' => '', 'example' => ''],
'visibility' => 'Public',
'backendName' => 'Transforms',
'example' => '',
],
'ValidationSplit' => ['title' => '', 'description' => 'The ratio for splitting the training dataset into the evaluation dataset. You must specify this parameter or the ValidationSourceURI parameter.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.95', 'visibility' => 'Public', 'backendName' => 'ValidationSplit'],
'TargetURI' => ['title' => '', 'description' => 'The storage path to the model data. Only an Object Storage Service (OSS) path is supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://imm-alg-dataset-bj/model_training_test/', 'visibility' => 'Public', 'backendName' => 'TargetURI'],
],
'visibility' => 'Public',
'example' => '',
],
'TrimPolicy' => [
'title' => '',
'description' => 'The trim policy for document conversion.'."\n",
'type' => 'object',
'properties' => [
'DisableDeleteEmptyCell' => ['title' => '', 'description' => 'Specifies whether to prevent all empty cells from being deleted. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'DisableDeleteEmptyCell'],
'DisableDeleteRepeatedStyle' => ['title' => '', 'description' => 'Specifies whether to prevent all duplicate styles from being deleted. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'DisableDeleteRepeatedStyle'],
'DisableDeleteUnusedShape' => ['title' => '', 'description' => 'Specifies whether to prevent unused shapes from being deleted. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'DisableDeleteUnusedShape'],
'DisableDeleteUnusedPicture' => ['title' => '', 'description' => 'Specifies whether to prevent unused cell images from being deleted. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'DisableDeleteUnusedPicture'],
],
'visibility' => 'Public',
'example' => '',
],
'VideoInsight' => [
'description' => 'Video summary and description.'."\n",
'type' => 'object',
'properties' => [
'Description' => ['description' => 'The description of the video file.'."\n"
."\n"
.'> Not supported.'."\n", 'type' => 'string', 'example' => '无。', 'title' => ''],
'Caption' => ['description' => 'Video summary.'."\n", 'type' => 'string', 'example' => '视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。', 'title' => ''],
],
'title' => '',
'example' => '',
],
'VideoInsightsCaptionConfig' => [
'description' => 'The video synopsis configuration.',
'type' => 'object',
'properties' => [
'PersonReference' => ['description' => 'The person reference configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/PersonReferenceConfig'],
'Enable' => ['description' => 'Specifies whether to enable video captioning.', 'type' => 'boolean', 'title' => '', 'example' => ''],
'Prompt' => ['description' => 'The custom prompt for video captioning.', 'type' => 'string', 'title' => '', 'example' => '请用一句话描述这个视频'],
],
'title' => '',
'example' => '',
],
'VideoInsightsConfig' => [
'description' => 'The video content perception configuration.',
'type' => 'object',
'properties' => [
'Caption' => ['description' => 'The video synopsis configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsCaptionConfig'],
'Label' => ['description' => 'The label configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsLabelConfig'],
'MultiStream' => ['description' => 'The video multi-stream configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsMultiStreamConfig'],
],
'title' => '',
'example' => '',
],
'VideoInsightsHighlightLabelConfig' => [
'description' => 'The highlight label configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether highlight labels are supported.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Labels' => [
'description' => 'The list of labels.',
'type' => 'array',
'items' => ['description' => 'The label.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/InsightsLabel'],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'VideoInsightsLabelConfig' => [
'description' => 'The label configuration.',
'type' => 'object',
'properties' => [
'System' => ['description' => 'The system label configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsSystemLabelConfig'],
'UserDefined' => ['description' => 'The custom label configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsUserDefinedLabelConfig'],
'Highlight' => ['description' => 'The highlight label configuration.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/VideoInsightsHighlightLabelConfig'],
],
'title' => '',
'example' => '',
],
'VideoInsightsMultiStreamConfig' => [
'description' => 'The video multi-stream configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether video multi-stream is supported.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
],
'title' => '',
'example' => '',
],
'VideoInsightsSystemLabelConfig' => [
'description' => 'The system label configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether system labels are supported.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
],
'title' => '',
'example' => '',
],
'VideoInsightsUserDefinedLabelConfig' => [
'description' => 'The custom label configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether to enable custom labels.', 'type' => 'boolean', 'title' => '', 'example' => 'false'],
'Labels' => [
'description' => 'The list of custom labels.',
'type' => 'array',
'items' => ['description' => 'The custom label.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/InsightsLabel'],
'title' => '',
'example' => '',
],
'Mode' => [
'description' => 'The custom label matching mode. The SDK passes this as an optional string.',
'enumValueTitles' => ['Enhanced' => 'Enhanced', 'Simple' => 'Simple'],
'type' => 'string',
'title' => '',
'example' => 'Enhanced',
],
],
'title' => '',
'example' => '',
],
'VideoReadKeywordOption' => [
'description' => 'The keyword extraction options for video intensive reading.',
'type' => 'object',
'properties' => [
'Extract' => ['description' => 'Specifies whether to fetch keywords.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'Count' => ['description' => 'The number of keywords. Valid values: 0 to 10.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'VideoReadPPTOption' => [
'description' => 'The video intensive reading PPT fetch options.',
'type' => 'object',
'properties' => [
'Extract' => ['description' => 'Specifies whether to fetch.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'VideoReadQuestionOption' => [
'description' => 'The video intensive reading question generation options.',
'type' => 'object',
'properties' => [
'Extract' => ['description' => 'Specifies whether to fetch.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'Count' => ['description' => 'The number of keywords. Valid values: 0 to 10.', 'type' => 'integer', 'title' => '', 'example' => '1', 'format' => 'int32'],
],
'title' => '',
'example' => '',
],
'VideoReverseImageConfig' => [
'description' => 'The image-to-video search configuration.',
'type' => 'object',
'properties' => [
'Enable' => ['description' => 'Specifies whether to enable the feature.', 'type' => 'boolean', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'VideoStream' => [
'title' => '',
'description' => 'The information about the video stream.'."\n",
'type' => 'object',
'properties' => [
'Index' => ['title' => '', 'description' => 'The index number of the video stream.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'visibility' => 'Public', 'backendName' => 'Index'],
'Language' => ['title' => '', 'description' => 'The language used in the video stream. The language is indicated by using a BCP 47 language tag.'."\n", 'type' => 'string', 'example' => 'en', 'visibility' => 'Public', 'backendName' => 'Language'],
'CodecName' => ['title' => '', 'description' => 'The abbreviated name of the codec.'."\n", 'type' => 'string', 'example' => 'h264', 'visibility' => 'Public', 'backendName' => 'CodecName'],
'CodecLongName' => ['title' => '', 'description' => 'The full name of the codec.'."\n", 'type' => 'string', 'example' => 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10', 'visibility' => 'Public', 'backendName' => 'CodecLongName'],
'Profile' => ['title' => '', 'description' => 'The profile.'."\n", 'type' => 'string', 'example' => 'High', 'visibility' => 'Public', 'backendName' => 'Profile'],
'CodecTimeBase' => ['title' => '', 'description' => 'The time base of the codec.'."\n", 'type' => 'string', 'example' => '1373627/83160000', 'visibility' => 'Public', 'backendName' => 'CodecTimeBase'],
'CodecTagString' => ['title' => '', 'description' => 'The description of the codec tag.'."\n", 'type' => 'string', 'example' => 'avc1', 'visibility' => 'Public', 'backendName' => 'CodecTagString'],
'CodecTag' => ['title' => '', 'description' => 'The tag of the codec.'."\n", 'type' => 'string', 'example' => '0x31637661', 'visibility' => 'Public', 'backendName' => 'CodecTag'],
'Width' => ['title' => '', 'description' => 'The image width of the video stream. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1280', 'visibility' => 'Public', 'backendName' => 'Width'],
'Height' => ['title' => '', 'description' => 'The image height of the video stream. Unit: pixels.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '720', 'visibility' => 'Public', 'backendName' => 'Height'],
'HasBFrames' => ['title' => '', 'description' => 'Specifies whether the video stream contains B frames.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'visibility' => 'Public', 'backendName' => 'HasBFrames'],
'SampleAspectRatio' => ['title' => '', 'description' => 'The sampling aspect ratio of the video stream.'."\n", 'type' => 'string', 'example' => '1:1', 'visibility' => 'Public', 'backendName' => 'SampleAspectRatio'],
'DisplayAspectRatio' => ['title' => '', 'description' => 'The display aspect ratio of the video stream.'."\n", 'type' => 'string', 'example' => '16:9', 'visibility' => 'Public', 'backendName' => 'DisplayAspectRatio'],
'PixelFormat' => ['title' => '', 'description' => 'The pixel format of the video stream.'."\n", 'type' => 'string', 'example' => 'yuv420p', 'visibility' => 'Public', 'backendName' => 'PixelFormat'],
'Level' => ['title' => '', 'description' => 'The level.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '40', 'visibility' => 'Public', 'backendName' => 'Level'],
'FrameRate' => ['title' => '', 'description' => 'The frame rate of the video stream.'."\n", 'type' => 'string', 'example' => '25/1', 'visibility' => 'Public', 'backendName' => 'FrameRate'],
'AverageFrameRate' => ['title' => '', 'description' => 'The average frame rate of the video stream.'."\n", 'type' => 'string', 'example' => '25/1', 'visibility' => 'Public', 'backendName' => 'AverageFrameRate'],
'TimeBase' => ['title' => '', 'description' => 'The time base.'."\n", 'type' => 'string', 'example' => '1/12800', 'visibility' => 'Public', 'backendName' => 'TimeBase'],
'StartTime' => ['title' => '', 'description' => 'The start time of the video stream. Unit: seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.000000', 'visibility' => 'Public', 'backendName' => 'StartTime'],
'Duration' => ['title' => '', 'description' => 'The duration of the video stream. Unit: seconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '22.88', 'visibility' => 'Public', 'backendName' => 'Duration'],
'Bitrate' => ['title' => '', 'description' => 'The bitrate. Unit: bit/s.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5407765', 'visibility' => 'Public', 'backendName' => 'Bitrate'],
'FrameCount' => ['title' => '', 'description' => 'The number of frames.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '572', 'visibility' => 'Public', 'backendName' => 'FrameCount'],
'Rotate' => ['title' => '', 'description' => 'The image rotation angle of the video stream.'."\n", 'type' => 'string', 'example' => '90', 'visibility' => 'Public', 'backendName' => 'Rotate'],
'BitDepth' => ['title' => '', 'description' => 'The bit depth.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'visibility' => 'Public', 'backendName' => 'BitDepth'],
'ColorSpace' => ['title' => '', 'description' => 'The color space.'."\n", 'type' => 'string', 'example' => 'bt709', 'visibility' => 'Public', 'backendName' => 'ColorSpace'],
'ColorRange' => ['title' => '', 'description' => 'The color range.'."\n", 'type' => 'string', 'example' => 'tv', 'visibility' => 'Public', 'backendName' => 'ColorRange'],
'ColorTransfer' => ['title' => '', 'description' => 'The color transfer function.'."\n", 'type' => 'string', 'example' => 'bt709', 'visibility' => 'Public', 'backendName' => 'ColorTransfer'],
'ColorPrimaries' => ['title' => '', 'description' => 'The primary colors.'."\n", 'type' => 'string', 'example' => 'bt709', 'visibility' => 'Public', 'backendName' => 'ColorPrimaries'],
],
'visibility' => 'Public',
'example' => '',
],
'WebofficePermission' => [
'title' => '',
'description' => 'The WebOffice user permissions.'."\n",
'type' => 'object',
'properties' => [
'Rename' => ['title' => '', 'description' => 'Specifies whether the user has the permission to rename a file. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n"
."\n"
.'> You can query the operation information only based a notification sent to Simple Message Queue (SMQ). A rename event is included in the notification.'."\n", 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'Rename'],
'Readonly' => ['title' => '', 'description' => 'Specifies whether the user has read-only access to the file. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'Readonly'],
'History' => ['title' => '', 'description' => 'Specifies whether the user has the permission to view historical versions. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'History'],
'Print' => ['title' => '', 'description' => 'Specifies whether the user has the printing permission. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'Print'],
'Export' => ['title' => '', 'description' => 'Specifies whether the user has the permission to export the file as a PDF file. Valid values:'."\n"
."\n"
.'* true: The user has the permission to export the file as a PDF file. If you set this parameter to true, you must set the Print parameter to true.'."\n"
.'* false: The user does not have the permission to export the file as a PDF file.'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'Export'],
'Copy' => ['title' => '', 'description' => 'Specifies whether the user has the copy permission. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'example' => 'false', 'visibility' => 'Public', 'backendName' => 'Copy'],
],
'visibility' => 'Public',
'example' => '',
],
'WebofficeUser' => [
'title' => '',
'description' => 'The WebOffice user information.'."\n",
'type' => 'object',
'properties' => [
'Id' => ['title' => '', 'description' => 'The custom user ID. The user ID is displayed on the WebOffice page. A user ID can contain letters and digits and cannot exceed 15 characters in length.'."\n", 'type' => 'string', 'example' => 'user1', 'visibility' => 'Public', 'backendName' => 'Id'],
'Name' => ['title' => '', 'description' => 'The custom username. The username is displayed on the WebOffice page. The username must meet the following requirements:'."\n"
."\n"
.'* A username can contain digits, letters, hyphens (-), underscores (\\_), plus signs (+), forward slashes (/), equal signs (=), and at signs (@).'."\n"
.'* A username can contain up to 32 characters.'."\n", 'type' => 'string', 'example' => 'test-user1', 'visibility' => 'Public', 'backendName' => 'Name'],
'Avatar' => ['title' => '', 'description' => 'The custom URL of the avatar picture. The avatar picture is displayed on the WebOffice page.'."\n", 'type' => 'string', 'example' => 'http://example.com/?id=user1', 'visibility' => 'Public', 'backendName' => 'Avatar'],
],
'visibility' => 'Public',
'example' => '',
],
'WebofficeWatermark' => [
'title' => '',
'description' => 'The WebOffice watermark information.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['title' => '', 'description' => 'The watermark type. Valid values:'."\n"
."\n"
.'* 0: no watermark.'."\n"
.'* 1: text watermark.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'visibility' => 'Public', 'backendName' => 'Type'],
'Value' => ['title' => '', 'description' => 'The watermark text.'."\n"
."\n"
.'> This parameter takes effect only if you set the Type parameter to 1.'."\n", 'type' => 'string', 'example' => 'example', 'visibility' => 'Public', 'backendName' => 'Value'],
'Rotate' => ['title' => '', 'description' => 'The rotation of the text watermark. Unit: radian.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '-0.7853982', 'visibility' => 'Public', 'backendName' => 'Rotate'],
'Vertical' => ['title' => '', 'description' => 'The vertical spacing of the text watermark. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'visibility' => 'Public', 'backendName' => 'Vertical'],
'Horizontal' => ['title' => '', 'description' => 'The horizontal spacing of the text watermark. Unit: pixel.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'visibility' => 'Public', 'backendName' => 'Horizontal'],
'Font' => ['title' => '', 'description' => 'The font of the text watermark.'."\n", 'type' => 'string', 'example' => 'bold 20px Serif', 'visibility' => 'Public', 'backendName' => 'Font'],
'FillStyle' => ['title' => '', 'description' => 'The color and transparency of the text watermark.'."\n", 'type' => 'string', 'example' => 'rgba(192, 192, 192, 0.6)', 'visibility' => 'Public', 'backendName' => 'FillStyle'],
],
'visibility' => 'Public',
'example' => '',
],
'WorkflowParameter' => [
'description' => 'The invalid parameter.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The invalid parameter.', 'type' => 'string', 'example' => 'name', 'title' => ''],
'Value' => ['description' => 'The invalid parameter.', 'type' => 'string', 'example' => 'value', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'apis' => [
'AddImageMosaic' => [
'summary' => 'Adds mosaics, Gaussian blurs, or solid color shapes to blur one or more areas of an image for privacy protection and saves the output image to the specified path in Object Storage Service (OSS).',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '147967',
'abilityTreeNodes' => ['FEATUREimmQT4435'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the input image.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n"
."\n"
.'Supported formats of input images include JPG, PNG, TIFF, JP2, and BMP.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/sampleobject.jpg', 'title' => ''],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the output image.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/outputImage.jpg', 'title' => ''],
],
[
'name' => 'ImageFormat',
'in' => 'query',
'schema' => [
'description' => 'The encoding of the output image. By default, the output image uses the same encoding as the input image. Valid values: jpg, png, and webp.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['jpg' => 'jpg', 'png' => 'png', 'webp' => 'webp'],
'example' => 'jpg',
'title' => '',
],
],
[
'name' => 'Quality',
'in' => 'query',
'schema' => ['description' => 'The quality of the output image. This parameter applies only to JPG and WebP images. Valid values: 0 to 100. Default value: 80.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
[
'name' => 'Targets',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The bounding boxes and processing parameters.'."\n",
'type' => 'array',
'items' => [
'description' => 'The bounding box and the corresponding processing parameters.'."\n",
'type' => 'object',
'properties' => [
'Type' => ['description' => 'The type of the mosaic effect. Valid values:'."\n"
."\n"
.'* square: squares.'."\n"
.'* diamond: diamonds.'."\n"
.'* hexagon: hexagons.'."\n"
.'* blur: Gaussian blurs.'."\n"
.'* pure: solid color shapes.'."\n", 'type' => 'string', 'required' => true, 'example' => 'square', 'title' => ''],
'Boundary' => [
'description' => 'The position of the bounding box.'."\n",
'type' => 'object',
'properties' => [
'ReferPos' => ['description' => 'The reference position of the bounding box on the image. Valid values:'."\n"
."\n"
.'* topright: the upper-right corner.'."\n"
.'* topleft: the upper-left corner. This is the default value.'."\n"
.'* bottomright: the lower-right corner.'."\n"
.'* bottomleft: the lower-left corner.'."\n", 'type' => 'string', 'required' => false, 'example' => 'topleft', 'title' => ''],
'X' => ['description' => 'The horizontal offset relative to the reference position. The value can be an integer greater than or equal to 0 or a decimal within the range of \\[0,1):'."\n"
."\n"
.'* An integer value greater than or equal to 0 indicates the horizontal offset in pixels.'."\n"
.'* A decimal value within the range of \\[0,1) indicates the horizontal offset as a ratio of the offset to the image width.'."\n", 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '0', 'title' => ''],
'Y' => ['description' => 'The vertical offset relative to the reference position. The value can be an integer greater than or equal to 0 or a decimal within the range of \\[0,1):'."\n"
."\n"
.'* An integer value greater than or equal to 0 indicates the vertical offset in pixels.'."\n"
.'* A decimal value within the range of \\[0,1) indicates the vertical offset as a ratio of the offset to the image height.'."\n", 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '0', 'title' => ''],
'Height' => ['description' => 'The height of the bounding box. The value can be an integer greater than or equal to 0 or a decimal within the range of \\[0,1):'."\n"
."\n"
.'* An integer value greater than or equal to 0 indicates the height of the bounding box in pixels.'."\n"
.'* A decimal value within the range of \\[0,1) indicates the height of the bounding box as a ratio of its height to the image height.'."\n", 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '200', 'title' => ''],
'Width' => ['description' => 'The width of the bounding box. The value can be an integer greater than or equal to 0 or a decimal within the range of \\[0,1):'."\n"
."\n"
.'* An integer value greater than or equal to 0 indicates the width of the bounding box in pixels.'."\n"
.'* A decimal value within the range of \\[0,1) indicates the width of the bounding box as a ratio of its width to the image width.'."\n", 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '200', 'title' => ''],
],
'required' => true,
'title' => '',
'example' => '',
],
'MosaicRadius' => ['description' => 'The radius of the mosaic. Default value: 5. Unit: pixels.'."\n"
."\n"
.'> This parameter does not take effect for Gaussian blurs and solid color shapes.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'BlurRadius' => ['description' => 'The radius of the Gaussian blur. Valid values: 1 to 50. Default value: 3. Unit: pixels.'."\n"
."\n"
.'> This parameter takes effect only for a Gaussian blur.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''],
'Sigma' => ['description' => 'The standard deviation of the Gaussian blur. The value must be greater than 0. Default value: 5.'."\n"
."\n"
.'> This parameter takes effect only for a Gaussian blur.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
'Color' => ['description' => 'The color of the color shape. You can specify a color by using a color code such as`#RRGGBB` or preset color names such as `red` and `white`. The default value is #FFFFFF, which is white.'."\n"
."\n"
.'> This parameter takes effect only for solid color shapes.'."\n", 'type' => 'string', 'required' => false, 'example' => '#FFFFFF', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you do not have special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FF*****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FF*****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'AddImageMosaic',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~88317~~) of Intelligent Media Management (IMM).****'."\n"
.'* Make sure that the specified project exists in the current region. For more information, see [Project management](~~478152~~).'."\n"
.'* The operation accepts JPG and PNG images with a maximum side length of 30,000 pixels and a total of up to 250 million pixels.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddImageMosaic'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:AddImageMosaic',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'AddStoryFiles' => [
'summary' => 'Adds objects to a story.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '142648',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'formData',
'schema' => ['description' => 'The name of the dataset.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the story.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testid', 'title' => ''],
],
[
'name' => 'Files',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The objects that you want to add.'."\n",
'type' => 'array',
'items' => [
'description' => 'The information about the object.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the object.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
'Files' => [
'description' => 'The objects that were added.'."\n",
'type' => 'array',
'items' => [
'description' => 'The information about the object.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the object.'."\n"
."\n"
.'The OSS URI follows the `oss://{bucketname}/{objectname}` format, where `bucketname` is the name of the bucket in the same region as the current project and `objectname` is the path of the object with the extension included.'."\n", 'type' => 'string', 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'ErrorCode' => ['description' => 'The error code.'."\n", 'type' => 'string', 'example' => 'ResourceNotFound', 'title' => ''],
'ErrorMessage' => ['description' => 'The error message that is returned.'."\n", 'type' => 'string', 'example' => 'The specified resource %s is not found.', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'title' => 'AddStoryFiles',
'changeSet' => [
['createdAt' => '2022-07-07T07:23:26.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddStoryFiles'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:AddStoryFiles',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\",\\n \\"Files\\": [\\n {\\n \\"URI\\": \\"oss://test-bucket/test-object\\",\\n \\"ErrorCode\\": \\"ResourceNotFound\\",\\n \\"ErrorMessage\\": \\"The specified resource %s is not found.\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'operationType' => 'readAndWrite',
],
'AttachOSSBucket' => [
'summary' => 'Binds an Object Storage Service (OSS) bucket to the specified project. The binding enables you to use IMM features by using the x-oss-process parameter.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '135038',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. For information about how to create a project, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'OSSBucket',
'in' => 'query',
'schema' => ['description' => 'The name of the OSS bucket in the same region as the project.'."\n", 'type' => 'string', 'required' => true, 'example' => 'examplebucket', 'title' => ''],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['description' => 'The description of the binding. The description must be 1 to 128 characters in length. By default, no description is applied.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-attachment', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'AttachOSSBucket',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* To use data processing capabilities of IMM based on the x-oss-process parameter, you must bind an OSS bucket to an IMM project. For more information, see [x-oss-process](~~2391270~~).'."\n"
.'* Make sure that the specified project exists in the current region. For more information, see [Project management](~~478152~~).'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T09:44:00.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-11-07T04:13:15.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-04-18T06:16:09.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachOSSBucket'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:AttachOSSBucket',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'BatchDeleteFileMeta' => [
'summary' => 'Deletes the metadata of multiple files from a dataset.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '33176',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'URIs',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The URIs of the OSS buckets in which the files whose metadata you want to delete are stored. You can specify up to 100 URIs.'."\n",
'type' => 'array',
'items' => ['description' => 'The URI of the OSS bucket in which the file whose metadata you want to delete is stored.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the file that has an extension.'."\n"
."\n"
.'The URI of the file in Photo and Drive Service must be in the pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision} format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '3A82F6C9-5AC0-38F9-914F-F02623B3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3A82F6C9-5AC0-38F9-914F-F02623B3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'BatchDeleteFileMeta',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* A successful deletion message is returned regardless of whether the metadata of the file exists in the dataset.'."\n"
."\n"
.'> '."\n"
."\n"
.'* If you delete the metadata of a file from a dataset, the file stored in Object Storage Service (OSS) or Photo and Drive Service is **not** deleted. If you want to delete the file, use the operations provided by OSS or Photo and Drive Service.'."\n"
."\n"
.'* Metadata deletion affects existing face groups and stories but does not affect existing spatiotemporal groups.'."\n",
'changeSet' => [
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:BatchDeleteFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'BatchGetFigureCluster' => [
'summary' => 'Queries face clusters.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '166908',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The cluster IDs.',
'type' => 'array',
'items' => ['description' => 'The cluster ID.', 'type' => 'string', 'required' => false, 'example' => 'Cluster-99b1c333-86dc-45da-8c6****', 'title' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFF****'],
'FigureClusters' => [
'description' => 'The clusters.',
'type' => 'array',
'items' => ['description' => 'The information about the cluster.', '$ref' => '#/components/schemas/FigureCluster', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'title' => 'BatchGetFigureCluster',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchGetFigureCluster'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:BatchGetFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFF****\\",\\n \\"FigureClusters\\": [\\n {\\n \\"OwnerId\\": \\"102321002****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"ObjectType\\": \\"figure-cluster\\",\\n \\"ObjectId\\": \\"Cluster-ae6e3472-999e-410b-b54e-cd5dba****\\",\\n \\"UpdateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"CreateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"Name\\": \\"abc\\",\\n \\"Gender\\": \\"female\\",\\n \\"FaceCount\\": 3,\\n \\"ImageCount\\": 5,\\n \\"VideoCount\\": 3,\\n \\"AverageAge\\": 26,\\n \\"MinAge\\": 12,\\n \\"MaxAge\\": 44,\\n \\"Cover\\": {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n },\\n \\"CustomId\\": \\"abc\\",\\n \\"CustomLabels\\": {\\n \\"Bucket\\": \\"examplebucket\\"\\n },\\n \\"MetaLockVersion\\": 0\\n }\\n ]\\n}","type":"json"}]',
],
'BatchGetFileMeta' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '33178',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'URIs',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The array of object URIs. You can specify up to 100 object URIs in an array.',
'type' => 'array',
'items' => ['description' => 'The URI of the object or file.'."\n"
."\n"
.'Specify the OSS URI in the oss\\://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n"
."\n"
.'Specify the URI of the file in Photo and Drive Service in the pds\\://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision} format.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'WithFields',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The fields to return. If you specify this parameter, only specified metadata fields are returned. You can use this parameter to control the size of the response.'."\n"
."\n"
.'If you do not specify this parameter or leave this parameter empty, the operation returns all metadata fields.',
'type' => 'array',
'items' => ['description' => 'The field name.', 'type' => 'string', 'required' => false, 'example' => 'URI', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7F84C6D9-5AC0-49F9-914D-F02678E3****'],
'Files' => [
'description' => 'The metadata returned.',
'type' => 'array',
'items' => ['description' => 'The structure of the metadata. The returned metadata may not include all attributes of the object, and it varies depending on the object and the [workflow template](~~466304~~) used for indexing the metadata of the object.', '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'BatchGetFileMeta',
'summary' => 'Queries metadata of multiple objects or files in the specified dataset.',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
."\n"
.'- The sample response is provided for reference only. The metadata type and content in your response may differ based on factors such as the [workflow template configurations](~~466304~~). For any inquiries, feel free to join the DingTalk chat group (ID: 31690030817) and share your questions with us.',
'changeSet' => [
['createdAt' => '2024-07-30T05:45:55.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:13:47.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchGetFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:BatchGetFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F84C6D9-5AC0-49F9-914D-F02678E3****\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
],
'BatchIndexFileMeta' => [
'summary' => 'This operation performs a batch index of object metadata by processing input files for tasks such as label detection, face detection, and location detection. The object metadata is then indexed into a dataset to support various data retrieval methods.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '33174',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset name. For more information about how to obtain the dataset name, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'Files',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of OSS files. This is an array in JSON format that can contain up to 100 files.',
'type' => 'array',
'items' => ['description' => 'The struct of an OSS file.', '$ref' => '#/components/schemas/InputFile', 'required' => false, 'title' => '', 'example' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user data. This parameter takes effect only when you specify an MNS configuration for the Notification parameter. The data is returned in the asynchronous notification message, which you can use to associate the message with your services. The maximum length is 2048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "id": "test-id",'."\n"
.' "name": "test-name"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information, click Notification. For the format of asynchronous notification messages, see the metadata indexing section in [Asynchronous notification message formats](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8F93E6D9-5AC0-49F9-914D-E02678A3****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '387-1DAPFFZplUZhuCuhnB6I9H****', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'imm::2020-09-30::BatchGetFileMeta', 'callbackInterval' => 10000, 'maxCallbackTimes' => 3],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F93E6D9-5AC0-49F9-914D-E02678A3****\\",\\n \\"EventId\\": \\"387-1DAPFFZplUZhuCuhnB6I9H****\\"\\n}","type":"json"}]',
'title' => 'BatchIndexFileMeta',
'description' => '- **Before you use this API, review the billing methods and [pricing](~~477042~~) of Intelligent Media Management.**'."\n"
."\n"
.'- For a list of supported data processing tasks, see [Define a workflow](~~466304~~).'."\n"
."\n"
.'- The files to be indexed are subject to limits on their total number and size. For more information about dataset limits, see [Limits](~~475569~~). For information about how to create a dataset, see the parameter descriptions.'."\n"
."\n"
.'- For information about the regions that support file indexing, see the dataset and index information in [Limits](~~475569~~).',
'changeSet' => [
['createdAt' => '2024-04-15T08:38:43.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-27T09:02:45.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchIndexFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:BatchIndexFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'BatchUpdateFileMeta' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '33177',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'Files',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The files whose metadata you want to update.'."\n",
'type' => 'array',
'items' => ['description' => 'The file and its metadata items that you want to update. The value must be in the JSON format.'."\n", 'required' => false, '$ref' => '#/components/schemas/InputFile', 'title' => '', 'example' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F5BF215E-3237-0852-B9C6-F233D44A****'],
'Files' => [
'description' => 'The files whose metadata was updated.'."\n",
'type' => 'array',
'items' => [
'description' => 'The file.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the file.'."\n", 'type' => 'string', 'example' => 'oss://examplebucket/example.jpg', 'title' => ''],
'Success' => [
'description' => 'Indicates whether the request was successful. Valid values:'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n",
'type' => 'boolean',
'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
'example' => 'false',
'title' => '',
],
'Message' => ['description' => 'The error message returned when the value of the Success parameter is false.'."\n", 'type' => 'string', 'example' => '*error.OpError : InvalidArgument | Index KV count exceeded, should be no more than 100.', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'BatchUpdateFileMeta',
'summary' => 'Updates some metadata items of files indexed into a dataset.',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* You cannot call this operation to update all metadata. You can update only metadata fields such as CustomLabels, CustomId, and Figures. For more information, see the "Request parameters" section of this topic.'."\n",
'changeSet' => [
['createdAt' => '2023-04-23T08:06:47.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:13:47.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUpdateFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:BatchUpdateFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F5BF215E-3237-0852-B9C6-F233D44A****\\",\\n \\"Files\\": [\\n {\\n \\"URI\\": \\"oss://examplebucket/example.jpg\\",\\n \\"Success\\": false,\\n \\"Message\\": \\"*error.OpError : InvalidArgument | Index KV count exceeded, should be no more than 100.\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
],
'CompareImageFaces' => [
'summary' => 'Compares the similarity of the largest faces in two images. The largest face refers to the largest face frame in an image after face detection.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '160091',
'abilityTreeNodes' => ['FEATUREimmE6F82K'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
[
'name' => 'Source',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The URLs of the two images for compression.'."\n",
'type' => 'object',
'properties' => [
'URI1' => ['description' => 'The OSS URL of the image file.'."\n"
."\n"
.'Specify the URL in the `oss:///` format. `` specifies the name of the OSS bucket that is in the same region as the current project. `` specifies path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object1', 'title' => ''],
'URI2' => ['description' => 'The OSS URL of the image file.'."\n"
."\n"
.'Specify the URL in the `oss:///` format. `` specifies the name of the OSS bucket that is in the same region as the current project, and `` specifies the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object2', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'title' => 'Schema of Response',
'description' => 'The returned data.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F73AC982-2B9E-4ECD-AED5-F8331C5******'],
'Similarity' => ['description' => 'The face similarity. A larger value indicates a higher face similarity. Valid values: 0 to 1.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.8848152756690983', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'CompareImageFaces',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~88317~~) of Intelligent Media Management (IMM).****'."\n"
.'* For the input image, only the face with the largest face frame in the image is used for face comparison. The face frame detection result is consistent with the responses of the [DetectImageFaces](~~478213~~) operation.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CompareImageFaces'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:CompareImageFaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F73AC982-2B9E-4ECD-AED5-F8331C5******\\",\\n \\"Similarity\\": 0.8848152756690983\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'operationType' => 'read',
],
'ContextualAnswer' => [
'summary' => 'Phase II of AI Assistant, Q\\&A API',
'methods' => ['post', 'get'],
'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '226491',
'abilityTreeNodes' => ['FEATUREimmDN11M0'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'Project name. For how to obtain it, see [Creating a Project](https://help.aliyun.com/zh/imm/getting-started/create-a-project-1?spm=a2c4g.11186623.help-menu-search-62354.d_0).', 'type' => 'string', 'required' => true, 'example' => 'test-project'."\n"],
],
[
'name' => 'Messages',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'Yes, the history of conversations and tool invocations. The latest message is at the end (index n-1), and the oldest message is at the beginning (index 0).'."\n"
.'It must be in the form of user-assistant pairs, with a total count of 2*n+1, and the length of the latest question should not exceed 1000 characters.'."\n"
.'The length of the historical conversation is limited to 100.',
'type' => 'array',
'items' => ['description' => 'List of conversation messages', 'required' => false, '$ref' => '#/components/schemas/ContextualMessage', 'title' => '', 'example' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Files',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The content of the files involved in the current Q&A. It is recommended to use the return value of the ContextualRetrieval interface as input.',
'type' => 'array',
'items' => ['description' => 'List of files involved in the Q&A', 'required' => false, '$ref' => '#/components/schemas/ContextualFile', 'title' => '', 'example' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID of the current request.', 'type' => 'string', 'example' => '22F081FB-90D7-525A-BFE4-D28DC906A28F'],
'Answer' => ['description' => 'Content of the response from the large model.', '$ref' => '#/components/schemas/Answer', 'title' => '', 'example' => ''],
'Code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'ResourceNotFound', 'title' => ''],
'Message' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'The specified resource project is not found.', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22F081FB-90D7-525A-BFE4-D28DC906A28F\\",\\n \\"Answer\\": {\\n \\"Content\\": \\"你好\\",\\n \\"References\\": [\\n {\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource project is not found.\\"\\n}","type":"json"}]',
'title' => 'Q\\&A API in AI Assistant',
'description' => '### Precautions'."\n"
."\n"
.'- Before using this interface, please make sure you fully understand the billing method and [pricing](https://help.aliyun.com/zh/imm/product-overview/billable-items?spm=openapi-amp.newDocPublishment.0.0.1ecd281fi27Zgk) of the Intelligent Media Management product.'."\n"
."\n"
.'- Before calling this interface, ensure that you have indexed the files into the dataset (Dataset) through binding ([CreateBinding](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-createbinding?spm=a2c4g.11186623.0.0.a3d76f44xJrOnF)) or active indexing ([IndexFileMeta](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-indexfilemeta?spm=a2c4g.11186623.help-menu-search-62354.d_0) or [BatchIndexFileMeta](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-batchindexfilemeta?spm=a2c4g.11186623.help-menu-62354.d_5_2_4_2_1_1.f1d86f44iBs3QZ)).'."\n"
."\n"
.'- The returned result is only an example. Depending on the [workflow template configuration](https://help.aliyun.com/zh/imm/user-guide/workflow-templates-and-operators?spm=a2c4g.11186623.0.0.a3d775abr3hDFp), the categories and content of the file metadata information obtained may differ from the example. If you have any questions, please join the DingTalk group by searching for the group number 21714099 in DingTalk.'."\n"
."\n"
.'### Usage Restrictions'."\n"
."\n"
.'- The maximum length of the historical conversation is 100, including both user and assistant messages.'."\n"
."\n"
.'- Each message should not exceed 1000 Chinese characters.',
'changeSet' => [
['createdAt' => '2025-01-02T06:37:56.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ContextualAnswer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ContextualRetrieval' => [
'methods' => ['post', 'get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '226437',
'abilityTreeNodes' => ['FEATUREimmDN11M0'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project. For more information, see [CreateProject](https://help.aliyun.com/zh/imm/getting-started/create-a-project-1?spm=a2c4g.11186623.help-menu-search-62354.d_0).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset.', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'Messages',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The conversation or tool invocation history. The latest message is at the end of the list (with an index number of n-1), whereas the earliest message is at the beginning of the list (with an index number of 0). Historical messages must be provided in user-assistant pairs. The maximum number of messages that you can specify is 2\\*n+1. The current question cannot exceed 1,000 characters in length. The maximum number of historical messages allowed is 100.',
'type' => 'array',
'items' => ['description' => 'The message list.', '$ref' => '#/components/schemas/ContextualMessage', 'required' => false, 'title' => '', 'example' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'RecallOnly',
'in' => 'query',
'schema' => ['description' => 'Indicates whether to enable recall-only (embedding-based search). If you set this parameter to true, returned results have not been re-ranked and can be ranked in custom order. Default value: false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'SmartClusterIds',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The IDs of clusters from which results are retrieved.',
'type' => 'array',
'items' => ['description' => 'The ID of the cluster.', 'type' => 'string', 'required' => false, 'example' => 'SmartCluster-01686226-be59-4391-a1ac-b7b073455de3', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
'Results' => [
'description' => 'The list of files retrieved. The document structure and content are contained in File.Elements.',
'type' => 'array',
'items' => ['description' => 'The file.', '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'ContextualRetrieval',
'summary' => 'Retrieves semantically similar documents. The operation is designed for multi-turn conversations and can process message input in historical conversations. The operation returns results that are highly related to the current conversation based on an in-depth understanding of contextual content. It provides consistent and efficient information retrieval in multi-turn conversations.',
'description' => '### 注意事项'."\n"
."\n"
.'- 请确保在使用该接口前,已充分了解智能媒体管理产品的收费方式和[价格](https://help.aliyun.com/zh/imm/product-overview/billable-items?spm=openapi-amp.newDocPublishment.0.0.1ecd281fi27Zgk)。'."\n"
."\n"
.'- 调用该接口前,请确保您已通过绑定方式( [CreateBinding](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-createbinding?spm=a2c4g.11186623.0.0.a3d76f44xJrOnF) )或者主动索引( [IndexFileMeta](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-indexfilemeta?spm=a2c4g.11186623.help-menu-search-62354.d_0) 或者 [BatchIndexFileMeta](https://help.aliyun.com/zh/imm/developer-reference/api-imm-2020-09-30-batchindexfilemeta?spm=a2c4g.11186623.help-menu-62354.d_5_2_4_2_1_1.f1d86f44iBs3QZ) )方式将文件索引到数据集(Dataset)中。'."\n"
."\n"
.'- 返回结果仅为示例,根据[工作流模板配置](https://help.aliyun.com/zh/imm/user-guide/workflow-templates-and-operators?spm=a2c4g.11186623.0.0.a3d775abr3hDFp)不同,获取到的文件元数据信息的类别和包含的内容均有可能与示例不同。如果有疑问,请使用钉钉搜索钉钉群号 21714099 加入钉钉群进行反馈。'."\n"
."\n"
.'### 使用限制'."\n"
."\n"
.'- 历史对话长度最长限制为 100,包括用户消息和助手消息。'."\n"
."\n"
.'- 每条消息长度不超过 1000 个汉字。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ContextualRetrieval',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\",\\n \\"Results\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
],
'CreateArchiveFileInspectionTask' => [
'summary' => 'Creates a task to inspect a compressed file and retrieve a list of its contents without decompressing the file.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '157951',
'abilityTreeNodes' => ['FEATUREimm2Z44LQ'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty if you do not have special requirements.**'."\n"
."\n"
.'The configuration for chained authorization. This parameter is not required. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password of the compressed file. If the file is encrypted, provide the password to inspect its contents.', 'type' => 'string', 'required' => false, 'example' => '123456', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom information that is returned in the asynchronous notification message. You can use this information to associate the notification message with your services. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The location of the compressed file.'."\n"
."\n"
.'The Object Storage Service (OSS) URI must be in the oss\\://${Bucket}/${Object} format. In this format, `${Bucket}` is the name of the OSS bucket that is in the same region as the current project, and `${Object}` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://bucket/test-object.zip', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information, see Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).'."\n"
."\n"
.'> Currently, API callbacks in IMM do not support custom webhook addresses. Use MNS instead.', 'deprecated' => false, '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es*****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ArchiveFileInspection-8475218e-d86e-4c66-b3cf-50e74d6c****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es*****\\",\\n \\"TaskId\\": \\"ArchiveFileInspection-8475218e-d86e-4c66-b3cf-50e74d6c****\\"\\n}","type":"json"}]',
'title' => 'CreateArchiveFileInspectionTask',
'description' => '> This API is in public preview. If you have any questions, join the DingTalk group to provide feedback. For the DingTalk group number, see [Contact us](~~84454~~).'."\n"
."\n"
.'- **Before using this API, make sure you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM)**.'."\n"
.' >The completion time of asynchronous tasks is not guaranteed.> '."\n"
."\n"
.'- File count limit: A compressed file can contain a maximum of 80,000 files.'."\n"
."\n"
.'- File size limit: The maximum size is 200 GB for ZIP and RAR files, and 50 GB for 7z files.'."\n"
."\n"
.'- This is an asynchronous API. Task information is saved for 7 days after a task starts and is then deleted. To view the task information, call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive task information through notification messages.',
'requestParamsDescription' => '- To retrieve the list of files in the compressed file, set the `ExtendedMessageURI` parameter in `Notification`. The generated file list is structured as follows:'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "Password" : "The password of the compressed file",'."\n"
.' "IsEncryption": "true/false, specifies whether the compressed file is encrypted",'."\n"
.' "ArchiveFiles": ['."\n"
.' {'."\n"
.' "PathName": "The path of the file relative to the compressed file. Example: ./test-dir/test.txt",'."\n"
.' "Reason": "If the inspection fails, the reason for the failure.",'."\n"
.' "IsFolder": "true/false, specifies whether the entry is a folder",'."\n"
.' "PackedSize": "The size of the file within the compressed file",'."\n"
.' "UnPackedSize": "The size of the file after decompression",'."\n"
.' "FileAccessTime": "The file access time.",'."\n"
.' },'."\n"
.' {'."\n"
.' "PathName": "./test-dir/",'."\n"
.' "Reason": "",'."\n"
.' "IsFolder": "true",'."\n"
.' "PackedSize": "0",'."\n"
.' "UnPackedSize": "0",'."\n"
.' "FileAccessTime": "2023-07-21T09:46:35Z",'."\n"
.' },'."\n"
.' ]'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2023-08-30T07:22:02.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateArchiveFileInspectionTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateArchiveFileInspectionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateBatch' => [
'summary' => 'Creates a batch processing task that performs specified operations, such as transcoding and format conversion, on multiple existing files.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '131090',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Input',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The input data source configuration.', 'required' => true, '$ref' => '#/components/schemas/Input', 'title' => '', 'example' => ''],
],
[
'name' => 'Actions',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'A list of processing templates.',
'type' => 'array',
'items' => [
'description' => 'A processing template.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The template name.', 'type' => 'string', 'required' => true, 'example' => 'doc/convert', 'title' => ''],
'Parameters' => [
'description' => 'A list of template parameters.',
'type' => 'array',
'items' => ['description' => 'A template parameter.', 'type' => 'string', 'required' => false, 'example' => 'pages=3', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'FastFailPolicy' => ['description' => 'The fast-fail policy configuration.', '$ref' => '#/components/schemas/FastFailPolicy', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Notification',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The notification recipient. Multiple middleware services are supported. For details about the message format, see Asynchronous notification message. Select one of the following methods to receive messages:'."\n"
."\n"
.'Activate and access EventBridge in the same region as Intelligent Media Management (IMM) to promptly receive task notifications. For more information, see IMM events.'."\n"
.'Activate MNS in the same region as IMM and configure a subscription.',
'type' => 'object',
'properties' => [
'MNS' => ['description' => 'The parameters for MNS notifications.', '$ref' => '#/components/schemas/MNS', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"key": "val"}'."\n", 'title' => ''],
],
[
'name' => 'ServiceRole',
'in' => 'formData',
'schema' => ['description' => 'The service role that grants IMM the permissions to access other cloud resources, such as OSS. The default value is AliyunIMMBatchTriggerRole.'."\n"
."\n"
.'To use a custom service role, create a service role and grant permissions to the role in the RAM console. For more information, see [Create a service role](~~116800~~) and [Grant permissions to a RAM role](~~116147~~).', 'type' => 'string', 'required' => true, 'example' => 'AliyunIMMBatchTriggerRole', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****', 'title' => ''],
'Id' => ['description' => 'The batch processing task ID.', 'type' => 'string', 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"Id\\": \\"batch-4eb9223f-3e88-42d3-a578-3f2852******\\"\\n}","type":"json"}]',
'title' => 'CreateBatch',
'description' => 'If you want to process data using [Object Storage Service (OSS) data processing](~~99372~~), make sure you [bind an OSS bucket](~~478206~~) before you create a batch processing task.',
'changeSet' => [
['createdAt' => '2023-07-05T05:47:24.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBatch'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'CreateBinding' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '18909',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'ProjectName', 'description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['title' => 'DatasetName', 'description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'test-dataset'],
],
[
'name' => 'URI',
'in' => 'query',
'schema' => ['title' => 'URI', 'description' => 'The URI of the OSS bucket to which you bind the dataset.'."\n"
."\n"
.'Specify the value in the oss\\://${Bucket} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
'Binding' => ['description' => 'The information about the binding.', '$ref' => '#/components/schemas/Binding', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'CreateBinding',
'summary' => 'Creates a binding relationship between a dataset and an Object Storage Service (OSS) bucket. This allows for the automatic synchronization of incremental and full data and indexing.',
'description' => 'Before you call this operation, make sure that you are familiar with the [billing](~~2743997~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'> Asynchronous processing does not guarantee timely task completion.'."\n"
."\n"
.'Before you create a binding, make sure that the project and the dataset that you want to use exist.'."\n"
."\n"
.'- For information about how to create a project, see [CreateProject](~~478153~~).'."\n"
."\n"
.'- For information about how to create a dataset, see [CreateDataset](~~478160~~).'."\n"
."\n"
.'> The CreateBinding operation works by using the [workflow template](~~466304~~) that is specified when you created the project or dataset.'."\n"
."\n"
.'After you create a binding between a dataset and an OSS bucket, IMM scans the existing objects in the bucket and extracts metadata based on the scanning result. Then, IMM creates an index from the extracted metadata. If new objects are uploaded to the OSS bucket, IMM tracks and scans the objects and updates the index. For objects whose metadata index is created by calling this operation, you can call query operations, such as [SimpleQuery](~~478175~~), to query objects, manage objects, and collect statistics on objects.',
'changeSet' => [
['createdAt' => '2024-09-03T10:58:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2024-04-19T09:44:00.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBinding'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\",\\n \\"Binding\\": {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"URI\\": \\"oss://examplebucket\\",\\n \\"State\\": \\"Running\\",\\n \\"Phase\\": \\"FullScanning\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Reason\\": \\"pause usage\\"\\n }\\n}","type":"json"}]',
],
'CreateCompressPointCloudTask' => [
'summary' => 'Compresses point cloud data stored in Object Storage Service (OSS) to reduce network data transmission.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '145992',
'abilityTreeNodes' => ['FEATUREimm0H0W4Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The OSS URI of the point cloud file.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where `${Bucket}` is the name of an OSS bucket in the same region as the current project, and `${Object}` is the full path of the file including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test/src/test.pcd'],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the compressed output file.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where `${Bucket}` is the name of an OSS bucket in the same region as the current project, and `${Object}` is the full path of the file including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test/tgt', 'title' => ''],
],
[
'name' => 'PointCloudFileFormat',
'in' => 'query',
'schema' => [
'description' => 'The point cloud file format. Only PCD format is supported. Default value: pcd.',
'enumValueTitles' => ['pcd' => 'point cloud file format.'],
'type' => 'string',
'example' => 'pcd',
'default' => 'pcd',
'enum' => ['pcd'],
'required' => false,
'title' => '',
],
],
[
'name' => 'CompressMethod',
'in' => 'query',
'schema' => [
'description' => 'The compression algorithm. Valid values:'."\n"
."\n"
.'- octree: octree'."\n"
."\n"
.'- kdtree: K-d tree',
'enumValueTitles' => ['octree' => 'octree.', 'kdtree' => 'K-d tree.'],
'type' => 'string',
'required' => true,
'example' => 'octree',
'enum' => ['octree', 'kdtree'],
'title' => '',
],
],
[
'name' => 'PointCloudFields',
'in' => 'query',
'allowEmptyValue' => false,
'style' => 'json',
'schema' => [
'description' => 'The PCD attribute fields that participate in compression and the compression order. After compression, data is decompressed in this order.'."\n"
."\n"
.'- If you use PCL library octree compression, \\["xyz"] is supported.'."\n"
."\n"
.'- If you use Draco library K-d tree compression, \\["xyz"] or \\["xyz", "intensity"] is supported.',
'type' => 'array',
'items' => ['description' => 'The PCD attribute field value that participates in compression. Valid values:'."\n"
."\n"
.'- xyz'."\n"
."\n"
.'- intensity', 'type' => 'string', 'example' => '["xyz"]', 'required' => false, 'title' => ''],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'KdtreeOption',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The K-d tree compression parameters.', '$ref' => '#/components/schemas/KdtreeOption', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'OctreeOption',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The octree compression parameters.', '$ref' => '#/components/schemas/OctreeOption', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information, which is returned in asynchronous message notifications to help you associate message notifications within your system. Maximum length: 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom tags that are used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"LabelKey": "Value"}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have special requirements.**'."\n"
."\n"
.'The China authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, click Notification. For information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).'."\n"
."\n"
.'> Intelligent Media Management does not support specifying a callback URL for API call callbacks. Use Message Service (MNS) instead.'."\n"
.'>', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFF****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'PointCloudCompress-badda57d-a3ab-4e6d-938f-49b77ce****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0B7-1LR4Wcue1aBhk2xT85MfL*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFF****\\",\\n \\"TaskId\\": \\"PointCloudCompress-badda57d-a3ab-4e6d-938f-49b77ce****\\",\\n \\"EventId\\": \\"0B7-1LR4Wcue1aBhk2xT85MfL*****\\"\\n}","type":"json"}]',
'title' => 'Create a point cloud compression task',
'description' => '* **Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM). For more information, see [Billing](~~477042~~).**'."\n"
.'Asynchronous tasks do not guarantee timeliness. '."\n"
.'* File format limit: Only point cloud files in PCD format are supported.'."\n"
."\n"
.'* This is an asynchronous operation. After the task starts, task information is retained for only 7 days. After 7 days, the task information can no longer be retrieved. Call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation to obtain the returned `TaskId` and view the task information. You can also configure the [Notification](~~2743997~~) parameter to receive task information through message notifications.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:41.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T02:32:03.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCompressPointCloudTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateCompressPointCloudTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateCustomizedStory' => [
'summary' => 'Creates a story based on the specified images and videos.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '156038',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'formData',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
[
'name' => 'StoryType',
'in' => 'formData',
'schema' => ['description' => 'The type of the story. For information about valid types, see [Story types and subtypes](~~2743998~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'PeopleMemory', 'title' => ''],
],
[
'name' => 'StorySubType',
'in' => 'formData',
'schema' => ['description' => 'The subtype of the story. For information about valid subtypes, see [Story types and subtypes](~~2743998~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'Solo', 'title' => ''],
],
[
'name' => 'StoryName',
'in' => 'formData',
'schema' => ['description' => 'The name of the story.'."\n", 'type' => 'string', 'required' => true, 'example' => 'name1', 'title' => ''],
],
[
'name' => 'Cover',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The cover image of the story. You can specify an image as the cover image of the custom story.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the cover image.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg', 'title' => ''],
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Files',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The files of the story. You can specify up to 100 files in a custom story.'."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URIs of the files.'."\n", 'type' => 'string', 'required' => true, 'example' => '['."\n"
.' {'."\n"
.' "URI": "oss://test-bucket/test-object_1.jpg"'."\n"
.' },'."\n"
.'{'."\n"
.' "URI": "oss://test-bucket/test-object_2.jpg"'."\n"
.' }'."\n"
.']', 'title' => ''],
],
'required' => true,
'description' => '',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'CustomLabels',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The custom labels. You can specify labels to help you identify and retrieve the story.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "MyStoryLabel": "HolidayStory"'."\n"
.'}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'BC91D091-D49F-0ACD-95D5-F0621045****', 'title' => ''],
'ObjectId' => ['description' => 'The ID of the story.'."\n", 'type' => 'string', 'example' => '563062c0b085733f34ab****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC91D091-D49F-0ACD-95D5-F0621045****\\",\\n \\"ObjectId\\": \\"563062c0b085733f34ab****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'CreateCustomizedStory',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomizedStory'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateCustomizedStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateDataset' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The dataset name. The name must be unique within the same project. The following naming rules apply:'."\n"
.'- The name must be 1 to 128 characters in length.'."\n"
.'- The name can contain only letters, digits, hyphens (-), and underscores (_).'."\n"
.'- The name must start with a letter or an underscore (_).', 'type' => 'string', 'required' => true, 'example' => 'dataset001'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The description of the dataset. The description can be 1 to 256 characters in length. Default value: empty.', 'type' => 'string', 'required' => false, 'example' => 'immtest'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The workflow template ID. For more information, see [Workflow templates and operators](~~466304~~). Default value: empty.', 'type' => 'string', 'required' => false, 'example' => 'Official:ImageManagement'],
],
[
'name' => 'DatasetMaxBindCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of bindings per dataset. Valid values: 1 to 10. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'DatasetMaxFileCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of files per dataset. Valid values: 1 to 100000000. Default value: 100000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000'],
],
[
'name' => 'DatasetMaxEntityCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata entities per dataset. Default value: 10000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10000000000'],
],
[
'name' => 'DatasetMaxRelationCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata relationships per dataset. Default value: 100000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000000'],
],
[
'name' => 'DatasetMaxTotalFileSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum total file size per dataset, in bytes. After this limit is exceeded, no more indexes can be added. Default value: 90000000000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90000000000000000'],
],
[
'name' => 'WorkflowParameters',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'Invalid parameter.',
'type' => 'array',
'items' => ['description' => 'Invalid parameter.', '$ref' => '#/components/schemas/WorkflowParameter', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'deprecated' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6D74B3A9-5AC0-49F9-914D-E01589D3****'],
'Dataset' => ['description' => 'The dataset information.', '$ref' => '#/components/schemas/Dataset', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'Create a dataset',
'summary' => 'Creates a dataset.',
'description' => '- **Before you use this operation, make sure that you fully understand the billing of Intelligent Media Management (IMM) and its [pricing](~~477042~~)**.'."\n"
.'- Dataset names must be unique within the same project.'."\n"
.'- The number of datasets that can be created is limited. You can call [GetProjcet](~~478155~~) to query this limit.'."\n"
.'- After you create a dataset, you can call [IndexFileMeta](~~478166~~) to create file metadata indexes for diversified [data retrieval, statistics](~~478175~~), and intelligent management.',
'changeSet' => [
['createdAt' => '2025-06-12T08:03:49.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataset'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateDecodeBlindWatermarkTask' => [
'summary' => 'Extracts a blind watermark.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '200063',
'abilityTreeNodes' => ['FEATUREimmSCVT08'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).'."\n"
.'>The project name must be the same as the one used to add the blind watermark with the [EncodeBlindWatermark](~~2743655~~) operation. Otherwise, the watermark cannot be extracted.> ', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The Object Storage Service (OSS) URI of the image.'."\n"
."\n"
.'The OSS URI must be in the `oss:///` format. `` is the name of the OSS bucket that is in the same region as the current project. `` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://target/sampleobject.jpg', 'title' => ''],
],
[
'name' => 'StrengthLevel',
'in' => 'query',
'schema' => ['description' => 'The watermark extraction level, which controls the extraction precision. A higher level indicates a longer processing time and a better extraction effect. Valid values:'."\n"
."\n"
.'- low'."\n"
."\n"
.'- medium'."\n"
."\n"
.'- high', 'type' => 'string', 'required' => false, 'example' => 'low', 'title' => ''],
],
[
'name' => 'WatermarkType',
'in' => 'query',
'schema' => [
'description' => 'The type of the embedded watermark. Valid value: text'."\n"
."\n"
.'(Image watermarks are not supported. Therefore, this parameter can only be set to text.)',
'enumValueTitles' => ['text' => 'text'],
'type' => 'string',
'required' => false,
'example' => 'text',
'title' => '',
],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'A parameter from the earlier DecodeBlindWatermark API. It specifies the OSS URI where the image is saved after the blind watermark is parsed.'."\n"
."\n"
.'The OSS URI must be in the `oss:///` format. `` is the name of the OSS bucket that is in the same region as the current project. `` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://target/targetobject.jpg', 'title' => ''],
],
[
'name' => 'ImageQuality',
'in' => 'query',
'schema' => ['description' => 'A parameter from the earlier DecodeBlindWatermark API. It specifies the quality of the output image. The default value is 90. The value must be in the range of 70 to 100.'."\n"
."\n"
.'A higher quality results in a larger image size and better watermark parsing quality.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90', 'title' => ''],
],
[
'name' => 'Model',
'in' => 'query',
'schema' => [
'description' => 'A parameter from the earlier DecodeBlindWatermark API. It specifies the watermark algorithm model. Valid values include FFT, FFT\\_FULL, DWT, and DWT\\_IBG. The default value is FFT.'."\n"
."\n"
.'If this parameter is left empty, the new version of the blind watermarking feature is used. Otherwise, the earlier version is used.',
'enumValueTitles' => ['DWT' => 'DWT', 'FFT_FULL' => 'FFT\\_FULL', 'FFT' => 'FFT', 'DWT_IBG' => 'DWT\\_IBG'],
'type' => 'string',
'required' => false,
'example' => 'FFT',
'title' => '',
],
],
[
'name' => 'OriginalImageURI',
'in' => 'query',
'schema' => ['description' => 'A parameter from the earlier DecodeBlindWatermark API. It specifies the OSS URI of the image before the blind watermark was added.'."\n"
."\n"
.'This parameter is not required when Model is set to DWT or DWT\\_IBG.'."\n"
."\n"
.'The OSS URI must be in the `oss:///` format. `` is the name of the OSS bucket that is in the same region as the current project. `` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/watermarktestbefore.jpg', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information, click Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Response parameters',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '27C-1jyAP5qQI7RoI8lFFwvMrWtl0ft', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'DecodeBlindWatermark-78ac8f3b-59e0-45a6-9b67-32168c3f22b9', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A7A2D0E-D8B8-4DA0-8127-EB32C6600ADE\\",\\n \\"EventId\\": \\"27C-1jyAP5qQI7RoI8lFFwvMrWtl0ft\\",\\n \\"TaskId\\": \\"DecodeBlindWatermark-78ac8f3b-59e0-45a6-9b67-32168c3f22b9\\"\\n}","type":"json"}]',
'title' => 'CreateDecodeBlindWatermarkTask',
'description' => '- Before you use this API, make sure that you understand the billing methods and pricing of Intelligent Media Management (IMM).'."\n"
.' >Asynchronous tasks are not guaranteed to be completed within a specific time frame.> '."\n"
."\n"
.'- Make sure that a project is created in IMM. For more information, see [Create a project](~~478153~~).'."\n"
."\n"
.'- Make sure the service region and project are the same as those used to add the blind watermark using the [EncodeBlindWatermark](~~2743655~~) operation. Otherwise, the watermark cannot be extracted.'."\n"
."\n"
.'- The watermark can be extracted even after the image undergoes attacks such as compression, scaling, clipping, and color changes.'."\n"
."\n"
.'- This API is compatible with the previous version of the blind watermarking feature. Some parameters are from the previous DecodeBlindWatermark API.'."\n"
."\n"
.'- This is an asynchronous API. After a task starts, its information is saved for only 7 days. After this period, the information can no longer be retrieved. Call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) API to retrieve the TaskId and view task information. Alternatively, set the [Notification](~~2743997~~) parameter to receive task information through asynchronous notification messages.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDecodeBlindWatermarkTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateDecodeBlindWatermarkTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateFacesSearchingTask' => [
'summary' => 'Searches a media set for the top N images most similar to a specified image or face ID. The operation returns the corresponding face IDs and bounding boxes, sorted by similarity in descending order.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '160409',
'abilityTreeNodes' => ['FEATUREimmQ9NXNO'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user information. This information is returned in the asynchronous notification message to help you associate the message with your system. The maximum length is 2048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "testuid","Name": "test-user","Avatar": "http://test.com/testuid"}', 'title' => ''],
],
[
'name' => 'Sources',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of images.',
'type' => 'array',
'items' => [
'description' => 'An image object.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the image.'."\n"
."\n"
.'The OSS URI must follow the format oss\\://${Bucket}/${Object}. `${Bucket}` is the name of the OSS bucket in the same region as the current project. `${Object}` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'MaxResult',
'in' => 'query',
'schema' => ['description' => 'The number of most similar faces to return. Valid values: 0 to 100. Default value: 5.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B1E79399-05F7-06D8-95FE-EBE17BA*****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'CreateFacesSearchingTask-00bec802-073a-4b61-ba*****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B1E79399-05F7-06D8-95FE-EBE17BA*****\\",\\n \\"TaskId\\": \\"CreateFacesSearchingTask-00bec802-073a-4b61-ba*****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16****\\"\\n}","type":"json"}]',
'title' => 'CreateFacesSearchingTask',
'description' => '- **Before you use this operation, review the billing methods and [pricing](~~477042~~)**'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The execution time of asynchronous tasks is not guaranteed.'."\n"
."\n"
.' > '."\n"
."\n"
.'- For each input image, only the face with the largest bounding box is used for the face search.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, the task information is retained for 7 days and cannot be retrieved after this period. To retrieve task information, you can call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. Alternatively, you can configure the [Notification](~~2743997~~) parameter to receive asynchronous notifications that contain task information.',
'changeSet' => [
['createdAt' => '2023-08-21T03:51:46.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:24.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFacesSearchingTask'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:CreateFacesSearchingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateFigureClusteringTask' => [
'summary' => 'Creates a figure clustering task. This task uses an intelligent algorithm to group the faces of different people in images that are indexed in a dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '116906',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset name. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user data that is returned in the asynchronous notification message. You can use this data to associate the notification message with your services. The maximum length is 2048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags that you can use to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"test": "val1"}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information, see Notification. For more information about the message format, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The information about the figure clustering task.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 'formatconvert-00bec802-073a-4b61-ba3b-39bc****', 'title' => ''],
'EventId' => ['description' => 'The ID of the event.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"TaskId\\": \\"formatconvert-00bec802-073a-4b61-ba3b-39bc****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16****\\"\\n}","type":"json"}]',
'title' => 'CreateFigureClusteringTask',
'description' => '- **Before you call this operation, make sure that you fully understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management.**'."\n"
.' >The completion time of asynchronous tasks is not guaranteed.> '."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed files to a dataset ([CreateDataset](~~CreateDataset~~)) by attaching them ([CreateBinding](~~CreateBinding~~)) or by indexing them ([IndexFileMeta](~~IndexFileMeta~~) or [BatchIndexFileMeta](~~BatchIndexFileMeta~~)).'."\n"
."\n"
.'- Each time you call this operation, files in the dataset ([CreateDataset](~~CreateDataset~~)) are incrementally processed. You can periodically call this operation to process new files.'."\n"
."\n"
.'- After the clustering is complete, you can call the [GetFigureCluster](~~GetFigureCluster~~) or [BatchGetFigureCluster](~~BatchGetFigureCluster~~) operation to retrieve information about specific groups. You can also call [QueryFigureClusters](~~QueryFigureClusters~~) to query and list the groups in the dataset.'."\n"
."\n"
.'- Deleting files from a dataset changes the face clustering results. When all images that contain the faces in a cluster are deleted, the cluster is also deleted.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is saved for only 7 days. You cannot retrieve the task information after this period. You can call the [GetTask](~~GetTask~~) or [ListTasks](~~ListTasks~~) operation to view the task information. Alternatively, you can set the [Notification](~~2743997~~) parameter to receive task information from asynchronous notification messages.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:24.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-08-16T06:49:46.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-12-31T06:17:53.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFigureClusteringTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFigureClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateFigureClustersMergingTask' => [
'summary' => 'Merges two or more figure clustering groups into a single figure clustering group.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '117038',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
[
'name' => 'From',
'in' => 'query',
'schema' => ['description' => 'The ID of the source clustering group. You must specify a value for either \\`From\\` or \\`Froms\\`. You cannot specify values for both parameters.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Cluster-2ab85905-23ba-4632-b2d8-1c21cfe****'],
],
[
'name' => 'To',
'in' => 'query',
'schema' => ['description' => 'The ID of the destination clustering group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Cluster-4a3a71c1-c092-4788-8826-2f65d17****'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information. This information is returned in the asynchronous notification message to help you associate the message with your system. The value can be up to 2,048 bytes in length.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom tags. You can use custom tags to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"key":"val"}', 'title' => ''],
],
[
'name' => 'Froms',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of the IDs of the source clustering groups. You must specify a value for either \\`From\\` or \\`Froms\\`. You cannot specify values for both parameters. The list can contain up to 100 IDs.',
'type' => 'array',
'items' => ['description' => 'A single ID of a source clustering group.', 'type' => 'string', 'required' => false, 'example' => 'Cluster-2ab85905-23ba-4632-b2d8-1c21cfe****'."\n", 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The configuration of the notification message. For more information, click Notification. For more information about the format of an asynchronous notification message, see [Asynchronous notification messages](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FF****'],
'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => '92376fbb-171f-4259-913f-705f7ee0****', 'title' => ''],
'EventId' => ['description' => 'The ID of the event.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16E****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FF****\\",\\n \\"TaskId\\": \\"92376fbb-171f-4259-913f-705f7ee0****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16E****\\"\\n}","type":"json"}]',
'title' => 'CreateFigureClustersMergingTask',
'description' => '- **Before you call this operation, make sure that you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management.**'."\n"
."\n"
.'- Before you call this operation, make sure that you have clustered all faces in the dataset by calling the [CreateFigureClusteringTask](~~478180~~) operation.'."\n"
."\n"
.'- Merging unrelated groups affects the feature values of the destination group. This may cause inaccurate grouping of incremental data when you create a figure clustering task.'."\n"
."\n"
.'- This operation is asynchronous. Task information is retained for only 7 days. During this period, you can query task information by calling the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive asynchronous notification messages about the task.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-12-31T06:17:53.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFigureClustersMergingTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFigureClustersMergingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateFileCompressionTask' => [
'summary' => 'Package Download API',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '156182',
'abilityTreeNodes' => ['FEATUREimmSETH07'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Sources',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of files to package and their packaging rules.'."\n"
."\n"
.'> Specify either this parameter or \\`SourceManifestURI\\`. \\`Sources\\` supports a maximum of 100 packaging rules.'."\n"
.'> >If you have more than 100 packaging rules, use the \\`SourceManifestURI\\` parameter.> ',
'type' => 'array',
'items' => [
'description' => 'The OSS address of a file to package and its packaging rule.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS address of the directory or file to package.'."\n"
."\n"
.'The OSS address must be in the \\`oss\\://${Bucket}/${Object}\\` format. \\`${Bucket}\\` is the name of the OSS bucket that is in the same region as the current project. \\`${Object}\\` is described as follows:'."\n"
."\n"
.'- To package a directory, \\`${Object}\\` is the directory name.'."\n"
."\n"
.'- To package a file, \\`${Object}\\` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'Alias' => ['description' => 'Specifies a new path or name for the source file within the output compressed file.'."\n"
."\n"
.'- If you do not specify this parameter, the source directory structure is preserved. For example, if the source file is at `oss://test-bucket/test-dir/test-object.doc`, the path of the file in the compressed file is `/test-dir/test-object.doc`.'."\n"
."\n"
.'- Rename the file. For example, if the source file is at `oss://test-bucket/test-object.jpg` and you set this parameter to `/test-rename-object.jpg`, the file in the compressed file is named `test-rename-object.jpg`.'."\n"
."\n"
.'- Specify a new path for the source file in the compressed file. For example, if the source directory is `oss://test-bucket/test-dir/` and you set this parameter to `/new-dir/`, all files in the source directory are compressed into the `/new-dir/` path.'."\n"
."\n"
.'- Set the value to `/` to remove the source directory structure. All files are placed directly in the root directory of the compressed file, and the original directory structure is not preserved.'."\n"
."\n"
.'- Specify both a path and a file name. The file is renamed and moved to the specified path. For example, if you set this parameter to `/new-dir/alias.doc`, the file is renamed to `alias.doc` and placed in the `/new-dir/` path of the compressed file.'."\n"
."\n"
.'> * Avoid creating files with duplicate names during the renaming process. If duplicate names exist, you may not be able to decompress the file in the compressed package. This depends on the decompression program you use.'."\n"
.'>'."\n"
.'> * Format requirement: The value must start with a forward slash (\\`/\\`), such as `/new-dir/alias.doc`.', 'type' => 'string', 'required' => false, 'example' => '/new-dir/', 'title' => ''],
'Mode' => [
'description' => 'The pattern matching mode for the packaging rule. Valid values include `prefix` (prefix matching) and `fullname` (exact matching). The default value is `prefix`.'."\n"
."\n"
.'- `prefix`: In this mode, all files that match the prefix are packaged.'."\n"
."\n"
.'- `fullname`: In this mode, only the file that exactly matches the rule is packaged.',
'enumValueTitles' => ['prefix' => 'prefix', 'fullname' => 'fullname'],
'type' => 'string',
'required' => false,
'example' => 'fullname',
'title' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you do not have special requirements, leave this parameter empty.**'."\n"
."\n"
.'The chained authorization configuration. This parameter is not required. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'SourceManifestURI',
'in' => 'query',
'schema' => ['description' => 'The address where the file manifest is stored. The file manifest stores the \\`Sources\\` structure in JSON format on OSS. This is suitable for scenarios with many files to package.'."\n"
."\n"
.'> Specify either this parameter or `Sources`. In the manifest file, the `URI` parameter is required and the `Alias` parameter is optional. \\`SourceManifestURI\\` supports up to 80,000 packaging rules.'."\n"
.'> >When you save the content to OSS, specify the OSS address of the file for this parameter.> '."\n"
."\n"
.'The following is an example of the file structure:'."\n"
."\n"
.'```'."\n"
.'[{"URI":"oss:///", "Alias":"/new-dir/new-name"}]'."\n"
.'```', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object.json', 'title' => ''],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The OSS address of the output file. The compressed file is named after the file name in this path, such as `name.zip`.'."\n"
."\n"
.'The OSS address must be in the \\`oss\\://${Bucket}/${Object}\\` format. \\`${Bucket}\\` is the name of the OSS bucket that is in the same region as the current project. \\`${Object}\\` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-target-object.zip', 'title' => ''],
],
[
'name' => 'CompressedFormat',
'in' => 'query',
'schema' => [
'description' => 'The compression format for file packaging.'."\n"
."\n"
.'> Currently, only the zip format is supported.',
'enumValueTitles' => [],
'type' => 'string',
'required' => false,
'example' => 'zip',
'title' => '',
],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user data. This data is returned in the asynchronous notification message, which helps you associate the notification with your internal system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, see the Notification data type. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).'."\n"
."\n"
.'> IMM API callbacks do not currently support specifying a webhook address. Use MNS instead.', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response structure.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es*****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'FileCompression-3579a380-6f7a-4a9d-b9d2-65996*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es*****\\",\\n \\"TaskId\\": \\"FileCompression-3579a380-6f7a-4a9d-b9d2-65996*****\\"\\n}","type":"json"}]',
'title' => 'CreateFileCompressionTask',
'description' => '> This API is in public preview. If you have any questions, join our DingTalk group to provide feedback. For the group number, see [Contact us](~~84454~~).'."\n"
."\n"
.'> This API currently supports packaging but not compression. The compression feature will be added later.'."\n"
."\n"
.'- **Before using this API, make sure you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM)**.'."\n"
.' >The completion time of asynchronous tasks is not guaranteed.> '."\n"
."\n"
.'- File count limit: You can package up to 80,000 files.'."\n"
."\n"
.'- File size limit: The total size of all files before packaging must not exceed 200 GB.'."\n"
."\n"
.'- This feature supports files of the Standard storage class on OSS. To package files of other storage classes, first [convert their storage class](~~90090~~).'."\n"
."\n"
.'- This is an asynchronous API. After a task starts, its information is stored for 7 days. After 7 days, the information can no longer be retrieved. To view task information, call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive task information through asynchronous notification messages.',
'requestParamsDescription' => '#### Examples of packaging rules for typical scenarios'."\n"
."\n"
.'The following examples show how to configure packaging rules for typical scenarios based on the sample file structure:'."\n"
."\n"
.'```'."\n"
.'(bucket)'."\n"
.'├── test-dir1'."\n"
.'│ ├── file1.txt'."\n"
.'│ ├── file2.doc'."\n"
.'│ ├── file3.png'."\n"
.'│ └── my-file.json'."\n"
.'└── test-dir2'."\n"
.' ├── AAA'."\n"
.' │ └── file.txt'."\n"
.' ├── AAA'."\n"
.' ├── file6.doc'."\n"
.' ├── file7.doc'."\n"
.' └── file8.doc'."\n"
.'```'."\n"
."\n"
.'##### Package a specified directory'."\n"
."\n"
.'To package all files in the `test-dir1` directory into a specified directory named `test-dir`, use the following packaging rule:'."\n"
."\n"
.'```json'."\n"
.'['."\n"
.' {'."\n"
.' "URI" : "oss://bucket/test-dir1/",'."\n"
.' "Alias" : "/test-dir/"'."\n"
.' }'."\n"
.']'."\n"
.'```'."\n"
."\n"
.'The structure of the generated compressed file is as follows:'."\n"
."\n"
.'```'."\n"
.'.'."\n"
.'└── test-dir'."\n"
.' ├── file1.txt'."\n"
.' ├── file2.doc'."\n"
.' ├── file3.png'."\n"
.' └── my-file.json'."\n"
.'```'."\n"
."\n"
.'##### Package files with a specified prefix'."\n"
."\n"
.'To package all files with the prefix `test-dir1/file` into a specified directory named `test-dir`, use the following packaging rule:'."\n"
."\n"
.'```json'."\n"
.'['."\n"
.' {'."\n"
.' "URI" : "oss://bucket/test-dir1/file",'."\n"
.' "Alias" : "/test-dir/"'."\n"
.' }'."\n"
.']'."\n"
.'```'."\n"
."\n"
.'The structure of the generated compressed file is as follows:'."\n"
."\n"
.'```'."\n"
.'.'."\n"
.'└── test-dir'."\n"
.' ├── file1.txt'."\n"
.' ├── file2.doc'."\n"
.' └── file3.png'."\n"
.'```'."\n"
."\n"
.'Note that if you use the prefix mode for packaging and the prefix matches both a file and a folder, both the file and the folder are packaged into the compressed file. For example:'."\n"
."\n"
.'```json'."\n"
.'['."\n"
.' {'."\n"
.' "URI" : "oss://bucket/test-dir2/AAA",'."\n"
.' "Alias" : "/AAA/"'."\n"
.' }'."\n"
.']'."\n"
.'```'."\n"
."\n"
.'The structure of the generated compressed file is as follows:'."\n"
."\n"
.'```'."\n"
.'.'."\n"
.'└── AAA'."\n"
.' ├── AAA'."\n"
.' └── file.txt'."\n"
.'```'."\n"
."\n"
.'##### Package specified files'."\n"
."\n"
.'If you do not want to use the prefix mode, set the `mode` parameter to package only specified files:'."\n"
."\n"
.'```json'."\n"
.'['."\n"
.' {'."\n"
.' "URI" : "oss://bucket/test-dir2/AAA",'."\n"
.' "Alias" : "AAA",'."\n"
.' "mode" : "fullname",'."\n"
.' },'."\n"
.' {'."\n"
.' "URI" : "oss://bucket/test-dir1/",'."\n"
.' "Alias" : "/test-dir1/",'."\n"
.' "mode" : "fullname",'."\n"
.' }'."\n"
.']'."\n"
.'```'."\n"
."\n"
.'The structure of the generated compressed file is as follows:'."\n"
."\n"
.'```'."\n"
.'.'."\n"
.'├── AAA'."\n"
.'└── test-dir1'."\n"
.'```',
'changeSet' => [
['createdAt' => '2023-11-20T06:17:47.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-05-12T08:01:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-10-28T04:03:43.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFileCompressionTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFileCompressionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateFileUncompressionTask' => [
'summary' => 'A file decompression task lets you decompress specific files or an entire compressed package to a specified location. Supported formats include Zip, RAR, and 7z.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '157566',
'abilityTreeNodes' => ['FEATUREimm2Z44LQ'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => ' test-project', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have specific requirements.**'."\n"
."\n"
.'The chained authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access other entity resources](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password for the encrypted compressed package.', 'type' => 'string', 'required' => false, 'example' => '123456', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user information. It is returned in the asynchronous notification message to help you associate the notification with your system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'SelectedFiles',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of files to decompress. If this parameter is empty, the entire compressed package is decompressed. The default value is empty.',
'type' => 'array',
'items' => ['description' => 'The name of the file to decompress. This is the path relative to the root directory of the compressed package.', 'type' => 'string', 'required' => false, 'example' => 'test-dir/test.jpg', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The Object Storage Service (OSS) address where the compressed file is stored.'."\n"
."\n"
.'The OSS address must be in the \\`oss\\://${Bucket}/${Object}\\` format. \\`${Bucket}\\` is the name of the OSS bucket in the same region as the current project. \\`${Object}\\` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.zip', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For details, click Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).'."\n"
."\n"
.'> Intelligent Media Management API callbacks do not support custom webhook addresses. Use MNS instead.', 'required' => false, '$ref' => '#/components/schemas/Notification', 'title' => '', 'example' => ''],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The destination OSS address for the decompressed files. The selected files or the entire compressed package are decompressed to this address.'."\n"
."\n"
.'The OSS address must be in the \\`oss\\://${Bucket}/${Object}\\` format. \\`${Bucket}\\` is the name of the OSS bucket in the same region as the current project. \\`${Object}\\` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-dir/', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Response struct',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es*****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'FileUncompression-16ab5dd6-af02-480e-9ed7-a8d51b1*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es*****\\",\\n \\"TaskId\\": \\"FileUncompression-16ab5dd6-af02-480e-9ed7-a8d51b1*****\\"\\n}","type":"json"}]',
'title' => 'CreateFileUncompressionTask',
'description' => '> This API is in public preview. If you have any questions, join our DingTalk group to provide feedback. For the group number, see [Contact us](~~84454~~).'."\n"
."\n"
.'- **Before you use this API, review the billing methods and [pricing](~~477042~~) for Intelligent Media Management.**'."\n"
.' >Timeliness is not guaranteed for asynchronous tasks.> '."\n"
."\n"
.'- File count limit: A compressed package can contain a maximum of 80,000 files.'."\n"
."\n"
.'- File size limit: 200 GB for Zip and RAR formats, and 50 GB for 7z format.'."\n"
."\n"
.'- File decompression tasks use stream decompression, which outputs files as they are decompressed. If an operation is aborted due to file corruption, the files that have already been decompressed are not deleted.'."\n"
."\n"
.'- This is an asynchronous API. Task information is stored for only 7 days and cannot be retrieved after this period. To view the task information, you can call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. Alternatively, you can set the [Notification](~~2743997~~) parameter to receive task information through an asynchronous notification message.',
'requestParamsDescription' => 'To obtain detailed decompression information when you create a decompression task, set the \\`ExtendedMessageURI\\` parameter in \\`Notification\\`. The file contains information in the following structure:'."\n"
."\n"
.'```json'."\n"
.'{'."\n"
.' "Password" : "The password of the compressed package",'."\n"
.' "IsEncryption": "true/false, specifies whether the compressed package is encrypted",'."\n"
.' "ArchiveFiles": ['."\n"
.' {'."\n"
.' "URI": "The address of the decompressed file. Example: oss://test-bucket/test-dir/test.txt",'."\n"
.' "PathName": "The path of the file relative to the compressed package. Example: ./test.txt",'."\n"
.' "Reason": "If the preview fails, this parameter indicates the reason for the failure.",'."\n"
.' "IsFolder": "true/false, specifies whether the file is a folder",'."\n"
.' "PackedSize": "The size of the file in the compressed package",'."\n"
.' "UnPackedSize": "The size of the file after decompression",'."\n"
.' "FileAccessTime": "File time information",'."\n"
.' },'."\n"
.' {'."\n"
.' "URI": "oss://test-bucket/test-dir/text.doc",'."\n"
.' "PathName": "./text.doc",'."\n"
.' "Reason": "",'."\n"
.' "IsFolder": "true",'."\n"
.' "PackedSize": "102",'."\n"
.' "UnPackedSize": "150",'."\n"
.' "FileAccessTime": "2023-07-21T09:46:35Z",'."\n"
.' },'."\n"
.' ]'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2023-08-30T07:22:03.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFileUncompressionTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFileUncompressionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateHighlightTask' => [
'summary' => 'Creates a video highlight task. This feature is in invitational preview.',
'path' => '',
'methods' => ['post'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeNodes' => ['FEATUREimmCUOMK0'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'Sources',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The list of media resources to process.'."\n"
.'A maximum of 10 videos are supported.',
'type' => 'array',
'items' => [
'description' => 'The media resource to process.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the media resource (OSS URI). Only videos are supported.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'oss://test-bucket/test-object'],
'StartTime' => ['description' => 'The start time of the media resource. Valid values: [0, video duration]. Unit: seconds.'."\n"
.'This parameter takes effect only when Type is set to Concat.', 'type' => 'number', 'title' => '', 'format' => 'double', 'required' => false, 'example' => '0'],
'Duration' => ['description' => 'The duration of the media segment. Unit: seconds. Default value: 0, which indicates the end of the video.'."\n"
.'This parameter takes effect only when Type is set to Concat.', 'type' => 'number', 'title' => '', 'format' => 'double', 'required' => false, 'example' => '0'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'example' => '',
],
],
[
'name' => 'Mode',
'in' => 'formData',
'schema' => ['description' => 'The highlight recognition mode. Valid values:'."\n"
."\n"
.'- Scene: scene and frame recognition.'."\n"
."\n"
.'- Average (default): average slice recognition.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Average'],
],
[
'name' => 'Type',
'in' => 'formData',
'schema' => ['description' => 'The processing type. Valid values:'."\n"
."\n"
.'- Retrieval: highlight extraction.'."\n"
."\n"
.'- Concat: video composition.'."\n"
."\n"
.'- Compose: one-click video production.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'Retrieval'],
],
[
'name' => 'Highlight',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The highlight configuration.',
'type' => 'object',
'properties' => [
'Content' => ['description' => 'The highlight content. Valid values:'."\n"
."\n"
.'- 宠物'."\n"
."\n"
.'- 人物'."\n"
."\n"
.'- 运动'."\n"
."\n"
.'- 会议'."\n"
."\n"
.'The value cannot exceed 100 characters.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'character'],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Edit',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The editing configuration.',
'type' => 'object',
'properties' => [
'Mode' => ['description' => 'The editing mode. Valid values:'."\n"
."\n"
.'- Sequential: sequential mode.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'Sequential'],
'BackgroundMusicMode' => ['description' => 'The background music mode. Default value: Closed. Valid values:'."\n"
."\n"
.'- Random: custom background music, randomly selected based on weight.'."\n"
."\n"
.'- Sequential: custom background music, applied in order.'."\n"
."\n"
.'- Closed: no background music.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Closed'],
'BackgroundMusics' => [
'title' => '',
'description' => 'The background music list. This parameter takes effect only when BackgroundMusicMode is set to Random or Sequential.'."\n"
.'**The maximum number is 1.**',
'type' => 'array',
'items' => [
'description' => 'The background music.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the background music (OSS URI). Only audio files are supported.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'oss://test-bucket/test-object/test.mp3'],
'Volume' => ['description' => 'The volume intensity of the background music. Valid values: [0, 10]. Default value: 0.2. A value of 1 indicates the original volume.', 'type' => 'number', 'title' => '', 'format' => 'double', 'required' => false, 'example' => '0.2'],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'TransitionMode' => ['description' => 'The transition mode. Default value: Closed. Valid values:'."\n"
."\n"
.'- Auto: automatic transition.'."\n"
."\n"
.'- Random: custom transition, randomly selected based on weight.'."\n"
."\n"
.'- Sequential: custom transition, applied in order.'."\n"
."\n"
.'- Closed: no transition.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Closed'],
'Transitions' => [
'title' => '',
'description' => 'The transition effects.'."\n"
.'This parameter takes effect only when TransitionMode is set to Random or Sequential.'."\n"
.'A maximum of 10 transitions are supported.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Transition' => ['description' => 'The transition effect. For more information, see [Transition effects](https://www.alibabacloud.com/help/en/imm/developer-reference/transition-effect).', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'fade'],
'Duration' => ['description' => 'The transition duration. Unit: seconds. If the transition duration is greater than the segment duration minus 1, the transition effect on that segment does not take effect.'."\n"
.'Valid values: [0, 5].', 'type' => 'number', 'title' => '', 'format' => 'double', 'required' => false, 'example' => '0'],
'Weight' => ['description' => 'The transition weight. Valid values: [1, 100]. Default value: 50.'."\n"
.'This parameter takes effect only when TransitionMode is set to Random.', 'type' => 'integer', 'title' => '', 'format' => 'int64', 'required' => false, 'example' => '50'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
'VfxEffectMode' => ['description' => 'The effect mode. Default value: Closed. Valid values:'."\n"
."\n"
.'- Auto: automatic effect.'."\n"
."\n"
.'- Random: custom effect, randomly selected based on weight.'."\n"
."\n"
.'- Sequential: custom effect, applied in order.'."\n"
."\n"
.'- Closed: no effect.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Closed'],
'VfxEffects' => [
'title' => '',
'description' => 'The visual effects. This parameter takes effect only when VfxEffectMode is set to Random or Sequential.'."\n"
.'A maximum of 10 effects are supported.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'VfxEffect' => ['description' => 'The visual effect. For more information, see [Effects](https://www.alibabacloud.com/help/en/imm/developer-reference/effects).', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'letterboxed'],
'Weight' => ['description' => 'The effect weight. Valid values: [1, 100]. Default value: 50.'."\n"
.'This parameter takes effect only when VfxEffectMode is set to Random.', 'type' => 'integer', 'title' => '', 'format' => 'int64', 'required' => false, 'example' => '50'],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
'required' => false,
'example' => '',
],
],
[
'name' => 'Output',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The output configuration.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the output file.', 'type' => 'string', 'title' => '', 'required' => true, 'example' => 'oss://test-bucket/test-target-object.mp4'],
'Container' => ['description' => 'The media container type. This parameter is required when Type is set to Concat or Compose. Valid values:'."\n"
."\n"
.'- Audio and video containers: mp4, mkv, mov, asf, avi, mxf, ts, flv.'."\n"
."\n"
.'>Container and URI must be specified together.> ', 'type' => 'string', 'required' => false, 'example' => 'mp4', 'title' => ''],
'Speed' => ['description' => 'The playback speed of the media. Valid values: [0.5, 1.0]. Default value: 1.0.'."\n"
."\n"
.'> This value is the ratio of the playback speed of the transcoded media file to the default playback speed of the source media file. This is not speed-adjusted transcoding.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1.0', 'title' => ''],
'Segment' => [
'description' => 'The media segmentation settings. By default, no segmentation is performed.',
'type' => 'object',
'properties' => [
'Format' => ['description' => 'The media segmentation format. Valid values:'."\n"
."\n"
.'- hls'."\n"
."\n"
.'- dash', 'type' => 'string', 'required' => false, 'example' => 'hls', 'title' => ''],
'Duration' => ['description' => 'The segment length. Unit: seconds.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '1', 'title' => ''],
'StartNumber' => ['description' => 'The start number. Only hls is supported. Default value: 0.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'Video' => ['description' => 'The video processing parameter settings.'."\n"
.'>If Video is empty, the first video stream (if any) is directly copied to the output file.> ', '$ref' => '#/components/schemas/TargetVideo', 'required' => false, 'title' => '', 'example' => ''],
'Audio' => ['description' => 'The audio processing parameter settings.'."\n"
.'>If Audio is empty, the first audio stream (if any) is directly copied to the output file.> ', '$ref' => '#/components/schemas/TargetAudio', 'required' => false, 'title' => '', 'example' => ''],
'MaxDuration' => ['description' => 'The maximum duration of the clipped video. Unit: seconds.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '10.0', 'title' => ''],
],
'required' => true,
'example' => '',
],
],
[
'name' => 'UserData',
'in' => 'formData',
'schema' => ['description' => 'The custom information, which is returned in asynchronous message notifications.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "testuid","Name": "test-user","Avatar": "http://test.com/testuid"}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The custom tags used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"test":"val1"}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The China authorization configuration. **Leave this parameter empty unless you have specific requirements.**', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, click Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](https://www.alibabacloud.com/help/en/imm/developer-reference/asynchronous-notification-message-examples).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'Highlight-4d51241b-04d4-4343-aa25-****', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'imm::2020-09-30::GetTask', 'callbackInterval' => 1000, 'maxCallbackTimes' => 60],
'title' => 'Create a video highlight clipping task',
'description' => '- **Before you use this operation, make sure that you fully understand the billing of Intelligent Media Management (IMM).** For more information, see [Billing overview](https://www.alibabacloud.com/help/en/imm/product-overview/billing-overview). This operation incurs fees for highlight extraction and media processing.'."\n"
."\n"
.'- Before you call this operation, make sure that a project already exists in the current region. For more information, see [Project management](https://www.alibabacloud.com/help/en/imm/developer-reference/api-imm-2020-09-30-createproject).'."\n"
.'>Asynchronous tasks do not guarantee timeliness.> ',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateHighlightTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es****\\",\\n \\"TaskId\\": \\"Highlight-4d51241b-04d4-4343-aa25-****\\"\\n}","type":"json"}]',
],
'CreateImageModerationTask' => [
'summary' => 'Detects non-compliant content in images, such as pornography, terrorism, undesirable scenes, logos, and text-in-image violations.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '130695',
'abilityTreeNodes' => ['FEATUREimmRIZXZT'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-project'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information. This information is returned in the asynchronous notification message to help you associate the message with your system. The value can be up to 2,048 bytes long.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the image.'."\n"
."\n"
.'The URI must follow the `oss:///` format. `` is the name of the OSS bucket that is in the same region as the project. `` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom tags. You can use tags to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The chained authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Scenes',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The image detection scenarios.',
'type' => 'array',
'items' => [
'description' => 'The image detection scenario. Valid values:'."\n"
."\n"
.'- porn: pornography detection.'."\n"
."\n"
.'- terrorism: terrorism and political content detection.'."\n"
."\n"
.'- live: undesirable scene detection.'."\n"
."\n"
.'- logo: logo detection.'."\n"
."\n"
.'- ad: text and image violation detection.'."\n"
."\n"
.'> If you do not specify a detection scenario, the `porn`, `terrorism`, and `ad` scenarios are used by default.',
'enumValueTitles' => ['ad' => 'Ad violations', 'terrorism' => 'Terrorism and political content', 'logo' => 'Logo detection', 'live' => 'Inappropriate scenes', 'porn' => 'Pornography detection'],
'type' => 'string',
'required' => false,
'example' => 'porn',
'title' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => 'The frame capture frequency. This parameter is used for GIF and long image detection. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'MaxFrames',
'in' => 'query',
'schema' => ['description' => 'The maximum number of frames to capture. This parameter is used for GIF and long image detection. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ImageModeration-179ef4f8-d583-4f0c-a293-7c0889c*****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '2E6-1I0FGn0zFnl5AflRfhzClma*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"TaskId\\": \\"ImageModeration-179ef4f8-d583-4f0c-a293-7c0889c*****\\",\\n \\"EventId\\": \\"2E6-1I0FGn0zFnl5AflRfhzClma*****\\"\\n}","type":"json"}]',
'title' => 'CreateImageModerationTask',
'description' => '- **Before you use this operation, make sure that you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management.**'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The execution time of asynchronous tasks is not guaranteed.'."\n"
."\n"
.' > '."\n"
."\n"
.'- Image requirements:'."\n"
."\n"
.' - Image URLs support the HTTP and HTTPS protocols.'."\n"
."\n"
.' - The following image formats are supported: PNG, JPG, JPEG, BMP, GIF, and WEBP.'."\n"
."\n"
.' - The image size cannot exceed 20 MB for both synchronous and asynchronous invocations. The height or width cannot exceed 30,000 pixels, and the total number of pixels cannot exceed 250 million. For GIF images, the total number of pixels cannot exceed 4,194,304, and the height or width cannot exceed 30,000 pixels.'."\n"
."\n"
.' - The image download timeout period is 3 seconds. If the download takes longer than 3 seconds, a timeout error is returned.'."\n"
."\n"
.' - For best results, the image resolution should be at least 256 × 256 pixels. Low resolution may affect detection accuracy.'."\n"
."\n"
.' - The response time for image detection depends on the image download time. Ensure the storage service where the image is stored is stable and reliable. Use Alibaba Cloud Object Storage Service (OSS) or CDN.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is saved for only 7 days. You cannot query the information after this period. To view task information, you can call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation and use the returned `TaskId`. Alternatively, you can set the [Notification](~~2743997~~) parameter to receive task information through asynchronous notification messages.'."\n"
."\n"
.'> The detection results are returned in an asynchronous notification message. The Suggestion field in the message has one of the following values:'."\n"
.'>'."\n"
.'> - pass: The image passed the review. No non-compliant content was detected.'."\n"
.'>'."\n"
.'> - block: The image failed the review. Non-compliant content was detected. The Categories field indicates the non-compliant category. For more information about the categories, see Content Moderation detection results.'."\n"
.'>'."\n"
.'> - review: The image requires manual review. After the manual review is complete, another asynchronous notification message is sent to inform you of the result.',
'changeSet' => [
['createdAt' => '2024-04-19T09:43:54.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-08-21T03:51:45.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:44.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageModerationTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageModerationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateImageSplicingTask' => [
'summary' => 'Stitches multiple images into a single image based on specified rules and saves the output to a specified OSS object.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '144838',
'abilityTreeNodes' => ['FEATUREimm4NW8UR'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The project name. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'Sources',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of input images. The images are stitched in the order of their URIs in the list.',
'type' => 'array',
'items' => [
'description' => 'The information about an input image.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the source image.'."\n"
."\n"
.'The URI must be in the oss\\://${Bucket}/${Object} format. `${Bucket}` is the name of the OSS bucket that is in the same region as the project. `${Object}` is the full path of the file, including the file name extension.'."\n"
."\n"
.'Supported image formats: JPG and PNG.', 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/sampleobject.jpg', 'title' => ''],
'Rotate' => ['description' => 'The rotation angle of the image. Valid values:'."\n"
."\n"
.'- 0 (default)'."\n"
."\n"
.'- 90'."\n"
."\n"
.'- 180'."\n"
."\n"
.'- 270', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'minItems' => 1,
'title' => '',
'example' => '',
],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI where the output image is stored.'."\n"
."\n"
.'The URI must be in the oss\\://${bucketname}/${objectname} format. ${bucketname} is the name of the OSS bucket that is in the same region as the project. ${objectname} is the path of the file, including the file name.', 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/outputImage.jpg', 'title' => ''],
],
[
'name' => 'ImageFormat',
'in' => 'query',
'schema' => [
'description' => 'The compression format of the output image. Valid values:'."\n"
."\n"
.'- jpg (default)'."\n"
."\n"
.'- png'."\n"
."\n"
.'- webp',
'enumValueTitles' => ['jpg' => 'jpg', 'png' => 'png', 'webp' => 'webp'],
'type' => 'string',
'required' => false,
'example' => 'jpg',
'title' => '',
],
],
[
'name' => 'Quality',
'in' => 'query',
'schema' => ['description' => 'The compression quality of the output image. This parameter is valid only for JPG and WebP images. The value range is 0 to 100. The default value is 80.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '80', 'title' => ''],
],
[
'name' => 'Direction',
'in' => 'query',
'schema' => ['description' => 'The image stitching method. Valid values:'."\n"
."\n"
.'- vertical (default): Stitches images vertically. The widths of all images must be the same.'."\n"
."\n"
.'- horizontal: Stitches images horizontally. The heights of all images must be the same.', 'type' => 'string', 'required' => false, 'example' => 'vertical', 'title' => ''],
],
[
'name' => 'ScaleType',
'in' => 'query',
'schema' => ['description' => 'The scaling method used when the width or height of an image is aligned. Valid values:'."\n"
."\n"
.'- fit (default): Scales the image without adding black bars. Only proportional scaling is supported.'."\n"
."\n"
.'- stretch: Stretches the image to fill the space.', 'type' => 'string', 'required' => false, 'example' => 'stretch', 'title' => ''],
],
[
'name' => 'Align',
'in' => 'query',
'schema' => ['description' => 'The alignment value, in pixels, for the width or height of the images to be stitched. The value can range from 1 to 4096.'."\n"
."\n"
.'- If you set **Direction** to `vertical`, this parameter specifies the width alignment.'."\n"
."\n"
.'- If you set **Direction** to `horizontal`, this parameter specifies the height alignment.'."\n"
."\n"
.'> If you do not specify this parameter, the width or height of the first image is used for alignment by default.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '192', 'title' => ''],
],
[
'name' => 'Padding',
'in' => 'query',
'schema' => ['description' => 'The space, in pixels, between sub-images in the stitched image. The default value is 0.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'Margin',
'in' => 'query',
'schema' => ['description' => 'The blank margin, in pixels, of the stitched image. The default value is 0.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'BackgroundColor',
'in' => 'query',
'schema' => ['description' => 'The fill color for the areas specified by `Padding` and `Margin`. The value can be in the `#FFFFFF` format or a keyword such as `red` or `alpha`.', 'type' => 'string', 'required' => false, 'example' => 'red', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information. This information is returned in the asynchronous notification message. Use this information to associate the notification message with your system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The chained authorization configuration. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The result of image stitching.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '94D6F994-E298-037E-8E8B-0090F27*****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '10C-1R6p7Km0H5Ieg38LKXTIvw*****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ImageSplicing-537cc157-7645-444a-a631-c8db4d02*****', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94D6F994-E298-037E-8E8B-0090F27*****\\",\\n \\"EventId\\": \\"10C-1R6p7Km0H5Ieg38LKXTIvw*****\\",\\n \\"TaskId\\": \\"ImageSplicing-537cc157-7645-444a-a631-c8db4d02*****\\"\\n}","type":"json"}]',
'title' => 'CreateImageSplicingTask',
'description' => '- **Before you call this operation, make sure that you understand the billing methods and [pricing](~~88317~~) of Intelligent Media Management.**'."\n"
."\n"
.'- Before you call this operation, ensure that an active project exists in the current region. For more information, see [Project management](~~478152~~).'."\n"
."\n"
.'- You can stitch a maximum of 10 images in this operation. The length of a single edge of each image cannot exceed 32,876 pixels. The total number of pixels cannot exceed 1 billion.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is saved for 7 days. After this period, you can no longer query the task information. To query task information, call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation and use the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive asynchronous notifications about the task.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:43.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-07-20T02:53:53.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-07-19T02:09:08.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageSplicingTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageSplicingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateImageToPDFTask' => [
'summary' => 'Converts multiple images into a single PDF file and saves the file as a specified OSS object.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '147624',
'abilityTreeNodes' => ['FEATUREimmEPY4NE'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'Sources',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of input images. The images are converted in the order of their URIs in this list.',
'type' => 'array',
'items' => [
'description' => 'The information about an input image.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS address of the source image.'."\n"
."\n"
.'The address must be in the \\`oss\\://${Bucket}/${Object}\\` format. \\``${Bucket}`\\` must be an OSS bucket in the same region as the project. \\``${Object}`\\` must be the full path of the file, including its file name extension.'."\n"
."\n"
.'Supported formats: JPG, JP2, PNG, TIFF, WebP, BMP, and SVG.', 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/sampleobject.jpg', 'title' => ''],
'Rotate' => ['description' => 'The rotation angle of the image in degrees. Valid values:'."\n"
."\n"
.'- 0 (default)'."\n"
."\n"
.'- 90'."\n"
."\n"
.'- 180'."\n"
."\n"
.'- 270', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'minItems' => 1,
'title' => '',
'example' => '',
],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The OSS address where the output PDF file is stored.'."\n"
."\n"
.'The address must be in the \\`oss\\://${bucketname}/${objectname}\\` format. \\`${bucketname}\\` must be an OSS bucket in the same region as the project. \\`${objectname}\\` must be the path of the file, including the file name.', 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket/outputDocument.pdf', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom user information that is returned in the asynchronous notification message. This helps you associate the notification message with your system. The maximum length is 2048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The chained authorization configuration. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, click Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es*****', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ImageToPDF-cbe6ae3e-f8dc-4566-9da7-535d5d*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es*****\\",\\n \\"TaskId\\": \\"ImageToPDF-cbe6ae3e-f8dc-4566-9da7-535d5d*****\\"\\n}","type":"json"}]',
'title' => 'CreateImageToPDFTask',
'description' => '- **Before using this API, make sure you understand the billing methods and [pricing](~~88317~~) of Intelligent Media Management.**'."\n"
."\n"
.'- Before calling this API, make sure that an active project exists in the current region. For more information, see [Project management](~~478152~~).'."\n"
."\n"
.'- This API supports up to 100 input images.'."\n"
."\n"
.'- This is an asynchronous API. After a task starts, its information is stored for only 7 days and cannot be retrieved after this period. To view task information, call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) API with the returned `TaskId`. You can also receive task information through asynchronous notification messages by setting the [Notification](~~2743997~~) parameter.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:43.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageToPDFTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageToPDFTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateLocationDateClusteringTask' => [
'summary' => 'The spatio-temporal clustering feature classifies files in a dataset based on their time and location. This feature works on indexed files, such as images and videos, that contain shooting time and location data. These classifications can represent content from a user\'s trip, where files have similar timestamps and locations. The classifications can also represent content shot at different places where a user lives or works. Analyzing the locations and time ranges of these classifications lets you categorize media files, create highlight reels, and generate photo and video stories.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '157768',
'abilityTreeNodes' => ['FEATUREimmPECUUL'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset name. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom information that is returned in the asynchronous notification message. This helps you associate the notification message with your system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'DateOptions',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The date clustering settings.'."\n"
.'>Modifying this setting also affects existing spatio-temporal clusters in your `Dataset`.> ',
'type' => 'object',
'properties' => [
'GapDays' => ['description' => 'The maximum number of gap days allowed in a single spatio-temporal group. The value must be in the range of 0 to 99,999.'."\n"
."\n"
.'For example, a user has photos from March 4–5 and March 7, but not from March 6. If you assume that the photos from March 4–7 belong to the same trip, set this parameter to `1 day`. This allows the gap of `1 day` on March 6 to be included in the same spatio-temporal cluster.'."\n"
."\n"
.'Set this parameter to a value from 0 to 3.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'MinDays' => ['description' => 'The minimum number of days in a single spatio-temporal group. The value must be in the range of 1 to 99,999. Clusters with fewer days than this value are not detected or stored.'."\n"
."\n"
.'For example, if you do not want to include one-day trips in the generated groups, set this parameter to 2.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'MaxDays' => ['description' => 'The maximum number of days in a single spatio-temporal group. The value must be in the range of 1 to 99,999. Clusters with more days than this value are not detected or stored.'."\n"
."\n"
.'For example, if a user takes photos in the same location for more than 15 consecutive days, this location might be their residence rather than a travel destination. If you want to exclude this time period and location from the spatio-temporal clusters, set this parameter to 15.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '15', 'title' => ''],
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'LocationOptions',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The location clustering settings.'."\n"
.'>Modifying this setting also affects existing spatio-temporal clusters in your `Dataset`.> ',
'type' => 'object',
'properties' => [
'LocationDateClusterLevels' => [
'description' => 'A list of administrative levels for grouping. You can select multiple levels.'."\n"
."\n"
.'For example, a user uploads photos taken in Hangzhou from March 3 to March 5 and photos taken in Jiaxing from March 6 to March 8. If you set this parameter to `["city", "province"]`, the following spatio-temporal clusters are generated:'."\n"
."\n"
.'- March 3 to March 5, Hangzhou'."\n"
."\n"
.'- March 6 to March 8, Jiaxing'."\n"
."\n"
.'- March 3 to March 8, Zhejiang',
'type' => 'array',
'items' => [
'description' => 'The administrative level for grouping.',
'enumValueTitles' => ['country' => 'Country or region', 'province' => 'Province', 'city' => 'City', 'district' => 'District', 'township' => 'Township'],
'type' => 'string',
'required' => true,
'enum' => [],
'example' => 'province',
'title' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, see Notification. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The information about the spatio-temporal clustering task.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B121940C-9794-4EE3-8D6E-F8EC525F****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'LocationDateClustering-c10dce07-1de7-4da7-abee-1a3aba7****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '25B-1W2ChgujA3Q8MbBY6mSp2mh****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B121940C-9794-4EE3-8D6E-F8EC525F****\\",\\n \\"TaskId\\": \\"LocationDateClustering-c10dce07-1de7-4da7-abee-1a3aba7****\\",\\n \\"EventId\\": \\"25B-1W2ChgujA3Q8MbBY6mSp2mh****\\"\\n}","type":"json"}]',
'title' => 'CreateLocationDateClusteringTask',
'description' => '- **Before you use this operation, you must understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM)**.'."\n"
.' >Asynchronous tasks do not have a guaranteed processing time.> '."\n"
."\n"
.'- Before you call this operation, you must index files into a dataset. You can index files by binding data sources using [CreateBinding](~~478202~~) or by indexing files using [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~).'."\n"
."\n"
.'- Each call to this operation processes the files in the specified `Dataset` **incrementally**. You can call this operation periodically to process new files.'."\n"
."\n"
.'- After clustering is complete, you can call the [QueryLocationDateClusters](~~478189~~) operation to retrieve the clustering results.'."\n"
."\n"
.'- Deleting a file from a dataset does not change the spatio-temporal clusters. To delete existing spatio-temporal clusters, you can call the [DeleteLocationDateCluster](~~478191~~) operation.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is saved for only 7 days. You cannot retrieve task information after 7 days. You can call the [GetTask](~~GetTask~~) or [ListTasks](~~ListTasks~~) operation to view task information using the returned `TaskId`. You can also configure the [Notification](~~2743997~~) parameter to receive task information through message notifications.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:43.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLocationDateClusteringTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateLocationDateClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateMediaConvertTask' => [
'summary' => 'Create an asynchronous media transcoding task. This task processes audio and video files for media transcoding, media concatenation, video frame capture, and animated GIF generation.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '132611',
'abilityTreeNodes' => ['FEATUREimmCUOMK0'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Sources',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of media files. If you provide more than one file, they are concatenated in the order of their URIs.',
'type' => 'array',
'items' => [
'description' => 'The source media file.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the object. The URI must use the `oss://${Bucket}/${Object}` format, where `${Bucket}` is the name of an OSS bucket in the same region as the project, and `${Object}` is the full path to the object, including its file extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'StartTime' => ['description' => 'The start time of media transcoding, in seconds. Valid values include:'."\n"
."\n"
.'- 0 (default): Transcoding starts from the beginning of the media file.'."\n"
."\n"
.'- n (a value greater than 0): Transcoding starts n seconds into the media file.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0', 'title' => ''],
'Duration' => ['description' => 'The duration of media transcoding in seconds. The default value, 0, transcodes the media until its end.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0', 'title' => ''],
'Subtitles' => [
'description' => 'A list of subtitles to add.',
'type' => 'array',
'items' => [
'description' => 'The subtitle settings.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the object. The URI must use the `oss://${Bucket}/${Object}` format, where `${Bucket}` is the name of an OSS bucket in the same region as the project, and `${Object}` is the full path to the object, including its file extension.'."\n"
.'Supported subtitle formats include: srt, vtt, mov\\_text, ass, dvd\\_sub, and pgs.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object'."\n", 'title' => ''],
'TimeOffset' => ['description' => 'The subtitle delay, in seconds. The default value is 0.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '10.5', 'title' => ''],
'Language' => ['description' => 'The language of the subtitle. The value must comply with the ISO 639-2 standard.', 'type' => 'string', 'required' => false, 'example' => 'eng', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
'Attached' => ['description' => 'If true, adds the current source media file to the output as a synchronized audio stream or video stream. The default is false.'."\n"
."\n"
.'> - You cannot set Attached to true for the source media file referenced by AlignmentIndex.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'AlignMode' => ['description' => 'The alignment mode for the added audio and video streams. Valid values include:'."\n"
."\n"
.'- false (default): No alignment is performed.'."\n"
."\n"
.'- loop: Aligns content by looping the audio or video.'."\n"
."\n"
.'- pad: Aligns content by padding with silent frames or black frames.'."\n"
."\n"
.'> * This parameter only takes effect if Attached is set to true.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''],
'DisableVideo' => ['description' => 'Specifies whether to disable the video from the source media file. Valid values include:'."\n"
."\n"
.'- true: Disables the video.'."\n"
."\n"
.'- false (default): Includes the video.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
'DisableAudio' => ['description' => 'Specifies whether to disable the audio from the source media file. Valid values include:'."\n"
."\n"
.'- true: Disables the audio.'."\n"
."\n"
.'- false (default): Includes the audio.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Targets',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'A list of media processing tasks.',
'type' => 'array',
'items' => [
'description' => 'The settings for an output media file.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the output file for media transcoding.'."\n"
."\n"
.'The URI must be in the `oss://${Bucket}/${Object}` format. In this format, `${Bucket}` is the name of the OSS bucket, which must be in the same region as the project, and `${Object}` is the full path to the object, including the file extension.'."\n"
."\n"
.'- If the **URI** has a file extension, all output media files are saved to this **URI**. If multiple files are generated, they will overwrite each other.'."\n"
."\n"
.'- If the **URI** does not have a file extension, the final output URI is generated based on the **URI**, **Container**, and **Segment** parameters. For example, if the **URI** is `oss://examplebucket/outputVideo`:'."\n"
."\n"
.' - If **Container** is `mp4` and **Segment** is empty, the OSS URI of the generated media file is `oss://examplebucket/outputVideo.mp4`.'."\n"
."\n"
.' - If **Container** is `ts` and **Format** in **Segment** is `hls`, the process generates an m3u8 file with the OSS URI `oss://examplebucket/outputVideo.m3u8` and multiple TS files prefixed with `oss://examplebucket/outputVideo`.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-target-object.mp4', 'title' => ''],
'Container' => ['description' => 'The media container type. Valid container types include:'."\n"
."\n"
.'- Audio/video containers: mp4, mkv, mov, asf, avi, mxf, ts, flv'."\n"
."\n"
.'- Audio-only containers: mp3, aac, flac, oga, ac3, opus'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The `Container` and `URI` parameters must be set together. To perform only subtitle extraction, frame capture, sprite generation, or animated image generation, leave both `Container` and `URI` empty. In this case, parameters such as `Segment`, `Video`, `Audio`, and `Speed` are ignored.'."\n"
."\n"
.' > ', 'type' => 'string', 'required' => false, 'example' => 'mp4', 'title' => ''],
'Speed' => ['description' => 'The playback speed of the output media. The value must be between 0.5 and 1.0, inclusive. The default value is 1.0.'."\n"
."\n"
.'> This parameter specifies the default playback speed of the output file as a ratio of the source file\'s speed. It does not perform speed-up transcoding.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
'Segment' => [
'description' => 'Settings for media segmentation.',
'type' => 'object',
'properties' => [
'Format' => ['description' => 'The segmentation method. Valid values include:'."\n"
."\n"
.'- hls'."\n"
."\n"
.'- dash', 'type' => 'string', 'required' => false, 'example' => 'hls', 'title' => ''],
'Duration' => ['description' => 'The duration of each segment, in seconds.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '30', 'title' => ''],
'StartNumber' => ['description' => 'The starting sequence number. This parameter is supported only for HLS. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'Video' => ['description' => 'The video processing parameters.'."\n"
.'>If this parameter is left empty, the first video stream, if it exists, is copied directly to the output file.> ', '$ref' => '#/components/schemas/TargetVideo', 'required' => false, 'title' => '', 'example' => ''],
'Audio' => ['description' => 'The audio processing parameters.'."\n"
.'>If this parameter is left empty, the first audio stream, if it exists, is copied directly to the output file.> ', '$ref' => '#/components/schemas/TargetAudio', 'required' => false, 'title' => '', 'example' => ''],
'Subtitle' => ['description' => 'The subtitle processing parameters.'."\n"
.'>If this parameter is left empty, the first subtitle stream, if it exists, is copied directly to the output file.> ', '$ref' => '#/components/schemas/TargetSubtitle', 'required' => false, 'title' => '', 'example' => ''],
'Image' => ['description' => 'The parameters for frame capture, sprite generation, and animated image generation.', '$ref' => '#/components/schemas/TargetImage', 'required' => false, 'title' => '', 'example' => ''],
'StripMetadata' => ['description' => 'If true, removes metadata such as `title` and `album` from the media file. The default is false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''],
'Data' => [
'type' => 'object',
'properties' => [
'Stream' => [
'type' => 'array',
'items' => ['description' => 'The index of the data stream to process.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
'description' => 'A list of indexes of the data streams in the source file to process. An empty list (default) indicates that no data streams are retained. An index of -1 indicates that all data streams are retained.'."\n"
."\n"
.'- Example: `[0,1]` processes the data streams with index 0 and 1; `[1]` processes the data stream with index 1; `[-1]` processes all data streams.'."\n"
."\n"
.'> If a specified index does not correspond to an existing data stream, it is ignored.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'Settings for retaining data streams.'."\n"
.'>Retaining data streams is supported only when the `Container` parameter is set to `mp4`.> ',
'title' => '',
'example' => '',
'required' => false,
],
'AttachedPicture' => [
'type' => 'object',
'properties' => [
'Stream' => [
'type' => 'array',
'items' => ['description' => 'The index of the attached picture to process.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
'description' => 'A list of indexes of the attached pictures in the source file to process. An empty list (default) indicates that no attached pictures are retained. An index of -1 indicates that all attached pictures are retained.'."\n"
."\n"
.'- Example: `[0,1]` processes the attached pictures with index 0 and 1; `[1]` processes the attached picture with index 1; `[-1]` processes all attached pictures.'."\n"
."\n"
.'> If a specified index does not correspond to an existing attached picture, it is ignored.',
'required' => false,
'title' => '',
'example' => '',
],
],
'description' => 'Settings for retaining attached pictures.'."\n"
.'>Retaining attached pictures is supported only when the `Container` parameter is set to `mp4` or `mkv`.> ',
'title' => '',
'example' => '',
'required' => false,
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom user data. This data is returned in the asynchronous notification, allowing you to associate the notification with your internal system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "testuid","Name": "test-user","Avatar": "http://test.com/testuid"}', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags for searching and filtering asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"test":"val1"}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**You can leave this parameter empty if you do not have special requirements.**'."\n"
."\n"
.'The chained authorization configuration. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification settings. For more information, click Notification. For information about the format of asynchronous notifications, see [Asynchronous notification format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'AlignmentIndex',
'in' => 'query',
'schema' => ['description' => 'When concatenating media files, this specifies the index of the primary file in the Sources list. The default transcoding parameters (such as resolution and frame rate from the `Video` and `Audio` objects) are taken from this primary file. The default index is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'TargetGroups',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the output HLS master playlist file for the packaging task.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object/master.m3u8', 'title' => ''],
'Targets' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the output HLS media playlist file for the subtask.'."\n"
.'>This URI must be in the same directory as or a subdirectory of `TargetGroups.URI`.> ', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-target-object.mp4', 'title' => ''],
'Container' => ['description' => 'The packaging container type. Only `mp4` and `ts` are supported.', 'type' => 'string', 'required' => false, 'example' => 'mp4', 'title' => ''],
'Speed' => ['description' => 'The playback speed of the output media. The value must be between 0.5 and 1.0, inclusive. The default value is 1.0.'."\n"
."\n"
.'> This parameter specifies the default playback speed of the output file as a ratio of the source file\'s speed. It does not perform speed-up transcoding.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.0', 'title' => ''],
'Segment' => [
'type' => 'object',
'properties' => [
'Format' => ['description' => 'The media packaging format. Only `hls` is supported.', 'type' => 'string', 'required' => false, 'example' => 'hls', 'title' => ''],
'Duration' => ['description' => 'The duration of each segment, in seconds.', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '30', 'title' => ''],
'StartNumber' => ['description' => 'The starting sequence number for segments. The default is 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''],
],
'description' => 'The media packaging settings.',
'required' => false,
'title' => '',
'example' => '',
],
'Video' => ['description' => 'The video processing parameters.'."\n"
.'>If this parameter is left empty, the first video stream, if it exists, is copied directly to the output file.> ', '$ref' => '#/components/schemas/TargetVideo', 'required' => false, 'title' => '', 'example' => ''],
'Audio' => ['description' => 'The audio processing parameters.'."\n"
.'>If this parameter is left empty, the first audio stream, if it exists, is copied directly to the output file.> ', '$ref' => '#/components/schemas/TargetAudio', 'required' => false, 'title' => '', 'example' => ''],
'Subtitle' => ['description' => 'The subtitle processing parameters.'."\n"
.'>You must use the `Subtitle.ExtractSubtitle` parameter to package subtitle streams. The `URI` in `Subtitle.ExtractSubtitle` must be in the same directory as or a subdirectory of `TargetGroups.URI`. The `Format` in `Subtitle.ExtractSubtitle` must be `vtt`. You only need to configure this parameter in one `Target` to package all subtitle streams.> ', '$ref' => '#/components/schemas/TargetSubtitle', 'required' => false, 'title' => '', 'example' => ''],
'StripMetadata' => ['description' => 'If true, removes metadata from the output file. The default is false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'description' => 'A list of media packaging subtasks. Each `Target` corresponds to a variant stream (`#EXT-X-STREAM-INF`) in the HLS master playlist and generates a corresponding HLS media playlist.',
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'description' => '',
'title' => '',
'example' => '',
],
'description' => 'A list of media packaging tasks to convert and package the input media into HLS outputs. Each TargetGroup corresponds to one HLS master playlist.',
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '响应结构体',
'description' => 'The response body.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求 ID', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6'],
'EventId' => ['description' => 'The ID of the event.', 'type' => 'string', 'example' => '0ED-1Bz8z71k5TtsUejT4UJ16Es****', 'title' => ''],
'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 'MediaConvert-adb1ee28-c4c9-42a7-9f54-3b8eadcb****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6\\",\\n \\"EventId\\": \\"0ED-1Bz8z71k5TtsUejT4UJ16Es****\\",\\n \\"TaskId\\": \\"MediaConvert-adb1ee28-c4c9-42a7-9f54-3b8eadcb****\\"\\n}","type":"json"}]',
'title' => 'Create Media Transcoding Task',
'description' => '- **Before you call this operation, ensure you understand the billing methods and [pricing](~~88317~~) for Intelligent Media Management.**'."\n"
."\n"
.'- Before calling this operation, ensure a project is available in the current region. For more information, see [Project Management](~~478152~~).'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The completion time of an asynchronous task is not guaranteed.'."\n"
."\n"
.' > '."\n"
."\n"
.'- When you use this operation for media transcoding, it processes only one video, audio, or subtitle stream by default. You can also configure the number of streams to process.'."\n"
."\n"
.'- When you use this operation for media concatenation, you can specify a maximum of 11 media files. Parameters for operations such as media transcoding and frame capture apply to the final concatenated output.'."\n"
."\n"
.'- This operation is asynchronous. After a task starts, its information is retained for only 7 days. After this period, you cannot retrieve it. To view task information, call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive task information via message notifications.',
'changeSet' => [
['createdAt' => '2025-04-17T09:26:17.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-05-09T03:31:19.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:29:58.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:41.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-04-26T03:30:15.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateMediaConvertTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateMediaConvertTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateOfficeConversionTask' => [
'summary' => 'Creates a document conversion task that converts documents, such as Word, PowerPoint, Excel, and PDF files, stored in Object Storage Service (OSS) into images, text files, or PDF files.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '129600',
'abilityTreeNodes' => ['FEATUREimmV2RAAA'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The storage address of the source data.'."\n"
."\n"
.'The OSS address must be in the oss\\://${Bucket}/${Object} format. \\`${Bucket}\\` is the name of the OSS bucket that is in the same region as the current project. \\`${Object}\\` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
[
'name' => 'Sources',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'A list of input images. The images are converted in the order of their URIs in the list. (**This parameter is not yet published. Do not use it.**)',
'type' => 'array',
'items' => [
'description' => 'The information about an input image.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS address of the source image.'."\n"
."\n"
.'The OSS address must be in the oss\\://${Bucket}/${Object} format. ${Bucket} is the name of the OSS bucket that is in the same region as the current project. ${Object} is the full path of the file, including the file name extension.'."\n"
."\n"
.'Supported image formats: jpg, jp2, png, tiff, webp, bmp, and svg.', 'type' => 'string', 'required' => false, 'example' => 'oss://examplebucket/sampleobject.jpg', 'title' => ''],
'Rotate' => ['description' => 'The rotation angle of the image. Valid values:'."\n"
."\n"
.'- 0 (default)'."\n"
."\n"
.'- 90'."\n"
."\n"
.'- 180'."\n"
."\n"
.'- 270', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => 'oss://imm-test/test.pptx',
'title' => '',
],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The template for the output address of the converted document.'."\n"
."\n"
.'The address must be in the `oss://{bucket}/{tags.custom}/{dirname}/{barename}.{autoext}` format. For more information, see [TargetURI templates](~~465762~~).'."\n"
."\n"
.'> Specify either this parameter or \\`TargetURIPrefix\\`.', 'type' => 'string', 'example' => 'oss://examplebucket/outputDocument.pdf', 'title' => '', 'required' => false],
],
[
'name' => 'TargetURIPrefix',
'in' => 'query',
'schema' => ['description' => 'The prefix of the storage address for the output file after document conversion.'."\n"
."\n"
.'The prefix must be in the `oss://${Bucket}/${Prefix}/` format. \\`${Bucket}\\` is the name of the OSS bucket that is in the same region as the current project. \\`${Prefix}\\` is the prefix of the storage address for the output file.'."\n"
."\n"
.'> Specify either this parameter or \\`TargetURI\\`.', 'type' => 'string', 'required' => false, 'example' => 'oss://examplebucket/outputprefix/', 'title' => ''],
],
[
'name' => 'SourceType',
'in' => 'query',
'schema' => ['description' => 'The extension type of the source data. By default, the type of the source data is determined by the extension of the OSS object. If the OSS object does not have an extension, you can set this parameter. Valid values:'."\n"
."\n"
.'- Word processor documents (Word): doc, docx, wps, wpss, docm, dotm, dot, and dotx'."\n"
."\n"
.'- Presentation documents (PowerPoint): pptx, ppt, pot, potx, pps, ppsx, dps, dpt, pptm, potm, ppsm, and dpss'."\n"
."\n"
.'- Spreadsheet documents (Excel): xls, xlt, et, ett, xlsx, xltx, csv, xlsb, xlsm, xltm, and ets'."\n"
."\n"
.'- PDF documents: pdf', 'type' => 'string', 'required' => false, 'example' => 'doc', 'title' => ''],
],
[
'name' => 'TargetType',
'in' => 'query',
'schema' => ['description' => 'The type of the output file. Valid values:'."\n"
."\n"
.'- png: Converts the document to PNG images.'."\n"
."\n"
.'- jpg: Converts the document to JPG images.'."\n"
."\n"
.'- pdf: Converts the document to a PDF file.'."\n"
."\n"
.'- txt: Converts the document to a text-only file. This is mainly used to extract text content from the file. This option is supported only for presentation documents, word processor documents, and spreadsheet documents. When you convert a spreadsheet document, a single txt file is generated, and settings for sheet-related variables do not take effect.', 'type' => 'string', 'required' => true, 'example' => 'png', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information. This information is returned in the asynchronous notification message to help you associate the notification with your services. The value can be up to 2,048 bytes in length.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '{'."\n"
.' "id": "test-id",'."\n"
.' "name": "test-name"'."\n"
.'}'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom tags. The value is a dictionary. You can use tags to search for tasks.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => '{'."\n"
.' "key": "value"'."\n"
.'}'],
],
[
'name' => 'StartPage',
'in' => 'query',
'schema' => ['description' => 'The start page for the document conversion. The default value is 1.'."\n"
."\n"
.'> - If the source file is a spreadsheet, you must specify the worksheet number.'."\n"
.'>'."\n"
.'> - This parameter takes effect only when you convert the document to images. It does not take effect when you convert the document to a PDF file or a text file.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'EndPage',
'in' => 'query',
'schema' => ['description' => 'The end page for the document conversion. The default value is -1, which indicates that all pages from the start page to the last page are converted.'."\n"
."\n"
.'> - If the source file is a spreadsheet, you must specify the worksheet number (\\`SheetIndex\\`).'."\n"
.'>'."\n"
.'> - If the document has many pages, we recommend that you convert them in batches. Otherwise, the conversion may time out.'."\n"
.'>'."\n"
.'> - This parameter takes effect only when you convert the document to images. It does not take effect when you convert the document to a PDF file or a text file.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '-1'],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password to open the document. Set this parameter if you want to convert a password-protected document.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '123456'],
],
[
'name' => 'ScalePercentage',
'in' => 'query',
'schema' => ['description' => 'The scaling ratio of the document. Valid values: 20 to 199. The default value is 100, which indicates that the document is not scaled.'."\n"
."\n"
.'> A value less than 100 indicates that the document is scaled down. A value greater than 100 indicates that the document is scaled up.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '100'],
],
[
'name' => 'Quality',
'in' => 'query',
'schema' => ['description' => 'The quality of the converted file. Valid values: 0 to 100. A value of 0 indicates the lowest quality and the best performance. A value of 100 indicates the highest quality and the poorest performance. By default, the system sets an appropriate value based on the document content to balance quality and performance.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '60'],
],
[
'name' => 'Pages',
'in' => 'query',
'schema' => ['description' => 'The page numbers to convert. This parameter has a higher priority than the \\`StartPage\\` and \\`EndPage\\` parameters. The format is as follows:'."\n"
."\n"
.'- Separate multiple page numbers with commas (,), for example, 1,2.'."\n"
."\n"
.'- Specify a range of consecutive pages with a hyphen (-), for example, 1,2-4,7.', 'type' => 'string', 'example' => '1,2-4,7', 'title' => '', 'required' => false],
],
[
'name' => 'MaxSheetRow',
'in' => 'query',
'schema' => ['description' => 'The maximum number of rows to convert when you convert a spreadsheet document to images. By default, all rows are converted.'."\n"
."\n"
.'> This parameter takes effect only when you set **LongPicture** to `true`.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '10'],
],
[
'name' => 'MaxSheetColumn',
'in' => 'query',
'schema' => ['description' => 'The maximum number of columns to convert when you convert a spreadsheet document to images. By default, all columns are converted.'."\n"
."\n"
.'> This parameter takes effect only when you set **LongPicture** to `true`.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '10'],
],
[
'name' => 'SheetCount',
'in' => 'query',
'schema' => ['description' => 'The number of worksheets to convert to images in the spreadsheet document. By default, all worksheets are converted.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'SheetIndex',
'in' => 'query',
'schema' => ['description' => 'The number of the worksheet to convert to images in the spreadsheet document. Valid values: 1 to the number of the last worksheet. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'FitToWidth',
'in' => 'query',
'schema' => ['description' => 'When you convert a spreadsheet document to images or a PDF file, specifies whether to render all columns on a single image or PDF page. Valid values:'."\n"
."\n"
.'- false (default): No. The content is rendered on multiple images or PDF pages.'."\n"
."\n"
.'- true: Yes. The content is rendered on a single image or PDF page.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'FitToHeight',
'in' => 'query',
'schema' => ['description' => 'When you convert a spreadsheet document to images or a PDF file, specifies whether to render all rows on a single image or PDF page. Valid values:'."\n"
."\n"
.'- false (default): No. The content is rendered on multiple images or PDF pages.'."\n"
."\n"
.'- true: Yes. The content is rendered on a single image or PDF page.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'FirstPage',
'in' => 'query',
'schema' => ['description' => 'When you convert a spreadsheet document to images, specifies whether to return only the first image of the conversion result. The number of rows and columns in the image is the result of automatic splitting. Valid values:'."\n"
."\n"
.'- false (default): No. All images are returned.'."\n"
."\n"
.'- true: Yes. Only the first image is returned. This is used to extract a thumbnail.'."\n"
."\n"
.'> This parameter takes effect only if you set the **LongPicture** parameter to `true`.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'PaperSize',
'in' => 'query',
'schema' => ['description' => 'The paper size for converting a spreadsheet document to images. The output image is similar to a printed page. Valid values:'."\n"
."\n"
.'- A0'."\n"
."\n"
.'- A2'."\n"
."\n"
.'- A4 (default)'."\n"
."\n"
.'> This parameter takes effect only when you use it with the **FitToHeight** and **FitToWidth** parameters.', 'type' => 'string', 'example' => 'A4', 'title' => '', 'required' => false],
],
[
'name' => 'PaperHorizontal',
'in' => 'query',
'schema' => ['description' => 'When you convert a spreadsheet document to images, specifies whether to place the paper horizontally. The output image is similar to a printed page. Valid values:'."\n"
."\n"
.'- false (default): No. The paper is placed vertically.'."\n"
."\n"
.'- true: Yes. The paper is placed horizontally.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'TrimPolicy',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The trimming policy for spreadsheet conversion. For example, if a spreadsheet contains many empty rows and columns, a large amount of white space may be generated if no trimming policy is specified.', '$ref' => '#/components/schemas/TrimPolicy', 'title' => '', 'required' => false, 'example' => ''],
],
[
'name' => 'ShowComments',
'in' => 'query',
'schema' => ['description' => 'When you convert a word processor document to images, specifies whether to show comments. Valid values:'."\n"
."\n"
.'- false (default): No. Comments are not shown.'."\n"
."\n"
.'- true: Yes. Comments are shown.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'LongPicture',
'in' => 'query',
'schema' => ['description' => 'When you convert a document to images, specifies whether to convert it into a long image. Valid values:'."\n"
."\n"
.'- false (default): No. The document is converted into multiple images.'."\n"
."\n"
.'- true: Yes. The document is converted into a long image.'."\n"
."\n"
.'> You can combine a maximum of 20 pages into a long image. If the number of pages exceeds this limit, the conversion task may fail.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ImageDPI',
'in' => 'query',
'schema' => ['description' => 'The DPI of the output image. Valid values: 96 to 600. The default value is 96.', 'type' => 'integer', 'format' => 'int64', 'example' => '96', 'title' => '', 'required' => false],
],
[
'name' => 'LongText',
'in' => 'query',
'schema' => ['description' => 'When you convert a document to text, specifies whether to convert it into a long text file. Valid values:'."\n"
."\n"
.'- false (default): No. Each page of the document is converted into a separate text file.'."\n"
."\n"
.'- true: Yes. All content is placed in a single text file.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'HoldLineFeed',
'in' => 'query',
'schema' => ['description' => 'When you convert a document to text, specifies whether to keep the line feeds in the document. Valid values:'."\n"
."\n"
.'- false (default): No. Line feeds are not kept.'."\n"
."\n"
.'- true: Yes. Line feeds are kept.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you do not have special requirements, leave this parameter empty.**'."\n"
."\n"
.'The chained authorization configuration. This parameter is not required. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, click Notification. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response for the asynchronous task.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FF3B7D81-66AE-47E0-BF69-157DCF18*****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => 'formatconvert-00bec802-073a-4b61-ba3b-39bc2fdd*****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '2C2-1I0EG57VR37J4rQ8oKG6C9*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FF3B7D81-66AE-47E0-BF69-157DCF18*****\\",\\n \\"TaskId\\": \\"formatconvert-00bec802-073a-4b61-ba3b-39bc2fdd*****\\",\\n \\"EventId\\": \\"2C2-1I0EG57VR37J4rQ8oKG6C9*****\\"\\n}","type":"json"}]',
'title' => 'CreateOfficeConversionTask',
'description' => '- **Before you use this operation, make sure that you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM).**'."\n"
.' >The execution time of asynchronous tasks is not guaranteed.> '."\n"
."\n"
.'- Supported input file formats:'."\n"
."\n"
.' - Word processor documents (Word): doc, docx, wps, wpss, docm, dotm, dot, and dotx.'."\n"
."\n"
.' - Presentation documents (PowerPoint): pptx, ppt, pot, potx, pps, ppsx, dps, dpt, pptm, potm, ppsm, and dpss.'."\n"
."\n"
.' - Spreadsheet documents (Excel): xls, xlt, et, ett, xlsx, xltx, csv, xlsb, xlsm, xltm, and ets.'."\n"
."\n"
.' - PDF documents: pdf.'."\n"
."\n"
.'- Supported output file formats:'."\n"
."\n"
.' - Images: png and jpg.'."\n"
."\n"
.' - Text: txt.'."\n"
."\n"
.' - PDF: pdf.'."\n"
."\n"
.'- The maximum size of a single file is 200 MB. This limit cannot be changed.'."\n"
."\n"
.'- If a file is large or its content is complex, the conversion may time out.'."\n"
."\n"
.'- The number of requests per second is limited to 50 for a single user.'."\n"
."\n"
.'- Task information is stored for only 7 days after a task starts. After this period, the information cannot be retrieved. You can promptly obtain task information using one of the following methods:'."\n"
."\n"
.' - You can call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation to obtain the returned `TaskId` and view the task information.'."\n"
."\n"
.' - You can activate Message Service (MNS) in the same region as IMM and configure a subscription to promptly receive task information notifications. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~). For more information about the MNS software development kit (SDK), see [Receive and delete messages](~~32449~~).'."\n"
."\n"
.' - You can activate RocketMQ in the same region as IMM, and create a RocketMQ 4.0 instance, a topic, and a group to promptly receive task information notifications. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~). For more information about how to use RocketMQ, see [Use an SDK for HTTP to send and receive normal messages](~~169009~~).'."\n"
."\n"
.' - You can activate and connect to [EventBridge](https://www.aliyun.com/product/aliware/eventbridge) in the same region as IMM to promptly receive task information notifications. For more information, see [Intelligent Media Management IMM events](~~205730~~).',
'changeSet' => [
['createdAt' => '2024-11-29T02:32:06.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2024-10-18T06:40:17.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:43.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-04-26T03:33:32.000Z', 'description' => 'OpenAPI offline'],
['createdAt' => '2022-04-26T03:33:32.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOfficeConversionTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateOfficeConversionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateProject' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '436',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. The following naming rules apply:'."\n"
."\n"
.'- The name must be 1 to 128 characters in length.'."\n"
."\n"
.'- The name can contain letters, digits, hyphens (-), and underscores (_).'."\n"
."\n"
.'- The name must start with a letter or an underscore (_).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => [
'description' => 'The project description. The description can be 1 to 256 characters in length. Default value: empty.',
'enumValueTitles' => [],
'type' => 'string',
'required' => false,
'example' => 'immtest',
'title' => '',
],
],
[
'name' => 'ServiceRole',
'in' => 'query',
'schema' => ['description' => 'The service role that grants IMM permissions to access other Alibaba Cloud resources such as Object Storage Service (OSS). Default value: `AliyunIMMDefaultRole`.'."\n"
."\n"
.'To customize a service role, create a regular service role in the Resource Access Management (RAM) console and grant permissions to the role. For more information, see [Grant permissions to a role](~~477258~~).', 'type' => 'string', 'required' => false, 'example' => 'AliyunIMMDefaultRole', 'title' => ''],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['description' => 'The workflow template ID. Default value: empty. For more information, see [Workflow templates and operators](~~466304~~).', 'type' => 'string', 'required' => false, 'example' => 'Official:ImageManagement', 'title' => ''],
],
[
'name' => 'ProjectMaxDatasetCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of datasets in the project. Valid values: 1 to 1000000000. Default value: 1000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000000000', 'title' => ''],
],
[
'name' => 'DatasetMaxBindCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of bindings per dataset. Valid values: 1 to 10. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'DatasetMaxFileCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of files per dataset. Valid values: 1 to 100000000. Default value: 10000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000', 'title' => ''],
],
[
'name' => 'DatasetMaxEntityCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of metadata entities per dataset. Default value: 10000000000.'."\n"
.'>This parameter is reserved for future use and is not enforced.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10000000000', 'title' => ''],
],
[
'name' => 'DatasetMaxRelationCount',
'in' => 'query',
'schema' => ['description' => 'The maximum number of metadata relationships per dataset. Default value: 100000000000.'."\n"
.'>This parameter is reserved for future use and is not enforced.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000000', 'title' => ''],
],
[
'name' => 'DatasetMaxTotalFileSize',
'in' => 'query',
'schema' => ['description' => 'The maximum total file size per dataset. After this limit is reached, no more indexes can be added. Unit: bytes. Default value: 90000000000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90000000000000000', 'title' => ''],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The tag information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7F7D235C-76FF-4B65-800C-8238AE3F****'],
'Project' => ['description' => 'The project information. Click Project to view details.', '$ref' => '#/components/schemas/Project', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
500 => [],
],
'title' => 'Create a project',
'summary' => 'Creates a project.',
'description' => '* Project names must be unique within the same region.'."\n"
.'* The number of projects that can be created is limited. By default, you can create up to 100 projects. To increase the quota, submit a ticket or search for DingTalk group 88490020073 to join the group and submit a request.'."\n"
.'* After you create a project, you can create other Intelligent Media Management (IMM) resources:'."\n"
.' + [Create a dataset](~~478160~~)'."\n"
.' + [Create a trigger](~~479912~~)'."\n"
.' + [Create a batch task](~~606694~~)'."\n"
.' + [Create a binding task](~~478202~~)',
'changeSet' => [
['createdAt' => '2024-05-23T03:29:16.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2024-02-28T03:44:04.000Z', 'description' => 'Response parameters changed, Error codes changed'],
['createdAt' => '2021-06-15T02:14:20.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F7D235C-76FF-4B65-800C-8238AE3F****\\",\\n \\"Project\\": {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"TemplateId\\": \\"Official:ImageManagement\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Description\\": \\"test project\\",\\n \\"ProjectQueriesPerSecond\\": 100,\\n \\"EngineConcurrency\\": 100,\\n \\"ProjectMaxDatasetCount\\": 1000000000,\\n \\"DatasetMaxBindCount\\": 10,\\n \\"DatasetMaxFileCount\\": 100000000,\\n \\"DatasetMaxEntityCount\\": 10000000000,\\n \\"DatasetMaxRelationCount\\": 100000000000,\\n \\"DatasetMaxTotalFileSize\\": 90000000000000000,\\n \\"DatasetCount\\": 5,\\n \\"FileCount\\": 10,\\n \\"TotalFileSize\\": 100000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'CreateSimilarImageClusteringTask' => [
'summary' => 'The similar image clustering feature groups images that you have indexed in a dataset into clusters based on visual similarity. This feature is useful for scenarios such as deduplicating images or selecting the best shots. For example, you can use it to filter burst photos in an album.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '161810',
'abilityTreeNodes' => ['FEATUREimm8BY6HG'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information. This information is returned in the asynchronous notification message to help you associate the message with your system. The value can be up to 2,048 bytes in length.', 'type' => 'string', 'required' => false, 'example' => 'test-data', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom tags that are used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "User": "Jane"'."\n"
.'}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The configuration of the notification message. For more information, click Notification. For more information about the format of asynchronous notification messages, see [Asynchronous notification messages](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The information about the similar image clustering task.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'SimilarImageClustering-48d0a0f3-8459-47f4-b8af-ff49c64****', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '3BF-1UhtFyrua71eOkFlqYq23Co****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"TaskId\\": \\"SimilarImageClustering-48d0a0f3-8459-47f4-b8af-ff49c64****\\",\\n \\"EventId\\": \\"3BF-1UhtFyrua71eOkFlqYq23Co****\\"\\n}","type":"json"}]',
'title' => 'CreateSimilarImageClusteringTask',
'description' => '- **Before calling this operation, review the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM).**'."\n"
.' >The execution time of asynchronous tasks is not guaranteed.> '."\n"
."\n"
.'- Before calling this operation, index files to a dataset. You can index files by attaching a data source using [CreateBinding](~~478202~~), or by actively indexing files using [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~).'."\n"
."\n"
.'- Each call to this operation **incrementally** processes the files in the specified `Dataset`. You can call this operation periodically to process new files.'."\n"
."\n"
.'- After clustering completes, call the [QuerySimilarImageClusters](~~611304~~) operation to retrieve the clustering results.'."\n"
."\n"
.'- Each similar image cluster must contain at least two images. Deleting a file from a dataset changes the similar image clusters. If deleting an image reduces a cluster to fewer than two images, the cluster is automatically deleted.'."\n"
."\n"
.'- This operation is asynchronous. After a task starts, its information is retained for only seven days. You cannot query the information after this period. Call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation and use the returned `TaskId` to view task information. You can also set the [Notification](~~2743997~~) parameter to receive asynchronous notification messages about the task.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:22.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSimilarImageClusteringTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateSimilarImageClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateStory' => [
'summary' => 'Creates a story.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '103261',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'formData',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'formData',
'schema' => ['description' => 'The ID for the story object. This parameter is optional. If you do not specify an ID, IMM generates one. You can use the story ID to query or update the story. If you specify an ID that already exists, the corresponding story is updated.', 'type' => 'string', 'required' => false, 'example' => 'id1', 'title' => ''],
],
[
'name' => 'StoryType',
'in' => 'formData',
'schema' => ['description' => 'The type of the story to generate. For more information about story types and their valid values, see [Story types and subtypes](~~2743998~~).', 'type' => 'string', 'required' => true, 'example' => 'PeopleMemory', 'title' => ''],
],
[
'name' => 'StorySubType',
'in' => 'formData',
'schema' => ['description' => 'The subtype of the story to generate. For more information about story subtypes and their valid values, see [Story types and subtypes](~~2743998~~).', 'type' => 'string', 'required' => false, 'example' => 'Solo', 'title' => ''],
],
[
'name' => 'StoryStartTime',
'in' => 'formData',
'schema' => ['description' => 'The start time of the photo collection for the story. This parameter and StoryEndTime define a time range. IMM filters candidate photos within this time range to generate the story. The value must be a string in the RFC 3339 format.', 'type' => 'string', 'required' => false, 'example' => '2016-12-30T16:00:00Z', 'title' => ''],
],
[
'name' => 'StoryEndTime',
'in' => 'formData',
'schema' => ['description' => 'The end time of the photo collection for the story. This parameter and StoryStartTime define a time range. IMM filters candidate photos within this time range to generate the story. The value must be a string in the RFC 3339 format.', 'type' => 'string', 'required' => false, 'example' => '2021-12-30T16:00:00Z', 'title' => ''],
],
[
'name' => 'StoryName',
'in' => 'formData',
'schema' => ['description' => 'The name of the story.', 'type' => 'string', 'required' => false, 'example' => 'name1', 'title' => ''],
],
[
'name' => 'MinFileCount',
'in' => 'formData',
'schema' => ['description' => 'The minimum number of photos in the generated story. The actual number of photos is between the values of MinFileCount and MaxFileCount. The value must be an integer greater than 1. If the number of available candidate photos is less than this value, an empty story is returned.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'MaxFileCount',
'in' => 'formData',
'schema' => ['description' => 'The maximum number of photos in the generated story. The actual number of photos is between the values of MinFileCount and MaxFileCount. The value must be an integer greater than the value of MinFileCount. To ensure the quality of the generated story, the internal algorithm limits the maximum number of photos to 1,500. If you set MaxFileCount to a value greater than 1,500, the setting does not take effect.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3', 'title' => ''],
],
[
'name' => 'NotifyTopicName',
'in' => 'formData',
'schema' => ['description' => 'The name of the topic for asynchronous notifications.', 'type' => 'string', 'required' => false, 'example' => 'test-topic', 'title' => ''],
],
[
'name' => 'CustomLabels',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The custom labels. These labels contain custom information about the story and can be used for retrieval.', 'type' => 'object', 'required' => false, 'example' => '{"Bucket": "examplebucket"}', 'title' => ''],
],
[
'name' => 'CustomId',
'in' => 'formData',
'schema' => ['description' => 'A custom identifier for the story. This ID can be different from ObjectId. You can use this ID to retrieve or sort stories.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'Address',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The address information for the story. IMM filters photos whose shooting locations match the specified address to generate the story. This parameter takes effect only when StoryType is set to TravelMemory.'."\n"
."\n"
.'> Due to regulatory requirements, parsing GPS information into addresses is not supported in Hong Kong (China), Macao (China), Taiwan (China), or regions outside of mainland China.', '$ref' => '#/components/schemas/AddressForStory', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'This parameter provides a tagging mechanism that can be used in the following scenarios:'."\n"
."\n"
.'- Set custom data that is returned in MNS messages.'."\n"
."\n"
.'- Use as a search condition to search for tasks.'."\n"
."\n"
.'- Use as a variable in TargetURI.', 'type' => 'object', 'required' => false, 'example' => '{"key":"val"}', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information that is returned in an asynchronous notification message. You can use this information to associate the notification message with your services. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "testuid","Name": "test-user","Avatar": "http://test.com/testuid"}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'title' => 'Schema of Response',
'description' => 'The schema for the response.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 'CreateStory-4ef6ff43-edf3-4612-9cc4-0c7f9e19****', 'title' => ''],
'EventId' => ['description' => 'The ID of the event.', 'type' => 'string', 'example' => '392-1CqzvESGTEeNZ2OWFbRKIM****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"TaskId\\": \\"CreateStory-4ef6ff43-edf3-4612-9cc4-0c7f9e19****\\",\\n \\"EventId\\": \\"392-1CqzvESGTEeNZ2OWFbRKIM****\\"\\n}","type":"json"}]',
'title' => 'CreateStory',
'description' => '- **Before calling this operation, understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management (IMM).**'."\n"
."\n"
.'- Before calling this operation, index files to a dataset by calling [CreateBinding](~~478202~~), [IndexFileMeta](~~478166~~), or [BatchIndexFileMeta](~~478167~~).'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is saved for only 7 days. The information cannot be retrieved after this period. Call [GetTask](~~478241~~) or [ListTasks](~~478242~~) with the returned TaskId to view task information. Alternatively, set the [Notification](~~2743997~~) parameter to obtain task information from notification messages.',
'changeSet' => [
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-11-15T08:49:30.000Z', 'description' => 'Request parameters changed, Error codes changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-02-24T06:44:23.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-12-31T07:38:30.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStory'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'CreateTrigger' => [
'summary' => 'Creates a trigger to start data processing in Intelligent Media Management (IMM). The trigger is activated by event sources, such as Object Storage Service (OSS), and uses data processing templates to process media files, such as images, videos, and documents.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '135761',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Input',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The data source configuration.', 'required' => true, '$ref' => '#/components/schemas/Input', 'title' => '', 'example' => ''],
],
[
'name' => 'Actions',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'A list of data processing templates.',
'type' => 'array',
'items' => [
'description' => 'The template information.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The name of the template.', 'type' => 'string', 'required' => true, 'example' => 'doc/convert', 'title' => ''],
'Parameters' => [
'description' => 'A list of template parameters.',
'type' => 'array',
'items' => ['description' => 'A template parameter.', 'type' => 'string', 'required' => false, 'example' => 'pages=3', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'FastFailPolicy' => ['description' => 'The fast-fail policy configuration.', '$ref' => '#/components/schemas/FastFailPolicy', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Notification',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The notification recipient. Various message intermediaries are supported. For details about the message format, see Asynchronous notification message. Choose one of the following methods to receive messages:'."\n"
."\n"
.'Activate and connect to EventBridge in the same region as Intelligent Media Management (IMM) to receive task notifications. For more information, see IMM events. Activate Message Service (MNS) in the same region as IMM and configure a subscription.',
'type' => 'object',
'properties' => [
'MNS' => ['description' => 'The parameter object for MNS notifications.', '$ref' => '#/components/schemas/MNS', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"key":"val"}', 'title' => ''],
],
[
'name' => 'ServiceRole',
'in' => 'formData',
'schema' => ['description' => 'The service role that grants Intelligent Media Management (IMM) permissions to access other cloud resources, such as Object Storage Service (OSS). The default value is AliyunIMMBatchTriggerRole.'."\n"
."\n"
.'To use a custom service role, create a service role and grant permissions to the role in the Resource Access Management (RAM) console. For more information, see [Create a service role](~~116800~~) and [Grant permissions to a RAM role](~~116147~~).', 'type' => 'string', 'required' => true, 'example' => 'AliyunIMMBatchTriggerRole', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Response schema',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****', 'title' => ''],
'Id' => ['description' => 'The data ingestion ID.', 'type' => 'string', 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\",\\n \\"Id\\": \\"trigger-9f72636a-0f0c-4baf-ae78-38b27b******\\"\\n}","type":"json"}]',
'title' => 'CreateTrigger',
'description' => 'To process data from [Object Storage Service](~~99372~~), ensure that you have [attached an OSS bucket](~~478206~~).',
'changeSet' => [
['createdAt' => '2023-07-05T05:47:24.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'CreateVideoLabelClassificationTask' => [
'summary' => 'Detects labels for scenarios, objects, and events in video content. This feature supports more than 30 categories and thousands of labels. Scenario labels include natural landscapes, life scenes, and disaster scenes. Event labels include talent shows, office work, performances, and production. Object labels include tableware, electronic products, furniture, and vehicles.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '157766',
'abilityTreeNodes' => ['FEATUREimmQZSDER'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For more information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'immtest'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The Object Storage Service (OSS) URI of the video.'."\n"
."\n"
.'The OSS URI must follow the format oss\\://${Bucket}/${Object}. ${Bucket} is the name of the OSS bucket that is in the same region as the current project. ${Object} is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://bucket1/object.mp4'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['title' => 'UserData', 'description' => 'Custom information. This information is returned in the asynchronous notification message. You can use this information to associate the notification message with your services. The maximum length is 2,048 bytes.', 'type' => 'string', 'example' => '{'."\n"
.' "ID": "testuid",'."\n"
.' "Name": "test-user",'."\n"
.' "Avatar": "http://test.com/testuid"'."\n"
.'}', 'required' => false],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags that you can use to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"test":"val1"}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you do not have special requirements, leave this parameter empty.**'."\n"
."\n"
.'The chained authorization configuration. This parameter is not required. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, click Notification. For more information about the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct for creating a video label detection task.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6'],
'EventId' => ['description' => 'The event ID of the task. You can use this ID to query task information notifications in the [EventBridge](https://www.aliyun.com/product/aliware/eventbridge) service.', 'type' => 'string', 'title' => '', 'example' => '03F-1Qt1Yn5RZZ0Zh3ZdYlDblv7****'],
'TaskId' => ['description' => 'The ID of the task. You can use the [GetTask](~~478241~~) operation to view task information or the [GetVideoLabelClassificationResult](~~478224~~) operation to obtain the results of the video label detection task.', 'type' => 'string', 'title' => '', 'example' => 'VideoLabelClassification-2f157087-91df-4fda-8c3e-232407ec*****'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFFE0B6\\",\\n \\"EventId\\": \\"03F-1Qt1Yn5RZZ0Zh3ZdYlDblv7****\\",\\n \\"TaskId\\": \\"VideoLabelClassification-2f157087-91df-4fda-8c3e-232407ec*****\\"\\n}","type":"json"}]',
'title' => 'CreateVideoLabelClassificationTask',
'description' => '- **Before you call this operation, make sure that you understand the billing methods and [pricing](~~2747104~~) of Intelligent Media Management.**'."\n"
."\n"
.'- Before you call this operation, make sure that you have created a project in Intelligent Media Management. For more information, see [Create a project](~~478153~~).'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The completion time of asynchronous tasks is not guaranteed.'."\n"
."\n"
.' > '."\n"
."\n"
.'- For more information about the features of this operation, see [Video label detection](~~477189~~).'."\n"
."\n"
.'- This operation supports multiple video formats, such as MP4, MPEG-TS, MKV, MOV, AVI, FLV, and M3U8.'."\n"
."\n"
.'- This is an asynchronous operation. After a task starts, its information is stored for seven days. You cannot retrieve the information after this period. Call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation with the returned `TaskId` to view task information. You can also set the [Notification](~~2743997~~) parameter to receive task information through message notifications.',
'changeSet' => [
['createdAt' => '2023-04-03T02:37:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:40.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVideoLabelClassificationTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateVideoLabelClassificationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'CreateVideoModerationTask' => [
'summary' => 'Detects threats or non-compliant content in videos. This operation can be used in scenarios such as pornography detection, terrorism and politically sensitive content detection, text and image violation detection, undesirable scene detection, and logo detection.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '130694',
'abilityTreeNodes' => ['FEATUREimmO3TV2W'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information about how to get the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'immtest'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom information that is returned in the asynchronous notification message. Use this information to associate the notification message with your internal system. The maximum length is 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the video.'."\n"
."\n"
.'The OSS URI must follow the format oss\\://${Bucket}/${Object}. `${Bucket}` is the name of the OSS bucket in the same region as the project. `${Object}` is the full path of the file, including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search for tasks.', 'type' => 'object', 'required' => false, 'example' => '{"test": "val1"}', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The chained authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Scenes',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The video detection scenarios.',
'type' => 'array',
'items' => [
'description' => 'The video detection scenario. Valid values:'."\n"
."\n"
.'- porn: Pornography detection.'."\n"
."\n"
.'- terrorism: Terrorism and politically sensitive content detection.'."\n"
."\n"
.'- live: Undesirable scene detection.'."\n"
."\n"
.'- logo: Logo detection.'."\n"
."\n"
.'- ad: Text and image violation detection.'."\n"
."\n"
.'> If you do not specify a detection scenario, the `porn`, `terrorism`, and `ad` scenarios are used by default.',
'enumValueTitles' => ['ad' => 'Text and image violation detection', 'terrorism' => 'Terrorism and politically sensitive content detection', 'logo' => 'Logo detection', 'live' => 'Undesirable scene detection', 'porn' => 'Pornography detection'],
'type' => 'string',
'required' => false,
'example' => 'porn',
'title' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Interval',
'in' => 'query',
'schema' => ['description' => 'The interval for video snapshots, in seconds. The value can be an integer from 1 to 600. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'MaxFrames',
'in' => 'query',
'schema' => ['description' => 'The maximum number of frames that can be captured for this detection task. The value can be an integer from 5 to 3,600. The default value is 200.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '200', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. For the format of asynchronous notification messages, see the metadata index section in [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => 'VideoModeration-9442a216-4691-4a48-846d-76daccaf*****', 'title' => ''],
'EventId' => ['description' => 'The ID of the event.', 'type' => 'string', 'example' => '2E6-1I0FGn0zFnl5AflRfhzClma*****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"TaskId\\": \\"VideoModeration-9442a216-4691-4a48-846d-76daccaf*****\\",\\n \\"EventId\\": \\"2E6-1I0FGn0zFnl5AflRfhzClma*****\\"\\n}","type":"json"}]',
'title' => 'CreateVideoModerationTask',
'description' => '- **Before you use this operation, make sure that you understand the billing methods and [pricing](~~88317~~) of Intelligent Media Management.**'."\n"
."\n\n"
.' >'."\n"
."\n"
.' The completion time of asynchronous tasks is not guaranteed.'."\n"
."\n"
.' > '."\n"
."\n"
.'- The detection results are returned in an asynchronous notification message. The Suggestion field in the asynchronous notification message can have the following values:'."\n"
."\n"
.' - pass: The video passed the review. No non-compliant content was detected.'."\n"
."\n"
.' - block: The video must be blocked. This value is returned when non-compliant content is detected. The Categories field indicates the category of the non-compliant content. For more information about the categories, see [Content Moderation detection results](~~2743995~~).'."\n"
."\n"
.' - review: The video requires manual review. After the manual review is complete, another asynchronous notification message is sent with the result.'."\n"
."\n"
.'- Video snapshot requirements:'."\n"
."\n"
.' - Video frame URLs support the HTTP and HTTPS protocols.'."\n"
."\n"
.' - Supported video frame formats: PNG, JPG, JPEG, BMP, GIF, and WEBP.'."\n"
."\n"
.' - The size of a video frame cannot exceed 10 MB.'."\n"
."\n"
.' - The recommended resolution for video frames is at least 256 × 256 pixels. A lower resolution may affect detection accuracy.'."\n"
."\n"
.' - The response time for the video detection operation depends on the download time of the video frames. Make sure that the storage service for your video frames is stable and reliable. We recommend that you use Alibaba Cloud Object Storage Service (OSS) or cache frames with Alibaba Cloud CDN.'."\n"
."\n"
.'- This is an asynchronous operation. After a task is created, the task information is saved for only 7 days. After this period, the information cannot be retrieved. You can call the [GetTask](~~478241~~) or [ListTasks](~~478242~~) operation to query the task information using the returned `TaskId`. You can also set the [Notification](~~2743997~~) parameter to receive task information through asynchronous notification messages.',
'changeSet' => [
['createdAt' => '2024-04-19T09:43:53.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-08-21T03:51:46.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-04-03T02:37:21.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:22.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVideoModerationTask'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateVideoModerationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DeleteBatch' => [
'summary' => 'Deletes a batch processing task.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '131141',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['title' => 'A short description of struct', 'description' => 'The ID of the batch processing task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '91AC8C98-0F36-49D2-8290-742E24******'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"91AC8C98-0F36-49D2-8290-742E24******\\"\\n}","type":"json"}]',
'title' => 'DeleteBatch',
'description' => '* You can delete only a batch processing task that is in one of the following states: Ready, Failed, Suspended, and Succeeded.'."\n"
.'* Before you delete a batch processing task, you can call the [GetBatch](~~479922~~) operation to query the task status. This ensures a successful deletion.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBatch'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'DeleteBinding' => [
'summary' => 'Deletes the binding between a dataset and an Object Storage Service (OSS) bucket.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '38133',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => false, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'URI',
'in' => 'query',
'schema' => ['description' => 'The URI of the OSS bucket to which the dataset is bound.'."\n"
."\n"
.'Specify the value in the oss\\://${Bucket} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ACDFE467-C817-4B36-951A-6EB5A592****'],
],
'example' => '',
],
],
],
'title' => 'DeleteBinding',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- If you delete a binding, new changes in the OSS bucket are not synchronized to the dataset. Exercise caution when you perform this operation.',
'changeSet' => [
['createdAt' => '2023-07-20T08:51:03.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBinding'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ACDFE467-C817-4B36-951A-6EB5A592****\\"\\n}","type":"json"}]',
],
'DeleteDataset' => [
'summary' => 'Deletes a dataset.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For information about how to create a dataset, see [CreateDataset](~~478160~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EC564B8B-BA5C-4499-B196-D9B9E76E****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EC564B8B-BA5C-4499-B196-D9B9E76E****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DeleteDataset',
'description' => '* Before you delete a dataset, make sure that you have deleted all indexes in the dataset. For more information about how to delete indexes, see [DeleteFileMeta](~~478172~~) and [BatchDeleteFileMeta](~~478173~~).'."\n"
.'* Before you [delete a dataset](~~478160~~), make sure that you have deleted all bindings between the dataset and Object Storage Service (OSS) buckets. For more information about how to delete a binding, see [DeleteBinding](~~478205~~). The [DeleteBinding](~~478205~~) operation does not delete an index that is manually created, even if you set the `Cleanup` parameter to `true`. To delete indexes that are manually created, you must call the [DeleteFileMeta](~~478172~~) or [BatchDeleteFileMeta](~~478173~~) operation. For more information about the differences between automatically and manually created indexes, see [Create a metadata index](~~478166~~).'."\n",
'changeSet' => [
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataset'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'DeleteFileMeta' => [
'summary' => 'Removes the metadata of a file from a dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '33169',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-datset', 'title' => ''],
],
[
'name' => 'URI',
'in' => 'query',
'schema' => ['description' => 'The URI of the file in OSS.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the path of the object with the extension included.'."\n"
."\n"
.'The URI of the file in Photo and Drive Service must be in the pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision} format.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The returned data.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7F82D6C9-5AC0-49F9-914D-F02678F3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7F82D6C9-5AC0-49F9-914D-F02678F3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DeleteFileMeta',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* A successful deletion message is returned regardless of whether the metadata of the file exists in the dataset.'."\n"
."\n"
.'> '."\n"
."\n"
.'* The objects stored in Object Storage Service (OSS) or Photo and Drive Service are **not** deleted if you delete metadata from a dataset. If you want to delete the file, call the corresponding operations of OSS and Photo and Drive Service.'."\n"
."\n"
.'* When you delete file metadata, the corresponding face clustering group information and story (if any) are changed, but the spatiotemporal clustering is not changed.'."\n",
'changeSet' => [
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'DeleteLocationDateCluster' => [
'summary' => 'Deletes a spatiotemporal cluster.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '158363',
'abilityTreeNodes' => ['FEATUREimmPECUUL'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For information about how to create a dataset, see [CreateDataset](~~478160~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the group to be deleted.'."\n", 'type' => 'string', 'required' => true, 'example' => 'location-date-cluster-71dd4f32-9597-4085-a2ab-3a7b0fd0aff9', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The data struct returned.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'B121940C-9794-4EE3-8D6E-F8EC525F****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B121940C-9794-4EE3-8D6E-F8EC525F****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DeleteLocationDateCluster',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of IMM.****'."\n"
.'* Before you call this operation, you must call the [CreateLocationDateClusteringTask](~~478188~~) operation to perform spatiotemporal clustering.'."\n"
.'* A successful deletion is returned regardless of whether a spatiotemporal clustering group ID exists.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLocationDateCluster'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteLocationDateCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'DeleteProject' => [
'summary' => 'Deletes a project.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'immtest'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B7860187****'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'StatusConflict', 'errorMessage' => 'Message: cannot delete when sub resoures exist', 'description' => ''],
],
],
'title' => 'DeleteProject',
'description' => '- Before you delete a project, make sure that all resources in the project, such as datasets, bindings, batch processing tasks, and triggers, are deleted. For more information, see [DeleteDataset](~~478164~~), [DeleteBatch](~~479918~~), and [DeleteTrigger](~~479915~~).'."\n"
."\n"
.'- After a project is deleted, all resources used by the project are recycled, and all related data is lost and cannot be recovered.',
'changeSet' => [
['createdAt' => '2024-03-01T02:19:27.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2024-02-28T03:44:04.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2021-06-15T02:14:20.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEDC9B1F-30F2-4C1F-8ED2-B7860187****\\"\\n}","type":"json"}]',
],
'DeleteStory' => [
'summary' => 'Deletes a story.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '102497',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the story to delete.'."\n", 'type' => 'string', 'required' => true, 'example' => 'id1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DeleteStory',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
.'* Before you call this operation, make sure that you have called the [CreateStory](~~478193~~) or [CreateCustomizedStory](~~478196~~) operation to create a story.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStory'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'DeleteTrigger' => [
'summary' => 'Deletes a trigger.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '135762',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['title' => 'A short description of struct', 'description' => 'The ID of the trigger. You can obtain the ID of the trigger from the response of the [CreateTrigger](~~479912~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B7860187****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEDC9B1F-30F2-4C1F-8ED2-B7860187****\\"\\n}","type":"json"}]',
'title' => 'DeleteTrigger',
'description' => 'You can delete a trigger only if the trigger is in one of the following states: Ready, Failed, Suspended, and Succeeded. You cannot delete a trigger that is in the Running state.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'DetachOSSBucket' => [
'summary' => 'Unbinds an Object Storage Service (OSS) bucket from the corresponding project.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '135041',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'OSSBucket',
'in' => 'query',
'schema' => ['description' => 'The OSS bucket that you want to unbind.'."\n", 'type' => 'string', 'required' => true, 'example' => 'examplebucket', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetachOSSBucket',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~88317~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that the project is bound to a bucket. For more information, see [AttachOSSBucket](~~478206~~).'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T09:44:00.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2022-04-18T06:16:09.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachOSSBucket'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DetachOSSBucket',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DetectImageBodies' => [
'summary' => 'Detects human body information, such as the confidence level and body bounding box, in an image.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '143909',
'abilityTreeNodes' => ['FEATUREimm0QJK19'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The URI of the Object Storage Service (OSS) bucket in which the image file is stored.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the file that has an extension.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object.jpg'],
],
[
'name' => 'Sensitivity',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'The accuracy level of detecting and recognizing specific content in the image. Valid values: 0 to 1. Default value: 0.6. A higher sensitivity specifies that more image details can be detected.'."\n", 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.6', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'Bodies' => [
'title' => '',
'description' => 'The human bodies.'."\n",
'type' => 'array',
'items' => ['description' => 'The human body details.'."\n", '$ref' => '#/components/schemas/Body', 'title' => '', 'example' => ''],
'example' => '',
],
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '501339F9-4B70-0CE2-AB8C-866C********'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Bodies\\": [\\n {\\n \\"Confidence\\": 0.82,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"501339F9-4B70-0CE2-AB8C-866C********\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetectImageBodies',
'description' => '* Before you call this operation, make sure that an Intelligent Media Management (IMM) project is created. For information about how to create a project, see [CreateProject](~~478153~~).'."\n"
.'* For information about the image encoding formats supported by this operation, see [Limits on images](~~475569~~).'."\n",
'changeSet' => [
['createdAt' => '2022-07-19T02:09:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageBodies'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageBodies',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageCars' => [
'summary' => 'Detects the outline data, attributes, and license plate information of vehicles in an image. The vehicle attributes include the vehicle color (CarColor) and vehicle type (CarType). The license plate information includes the recognition content (Content) and plate frame (Boundary).',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '172472',
'abilityTreeNodes' => ['FEATUREimmIT7OSY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The URI of the Object Storage Service (OSS) bucket in which you store the image file.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the file that has an extension.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you do not have special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain. This parameter is optional. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'Cars' => [
'title' => '',
'description' => 'The vehicles.'."\n",
'type' => 'array',
'items' => ['description' => 'The vehicle.'."\n", '$ref' => '#/components/schemas/Car', 'title' => '', 'example' => ''],
'required' => true,
'minItems' => 0,
'example' => '',
],
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A8745209-DD0E-027E-8ABA-085E0C******'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Cars\\": [\\n {\\n \\"LicensePlates\\": [\\n {\\n \\"Content\\": \\"鲁A8***8\\",\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Confidence\\": 0.789\\n }\\n ],\\n \\"CarType\\": \\"van\\",\\n \\"CarTypeConfidence\\": 0.516,\\n \\"CarColor\\": \\"white\\",\\n \\"CarColorConfidence\\": 0.604,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Confidence\\": 0.999\\n }\\n ],\\n \\"RequestId\\": \\"A8745209-DD0E-027E-8ABA-085E0C******\\"\\n}","type":"json"}]',
'title' => 'DetectImageCars',
'description' => '* For information about the image encoding formats supported by this operation, see [Limits](~~475569~~).'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCars'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCars',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageCodes' => [
'summary' => 'Detects barcodes and QR codes in an image.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '142280',
'abilityTreeNodes' => ['FEATUREimmSL7X1M'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The URI of the Object Storage Service (OSS) bucket in which the image file is stored.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the file that has an extension.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'Codes' => [
'title' => '',
'description' => 'The barcodes or QR codes.'."\n",
'type' => 'array',
'items' => ['description' => 'The barcode or QR code information.'."\n", '$ref' => '#/components/schemas/Codes', 'title' => '', 'example' => ''],
'required' => true,
'minItems' => 0,
'example' => '',
],
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Codes\\": [\\n {\\n \\"Content\\": \\"https://www.example.com\\",\\n \\"Confidence\\": 0.9,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Type\\": \\"qrcode\\"\\n }\\n ],\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetectImageCodes',
'description' => '* For information about the image encoding formats supported by this operation, see [Limits on images](~~475569~~).'."\n",
'changeSet' => [
['createdAt' => '2022-07-07T06:44:30.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCodes'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCodes',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageCropping' => [
'summary' => 'Detects visually optimal cropping regions in an image at a specified aspect ratio by using AI model capabilities.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '133405',
'abilityTreeNodes' => ['FEATUREimm1NT5J6'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The OSS URI of the image.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where `${Bucket}` is the name of an OSS bucket in the same region as the current project, and `${Object}` is the full path of the file including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://imm-test/testcases/facetest.jpg'],
],
[
'name' => 'AspectRatios',
'in' => 'query',
'schema' => ['description' => 'The list of cropping aspect ratios. You can specify up to 5 ratios. Each ratio must meet the following requirements:'."\n"
."\n"
.'- The ratio must consist of integers in the range of (0, 20).'."\n"
."\n"
.'- The ratio value must be in the range of \\[0.5, 2].'."\n"
."\n"
.'- If you do not specify this parameter, the default value `["auto"]` is used.'."\n"
."\n"
.'> The following cases cause an error: - More than 5 ratios are specified. - An empty list is passed. - The ratio contains non-integer values, such as `4.1:3`. - The ratio value is less than 0.5 or greater than 2.', 'type' => 'string', 'required' => false, 'example' => '["1:1"]', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless otherwise required.**'."\n"
."\n"
.'The China authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'InclusionHints',
'in' => 'query',
'allowEmptyValue' => true,
'style' => 'json',
'schema' => [
'description' => 'The list of semantic text descriptions for objects that you want the cropping result to include. Each element is free-form text, such as "signboard" or "dish".'."\n"
."\n"
.'> Usage limits of the InclusionHints parameter:'."\n"
.' - You can pass in up to 1 hint in the array to specify the type of object to include in the cropping result, such as "signboard".'."\n"
.' - The algorithm detects all objects in the image that match the hint and generates cropping regions that include as many matched objects as possible.'."\n"
.' - Each cropping region includes up to 10 matched objects. If more than 10 objects match in the image, the cropping region includes up to 10 of them.'."\n"
.' - You can use the MatchedInclusionHints response field to determine whether the hint was successfully matched.'."\n"
.' - This parameter is supported only in regions in the Chinese mainland.',
'type' => 'array',
'items' => ['description' => 'The semantic text description of an object that you want the cropping result to include.', 'type' => 'string', 'required' => false, 'example' => 'sign', 'title' => ''],
'required' => false,
'example' => '["sign"]',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The image cropping result.',
'type' => 'object',
'properties' => [
'Croppings' => [
'title' => '',
'description' => 'The array of image cropping information.',
'type' => 'array',
'items' => ['description' => 'The detailed cropping information of the image.', '$ref' => '#/components/schemas/CroppingSuggestion', 'title' => '', 'example' => ''],
'example' => '',
],
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '91AC8C98-0F36-49D2-8290-742E24D*****'],
'MatchedInclusionHints' => [
'description' => 'The list of objects included in the cropping region, corresponding to the InclusionHints input parameter. This field is empty if no objects are included.',
'type' => 'array',
'items' => ['description' => 'The object included in the cropping region.', 'type' => 'string', 'example' => 'sign', 'title' => ''],
'enumValueTitles' => [],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Croppings\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"91AC8C98-0F36-49D2-8290-742E24D*****\\",\\n \\"MatchedInclusionHints\\": [\\n \\"sign\\"\\n ]\\n}","type":"json"}]',
'title' => 'Detect optimal image cropping regions by using AI model capabilities',
'changeSet' => [
['createdAt' => '2022-04-26T03:27:09.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCropping'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCropping',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageFaces' => [
'summary' => 'Detects faces from an image, including face boundary information, attributes, and quality. The boundary information includes the distance from the y-coordinate of the vertex to the top edge (Top), distance from the x-coordinate of the vertex to the left edge (Left), height (Height), and width (Width). Face attributes include the age (Age), age standard deviation (AgeSD), gender (Gender), emotion (Emotion), mouth opening (Mouth), beard (Beard), hat wearing (Hat), mask wearing (Mask), glasses wearing (Glasses), head orientation (HeadPose), attractiveness (Attractive), and confidence levels for preceding attributes. Quality information includes the face quality score (FaceQuality) and face resolution (Sharpness).',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '129323',
'abilityTreeNodes' => ['FEATUREimmU4U2B0'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the image object.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object.jpg', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
'Faces' => [
'description' => 'The faces.'."\n",
'type' => 'array',
'items' => ['description' => 'The face details.'."\n", '$ref' => '#/components/schemas/Figure', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\",\\n \\"Faces\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetectImageFaces',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* For information about the image encoding formats supported by this operation, see [Limits](~~475569~~).'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T03:54:12.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2022-04-13T03:46:17.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageFaces'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageFaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageLabels' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '82228',
'abilityTreeNodes' => ['FEATUREimmELX4L2'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The URI of the Object Storage Service (OSS) bucket in which you store the image.'."\n"
."\n"
.'Specify the value in the oss\\://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the image file that has an extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg'],
],
[
'name' => 'Threshold',
'in' => 'query',
'schema' => ['title' => 'Threshold', 'description' => 'The threshold of the label confidence. Labels whose confidence is lower than the specified threshold are not returned in the response. Valid values: 0 to 1. If you leave this parameter empty, the algorithm provides a default threshold.', 'type' => 'number', 'format' => 'float', 'example' => '0.7', 'required' => false],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'Labels' => [
'title' => '',
'description' => 'The list of labels detected.',
'type' => 'array',
'items' => ['description' => 'The labels.', '$ref' => '#/components/schemas/Label', 'title' => '', 'example' => ''],
'example' => '',
],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '91AC8C98-0F36-49D2-8290-742E24DF1F69'],
],
'example' => '',
],
],
500 => [],
],
'title' => 'DetectImageLabels',
'summary' => 'Detects scene, object, and event information in an image. Scene information includes natural landscapes, daily life, and disasters. Event information includes talent shows, office events, performances, and production events. Object information includes tableware, electronics, furniture, and transportation. The DetectImageLabels operation supports more than 30 different categories and thousands of labels.',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Make sure that an IMM [project](~~478273~~) is created. For information about how to create a project, see [CreateProject](~~478153~~).'."\n"
."\n"
.'- For more information about the features of this operation, see [Image label detection](~~477179~~).'."\n"
."\n"
.'- For more information about the input images supported by this operation, see [Limits on images](~~475569~~).',
'changeSet' => [
['createdAt' => '2021-10-18T02:46:47.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageLabels'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageLabels',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"91AC8C98-0F36-49D2-8290-742E24DF1F69\\"\\n}","type":"json"}]',
],
'DetectImageScore' => [
'summary' => 'Calculates the aesthetics quality score of an image based on metrics such as the composition, brightness, contrast, color, and resolution. The operation returns a score within the range from 0 to 1. A higher score indicates better image quality.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '129324',
'abilityTreeNodes' => ['FEATUREimmEAXWFI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project.[](~~477051~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the input image.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://examplebucket/sampleobject.jpg', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
'ImageScore' => [
'description' => 'The quality score of the image.'."\n",
'type' => 'object',
'properties' => [
'OverallQualityScore' => ['description' => 'The overall quality score.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.6', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.6\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetectImageScore',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~88317~~) of Intelligent Media Management (IMM).****'."\n"
.'* Make sure that the specified project exists in the current region. For more information, see [Project management](~~478273~~).[](~~478152~~)'."\n"
.'* For information about the image encoding formats supported by this operation, see [Limits](~~475569~~).'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T09:43:59.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2022-04-13T03:46:17.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageScore'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageScore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectImageTexts' => [
'summary' => 'Recognizes and extracts text content from an image.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '207351',
'abilityTreeNodes' => ['FEATUREimmYZZZWM'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => 'SourceURI', 'description' => 'The Object Storage Service (OSS) URI of the file.'."\n"
."\n"
.'Specify the URI in the oss://${Bucket}/${Object} format. ${Bucket} specifies the name of an OSS bucket that is in the same region as the current project. ${Object} specifies the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'OCRTexts' => ['title' => '', 'description' => 'The full Optical Character Recognition (OCR) text, which is spliced by using the content of OCRContents.'."\n", 'type' => 'string', 'example' => 'Intelligent Media Management.'],
'OCRContents' => [
'title' => '',
'description' => 'OCR text blocks.'."\n",
'type' => 'array',
'items' => ['description' => 'The text blocks extracted from the image. Each element contains text block information such as the content and location.'."\n", '$ref' => '#/components/schemas/OCRContents', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"OCRTexts\\": \\"Intelligent Media Management.\\",\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]',
'title' => 'DetectImageTexts',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* The size of the image cannot exceed 20 MB.'."\n"
.'* The shortest side of the image is not less than 20 px, and the longest side is not more than 30,000 px.'."\n"
.'* The aspect ratio of the image is less than 1:2.'."\n"
.'* We recommend that you do not use an image that is smaller than 15 px × 15 px in size. Otherwise, the recognition rate is low.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageTexts',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectMediaMeta' => [
'summary' => 'Retrieves the metadata of a media file, including media format information and media stream information.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '161491',
'abilityTreeNodes' => ['FEATUREimmGWMCEO'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => false, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The Object Storage Service (OSS) URI of the media file.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where `${Bucket}` is the name of an OSS bucket in the same region as the current project, and `${Object}` is the full path of the file including the file name extension.', 'type' => 'string', 'required' => false, 'example' => 'oss://examplebucket/sampleobject.mp4', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have special requirements.**'."\n"
."\n"
.'The chain authorization configuration. This parameter is optional. For more information, see [Use chain authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2213B1A9-EB3D-4666-84E0-24980BC*****', 'title' => ''],
'Language' => ['description' => 'The language used in the video. The value follows the ISO 639-2 standard.', 'type' => 'string', 'example' => 'eng', 'title' => ''],
'Title' => ['description' => 'The title of the media file.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'VideoStreams' => [
'description' => 'The array of video streams.',
'type' => 'array',
'items' => ['description' => 'The video stream information.', '$ref' => '#/components/schemas/VideoStream', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'AudioStreams' => [
'description' => 'The array of audio streams.',
'type' => 'array',
'items' => ['description' => 'The audio stream information.', '$ref' => '#/components/schemas/AudioStream', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'Subtitles' => [
'description' => 'The array of subtitle streams.',
'type' => 'array',
'items' => ['description' => 'The subtitle stream information.', '$ref' => '#/components/schemas/SubtitleStream', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'StreamCount' => ['description' => 'The number of media streams.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
'ProgramCount' => ['description' => 'The number of programs.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
'FormatName' => ['description' => 'The format name.', 'type' => 'string', 'example' => 'mov,mp4,m4a,3gp,3g2,mj2', 'title' => ''],
'FormatLongName' => ['description' => 'The full name of the format.', 'type' => 'string', 'example' => 'QuickTime / MOV', 'title' => ''],
'Size' => ['description' => 'The size of the media file, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '25115517', 'title' => ''],
'StartTime' => ['description' => 'The start playback time of the media, in seconds.', 'type' => 'number', 'format' => 'double', 'example' => '0.000000', 'title' => ''],
'Bitrate' => ['description' => 'The bitrate of the media file, in bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '13164131', 'title' => ''],
'Artist' => ['description' => 'The artist.', 'type' => 'string', 'example' => 'unable', 'title' => ''],
'AlbumArtist' => ['description' => 'The album artist.', 'type' => 'string', 'example' => 'unable', 'title' => ''],
'Composer' => ['description' => 'The composer.', 'type' => 'string', 'example' => 'unable', 'title' => ''],
'Performer' => ['description' => 'The performer.', 'type' => 'string', 'example' => 'unable', 'title' => ''],
'Album' => ['description' => 'The album.', 'type' => 'string', 'example' => 'unable', 'title' => ''],
'Duration' => ['description' => 'The total duration of the video, in seconds.', 'type' => 'number', 'format' => 'double', 'example' => '15.263000', 'title' => ''],
'ProduceTime' => ['description' => 'The time when the video was recorded. The value follows the RFC 3339 Nano standard.', 'type' => 'string', 'example' => '2022-04-24T02:39:57Z', 'title' => ''],
'LatLong' => ['description' => 'The central geographic coordinate point, which is a latitude and longitude value.'."\n"
.'The format is latitude,longitude, with latitude first and longitude second. The latitude range is \\[-90,+90] and the longitude range is \\[-180,+180]. Example: 35.8,-45.91.', 'type' => 'string', 'example' => '+120.029003,+30.283095', 'title' => ''],
'VideoWidth' => ['description' => 'The width of the video frame in the media file, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '1080', 'title' => ''],
'VideoHeight' => ['description' => 'The height of the video frame in the media file, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '1920', 'title' => ''],
'Addresses' => [
'description' => 'The geolocation detection results of the video.'."\n"
."\n"
.'This parameter has a value only when the video contains geolocation information.',
'type' => 'array',
'items' => ['description' => 'The detailed location information.', '$ref' => '#/components/schemas/Address', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2213B1A9-EB3D-4666-84E0-24980BC*****\\",\\n \\"Language\\": \\"eng\\",\\n \\"Title\\": \\"test\\",\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"StreamCount\\": 2,\\n \\"ProgramCount\\": 2,\\n \\"FormatName\\": \\"mov,mp4,m4a,3gp,3g2,mj2\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"Size\\": 25115517,\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13164131,\\n \\"Artist\\": \\"unable\\",\\n \\"AlbumArtist\\": \\"unable\\",\\n \\"Composer\\": \\"unable\\",\\n \\"Performer\\": \\"unable\\",\\n \\"Album\\": \\"unable\\",\\n \\"Duration\\": 15.263,\\n \\"ProduceTime\\": \\"2022-04-24T02:39:57Z\\",\\n \\"LatLong\\": \\"+120.029003,+30.283095\\",\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Retrieve media file metadata',
'description' => '- **Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM) and its [pricing](~~88317~~).**'."\n"
.'- Before you call this operation, make sure that a project is available in the current region. For more information, see [Project management](~~478152~~).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectMediaMeta'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectMediaMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'DetectTextAnomaly' => [
'summary' => 'Detects whether specified text contains anomalies, such as pornography, advertisements, excessive junk content, politically sensitive content, and abuse.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '130698',
'abilityTreeNodes' => ['FEATUREimmUCA5MV'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'Content',
'in' => 'query',
'schema' => ['description' => 'The text to be detected. It can contain up to 10,000 characters (including punctuation marks). Only Chinese text can be detected.'."\n", 'type' => 'string', 'required' => true, 'example' => 'content', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '91AC8C98-0F36-49D2-8290-742E24DF*****'],
'Suggestion' => [
'description' => 'Indicates whether the text contains anomalies. Valid values:'."\n"
."\n"
.'* pass: the text does not contain anomalies.'."\n"
.'* block: the text contains anomalies.'."\n",
'type' => 'string',
'enumValueTitles' => ['pass' => '', 'block' => ''],
'example' => 'pass',
'title' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"91AC8C98-0F36-49D2-8290-742E24DF*****\\",\\n \\"Suggestion\\": \\"pass\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'DetectTextAnomaly',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
."\n"
.'> The text compliance detection feature only supports Chinese characters.'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T09:43:54.000Z', 'description' => 'Error codes changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectTextAnomaly'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectTextAnomaly',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'EncodeBlindWatermark' => [
'summary' => 'Embeds specific textual information into an image as watermarks. These watermarks are visually imperceptible and do not affect the aesthetics of the image or the integrity of the original data. The watermarks can be extracted by using the CreateDecodeBlindWatermarkTask operation.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '199817',
'abilityTreeNodes' => ['FEATUREimmSCVT08'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The Object Storage Service (OSS) URI of the image.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region with the current project. `${Object}` specifies the path of the object with the extension included.'."\n"
."\n"
.'Supported image formats: JPG, PNG, BMP, TIFF, and WebP.'."\n"
."\n"
.'Image size limit: 10,000 px maximum and 80 px x 80 px minimum.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.jpg', 'title' => ''],
],
[
'name' => 'TargetURI',
'in' => 'query',
'schema' => ['description' => 'The URI of the output image in OSS.'."\n"
."\n"
.'Specify the URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n"
."\n"
.'> '."\n"
."\n"
.'* The format of the output image is the same as that of the input image.'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/target-object.jpg', 'title' => ''],
],
[
'name' => 'Content',
'in' => 'query',
'schema' => ['description' => 'The text content of watermarks. It can be up to 256 characters in length.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Copyright Alibaba Cloud', 'title' => ''],
],
[
'name' => 'StrengthLevel',
'in' => 'query',
'schema' => [
'description' => 'The watermark strength level. The higher the strength, the more resistant the watermarked image is to attacks, but the more the image is distorted. Default value: low. Valid values: \\[low, medium, high].'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['high' => 'high', 'low' => 'low', 'medium' => 'medium'],
'example' => 'low',
'title' => '',
],
],
[
'name' => 'ImageQuality',
'in' => 'query',
'schema' => ['description' => 'This parameter takes effect only if the input image format is JPG.'."\n"
."\n"
.'The storage quality of the output image that carries the watermarks. Default value: 90. Valid values: 70 to 100. The higher the quality, the larger the image size and the higher the watermark resolution quality.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '90', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '8E0DD64B-28C6-4653-8FF7-93E4C234BCF0'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8E0DD64B-28C6-4653-8FF7-93E4C234BCF0\\"\\n}","type":"json"}]',
'title' => 'EncodeBlindWatermark',
'description' => '* Before you call this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM).'."\n"
.'* Make sure that an IMM project is created. For information about how to create a project, see [CreateProject](~~478153~~).'."\n"
.'* You can embed only text as blind watermarks to an image.'."\n"
.'* The format of the output image is the same as that of the input image.'."\n"
.'* A blind watermark can still be extracted even if attacks, such as compression, scaling, cropping, and color transformation, are performed on the image.'."\n"
.'* Pure black and white images and images with low resolution (roughly less than 200 px × 200 px,) are not supported.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EncodeBlindWatermark'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:EncodeBlindWatermark',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'ExtractDocumentText' => [
'summary' => 'Extract text from the document',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '173181',
'abilityTreeNodes' => ['FEATUREimmMBRC1J'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '项目名称', 'description' => 'Project name. For how to obtain it, see [Creating a Project](~~477051~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => '文档转换输入文件地址', 'description' => 'Storage address of the source data.'."\n"
."\n"
.'The OSS address rule is oss://${Bucket}/${Object}, where `${Bucket}` is the name of the OSS Bucket in the same region (Region) as the current project, and `${Object}` is the complete path of the file including the file extension.'."\n"
.'>Currently, only HTTP protocol addresses are supported.> ', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object'],
],
[
'name' => 'SourceType',
'in' => 'query',
'schema' => ['title' => '输入文件格式,默认使用文件名后缀小写格式', 'description' => 'Suffix type of the source data. By default, the type of the source data is determined based on the suffix of the input object. When the input object does not have a suffix, you can set this parameter. The available values are as follows:'."\n"
."\n"
.'- Word Documents: doc, docx, wps, wpss, docm, dotm, dot, dotx, html'."\n"
.'- Presentation Documents (PPT): pptx, ppt, pot, potx, pps, ppsx, dps, dpt, pptm, potm, ppsm, dpss'."\n"
.'- Spreadsheet Documents (Excel): xls, xlt, et, ett, xlsx, xltx, csv, xlsb, xlsm, xltm, ets'."\n"
.'- PDF Documents: pdf', 'type' => 'string', 'required' => false, 'example' => 'docx'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['title' => '授权配置', 'description' => '**If there are no special requirements, leave it blank.**'."\n"
."\n"
.'Chain authorization configuration, optional. For more information, see [Using Chain Authorization to Access Other Entity Resources](~~465340~~).', 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '图片裁剪结果',
'description' => 'Response body structure.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求唯一ID', 'description' => 'Request ID.', 'type' => 'string', 'example' => '94D6F994-E298-037E-8E8B-0090F27*****'],
'DocumentText' => ['title' => '文档的文本正文内容', 'description' => 'The text content of the document.', 'type' => 'string', 'example' => 'Test content.'],
],
'example' => '',
],
],
500 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94D6F994-E298-037E-8E8B-0090F27*****\\",\\n \\"DocumentText\\": \\"Test content.\\"\\n}","type":"json"}]',
'title' => 'Extract Document Text',
'description' => '- **Before using this interface, please make sure you fully understand the billing method and [pricing](~~88317~~) of the Intelligent Media Management product.**'."\n"
."\n"
.'- Before calling this interface, ensure that there is an available project ([Project](~~478273~~)) in the current Region. For more details, see [Project Management](~~478152~~).'."\n"
."\n"
.'- Supports common Word, Excel, PPT, PDF, and TXT documents.'."\n"
."\n"
.'- The file size must not exceed 200 MB. The extracted plain text file size should not exceed 2 MB (approximately 600,000 Chinese characters).'."\n"
."\n"
.'>If the document format is complex or the text volume is too large, a timeout error may occur. In such scenarios, it is recommended to use the [CreateOfficeConversionTask](478228) interface and specify the output format as txt to achieve similar functionality.> ',
'changeSet' => [
['createdAt' => '2023-12-13T05:59:29.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExtractDocumentText'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ExtractDocumentText',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'translator' => 'manual',
],
'FuzzyQuery' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '8960',
'abilityTreeNodes' => ['FEATUREimmDN11M0'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If the total number of files is greater than the value of MaxResults, you must specify NextToken.'."\n"
."\n"
.'The file information is returned in alphabetical order starting from the value of NextToken.'."\n"
."\n"
.'You do not need to specify this parameter for the first request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'The maximum number of entries to return. Valid values: 0 to 200.'."\n"
."\n"
.'Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
],
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-dataset'],
],
[
'name' => 'Query',
'in' => 'query',
'schema' => ['description' => 'The query content. The value can be up to 1 MB in size.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '阿里云'],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['description' => 'The sort fields. For more information, see [Supported fields and operators](~~2743991~~).'."\n"
."\n"
.'- Separate multiple sort fields with commas (,). Example: `Size,Filename`.'."\n"
."\n"
.'- You can specify up to five sort fields.'."\n"
."\n"
.'- The priority order of sorting is determined based on the order of the sort fields.', 'type' => 'string', 'required' => false, 'example' => 'Size,Filename', 'title' => ''],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => 'The sorting method. Valid values:'."\n"
."\n"
.'- asc: ascending order.'."\n"
."\n"
.'- desc (default): descending order.'."\n"
."\n"
.'>'."\n"
."\n"
.'- Separate multiple sorting methods with commas (,). Example: asc,desc.'."\n"
."\n"
.'- The number of values for Order must be less than or equal to the number of values for Sort. For example, if you set Sort to Size,Filename, you can set Order only to desc or asc.'."\n"
."\n"
.'- If the number of values for Order is less than the number of values for Sort, the unsorted fields are default to the value of asc. For example, if you set Sort to Size,Filename and Order to asc, the Filename field is default to the value of asc.', 'type' => 'string', 'required' => false, 'example' => 'asc,desc', 'title' => ''],
],
[
'name' => 'WithFields',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The fields that you want to include in the response. To help reduce the size of the response, include only necessary metadata fields.'."\n"
."\n"
.'If you do not specify this parameter or set the value to null, all existing metadata fields are returned.',
'type' => 'array',
'items' => ['description' => 'The field that you want to include in the response. To help reduce the size of the response, include only necessary metadata fields.'."\n"
."\n"
.'If you do not specify this parameter or set the value to null, all existing metadata fields are returned.', 'type' => 'string', 'required' => false, 'example' => 'Filename', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'NextToken' => ['description' => 'A pagination token.'."\n"
."\n"
.'It can be used in the next request to retrieve a new page of results.'."\n"
."\n"
.'If NextToken is empty, no next page exists.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'Files' => [
'description' => 'The files.',
'type' => 'array',
'items' => ['description' => 'The file information.', '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'TotalHits' => ['description' => 'The number of hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'FuzzyQuery',
'summary' => 'Queries the extracted file metadata, including the file name, labels, path, custom tags, and other fields. If the value of a metadata field of a file matches the specified string, the metadata of the file is returned.',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of IMM.\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
."\n"
.'- The sample response is provided for reference only. The metadata type and content in your response may differ based on factors such as the [workflow template configurations](~~466304~~). For any inquiries, join the DingTalk chat group (ID: 88490020073) and share your questions with us.'."\n"
."\n"
.'- For information about the fields that you can use as query conditions, see [Supported fields and operators](~~2743991~~).',
'changeSet' => [
['createdAt' => '2023-11-20T06:58:49.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-09-04T06:34:40.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-12-13T05:33:42.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:12:16.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FuzzyQuery'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:FuzzyQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==\\",\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ],\\n \\"TotalHits\\": 10\\n}","type":"json"}]',
],
'GenerateVideoPlaylist' => [
'summary' => 'Creates a just-in-time transcoding playlist that generates an M3U8 file from a video file. The playlist can be played immediately after generation, and transcoding is performed on demand based on playback progress. Compared with offline transcoding, this significantly reduces transcoding wait time and substantially lowers transcoding and storage costs.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '161492',
'abilityTreeNodes' => ['FEATUREimmCUOMK0'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'The custom information, which is returned in asynchronous message notifications. This helps you associate message notifications within your system. Maximum length: 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the video.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where ${Bucket} is the name of the OSS bucket in the same region as the current project, and ${Object} is the full path of the file including the file name extension.'."\n"
.'> Only OSS buckets with Standard storage are supported.'."\n"
.'> Buckets with hotlink protection whitelists configured are not supported.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-source-object/video.mp4', 'title' => ''],
],
[
'name' => 'SourceStartTime',
'in' => 'query',
'schema' => ['description' => 'The start time for generating the playlist. Unit: seconds. Valid values:'."\n"
."\n"
.'- 0 (default) or empty: starts from the beginning of the source video.'."\n"
."\n"
.'- A value greater than 0: starts from the specified time point in the source video.'."\n"
."\n"
.'> You can set this parameter together with **SourceDuration** to generate a playlist for a specific portion of the source video.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'SourceDuration',
'in' => 'query',
'schema' => ['description' => 'The duration for generating the playlist. Unit: seconds. Valid values:'."\n"
."\n"
.'- 0 (default) or empty: continues until the end of the source video.'."\n"
."\n"
.'- A value greater than 0: continues for the specified duration from the start time of the playlist.'."\n"
."\n"
.'> If the time point corresponding to the specified parameter exceeds the end of the source video, the default value is used.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'SourceSubtitles',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of subtitles to add. Default value: empty. A maximum of two subtitles are supported.',
'type' => 'array',
'items' => [
'description' => 'The subtitle information.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI of the subtitle to embed.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where ${Bucket} is the name of the OSS bucket in the same region as the current project, and ${Object} is the full path of the file.'."\n"
.'> The **MasterURI** parameter must not be empty, and the OSS URI `oss://${Bucket}/${Object}` of the subtitle must be in the same directory as or a subdirectory of the **MasterURI** parameter.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object/subtitle/eng.vtt', 'title' => ''],
'Language' => ['description' => 'The subtitle language. The value follows the ISO 639-2 standard. Default value: empty.', 'type' => 'string', 'required' => false, 'example' => 'eng', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'MasterURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the Master Playlist.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where ${Bucket} is the name of the OSS bucket in the same region as the current project, and ${Object} is the full path of the file with the ".m3u8" extension.'."\n"
.'> If the playlist has subtitle input or multiple Target outputs, MasterURI is required. The subtitle URI or Target URI must be in the same directory as or a subdirectory of MasterURI.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object/master.m3u8', 'title' => ''],
],
[
'name' => 'Targets',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The array of just-in-time transcoding playlists. The maximum array length is 6. Each Target corresponds to at most one video Media Playlist and one or more subtitle Media Playlists.'."\n"
.'> If more than one Target is configured, the **MasterURI** parameter must not be empty.',
'type' => 'array',
'items' => [
'description' => 'The details of the just-in-time transcoding task.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The OSS URI prefix for the just-in-time transcoding output files, including M3U8 files and TS files.'."\n"
."\n"
.'The OSS URI follows the format oss://${Bucket}/${Object}, where ${Bucket} is the name of the OSS bucket in the same region as the current project, and ${Object} is the full path prefix of the file without the file name extension.'."\n"
."\n"
.'- Example: If URI is oss://test-bucket/test-object/output-video, an oss://test-bucket/test-object/output-video.m3u8 file and multiple oss://test-bucket/test-object/output-video-${token}-${index}.ts files are generated. ${token} is a unique string generated based on the transcoding parameters and is included in the API response. ${index} is the sequence number of the TS file starting from 0.'."\n"
."\n"
.'> If the **MasterURI** parameter is not empty, the URI must be in the same directory as or a subdirectory of the **MasterURI** parameter.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object/output-video', 'title' => ''],
'Video' => ['description' => 'The video processing parameter settings. An empty value (default) indicates that video processing is disabled and the output TS files do not contain video streams.'."\n"
.'> The Video and Subtitle fields within the same Target are mutually exclusive. If the Video field is set, the Subtitle field is ignored.', '$ref' => '#/components/schemas/TargetVideo', 'required' => false, 'title' => '', 'example' => ''],
'Audio' => ['description' => 'The audio processing parameter settings. An empty value (default) indicates that audio processing is disabled and the output TS files do not contain audio streams.'."\n"
.'> The Audio and Subtitle fields within the same Target are mutually exclusive. If the Audio field is set, the Subtitle field is ignored. Audio and Video can be set at the same time. Audio specifies the audio information in the output video. You can also set only Audio to generate audio-only output.', '$ref' => '#/components/schemas/TargetAudio', 'required' => false, 'title' => '', 'example' => ''],
'Subtitle' => ['description' => 'The subtitle processing parameter settings.'."\n"
.'> The Subtitle field is mutually exclusive with the Video and Audio fields within the same Target. Subtitles are generated only when Subtitle is set independently.', '$ref' => '#/components/schemas/TargetSubtitle', 'required' => false, 'title' => '', 'example' => ''],
'TranscodeAhead' => ['description' => 'The number of TS files to transcode ahead when just-in-time transcoding is triggered. By default, 2 minutes of video is transcoded ahead.'."\n"
."\n"
.'- Example: If **Duration** is 10, the default value of **TranscodeAhead** is 12. You can specify this parameter to control the number of asynchronous ahead-of-time transcoding files. Valid values: [10, 30].', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
'Duration' => ['description' => 'The playback duration of a single TS file. Unit: seconds. Default value: 10. Valid values: [5, 15].', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '10', 'title' => ''],
'InitialTranscode' => ['description' => 'The initial transcoding duration. Unit: seconds. Default value: 30.'."\n"
."\n"
.'- If the value is set to 0, no pre-transcoding is performed.'."\n"
.'- If the value is less than 0 or exceeds the source video length, the entire video is initially transcoded.'."\n"
.'- If the specified duration falls in the middle of a TS file, transcoding continues until the end of that TS file.'."\n"
."\n"
.'> This parameter is mainly used to reduce the wait time for the first playback and improve the playback experience. If you want to replace a traditional VOD scenario, try initially transcoding the entire video.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '30', 'title' => ''],
'InitialSegments' => [
'description' => 'The array of initial transcoding TS file durations. The maximum array length is 6. Default value: empty. This parameter is independent of the **Duration** parameter.',
'type' => 'array',
'items' => ['description' => 'The duration of an initial transcoding TS file. Valid values: [1, **Duration**].'."\n"
."\n"
.'- Example: If the initial transcoding TS duration array is `[2, 2, 4, 4, 8, 8]`, the TS file at index 0 has a duration of 2, the TS file at index 1 has a duration of 2, the TS file at index 2 has a duration of 4, the TS file at index 3 has a duration of 4, the TS file at index 4 has a duration of 8, and the TS file at index 5 has a duration of 8.'."\n"
.'> Customizing smaller initial transcoding TS file durations makes video loading smoother.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
'Tags' => [
'description' => 'The OSS object [tags](~~106678~~) to add to the generated TS files. You can use OSS tags to control the lifecycle of OSS files.'."\n"
.'> The tag values at this level are merged with the Tags defined at the parent level to form the tag values for the current Target. If a tag with the same name exists, the value at this level takes precedence.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '{\\"key1\\":\\"value1\\"}', 'title' => ''],
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The OSS object [tags](~~106678~~) to add to the generated TS files. You can use tags to control the lifecycle of OSS files.',
'type' => 'object',
'required' => false,
'additionalProperties' => ['description' => 'The tag value.', 'type' => 'string', 'example' => '{"key1": "value1", "key2": "value2"}', 'title' => ''],
'example' => '{"key1": "value1", "key2": "value2"}',
'title' => '',
],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have special requirements.**'."\n"
."\n"
.'The China authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. Click Notification for details. For the format of asynchronous notification messages, see [Asynchronous notification message format](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'OverwritePolicy',
'in' => 'query',
'schema' => ['description' => 'The overwrite policy when a Media Playlist already exists. Valid values:'."\n"
."\n"
.'- overwrite (default): overwrites the existing Media Playlist.'."\n"
.'- skip-existing: skips generation and retains the existing Media Playlist.', 'type' => 'string', 'required' => false, 'example' => 'overwrite', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFF*****'],
'Duration' => ['description' => 'The total duration of the output video.', 'type' => 'number', 'format' => 'float', 'example' => '1082', 'title' => ''],
'Token' => ['description' => 'The token of the Master Playlist.', 'type' => 'string', 'example' => '92376fbb-171f-4259-913f-705f7ee0****', 'title' => ''],
'MasterURI' => ['description' => 'The OSS URI of the Master Playlist.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object/master.m3u8', 'title' => ''],
'VideoPlaylist' => [
'description' => 'The list of video Media Playlist files.',
'type' => 'array',
'items' => [
'description' => 'The video Media Playlist file information.',
'type' => 'object',
'properties' => [
'Token' => ['description' => 'The token generated for the video Media Playlist. You can use this parameter to construct the addresses of the generated TS files.'."\n"
.'> Based on the returned Token value, you can construct the addresses of the transcoded TS files. The format is: oss://${Bucket}/${Object}-${Token}-${Index}.ts, where oss://${Bucket}/${Object} is the Target URI specified in the input parameters, ${Token} is the returned parameter, and ${Index} is the sequence number of the TS file.', 'type' => 'string', 'example' => 'affe0c6042f09722fec95a21b8b******', 'title' => ''],
'URI' => ['description' => 'The OSS URI of the video Media Playlist.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object/output-video.m3u8', 'title' => ''],
'Resolution' => ['description' => 'The video resolution.', 'type' => 'string', 'example' => '640x480', 'title' => ''],
'FrameRate' => ['description' => 'The video frame rate.', 'type' => 'string', 'example' => '25/1', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'AudioPlaylist' => [
'description' => 'The list of audio Media Playlist files.',
'type' => 'array',
'items' => [
'description' => 'The audio Media Playlist file information.',
'type' => 'object',
'properties' => [
'Token' => ['description' => 'The token generated for the audio Media Playlist. You can use this parameter to construct the addresses of the generated TS files.', 'type' => 'string', 'example' => 'affe0c6042f09722fec95a21b8b******', 'title' => ''],
'URI' => ['description' => 'The OSS URI of the audio Media Playlist.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object/output-audio.m3u8', 'title' => ''],
'Channels' => ['description' => 'The number of audio channels.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'SubtitlePlaylist' => [
'description' => 'The list of subtitle Media Playlist files.',
'type' => 'array',
'items' => [
'description' => 'The subtitle Media Playlist file information.',
'type' => 'object',
'properties' => [
'Token' => ['description' => 'The token generated for the subtitle Media Playlist. You can use this parameter to construct the addresses of the generated subtitle files.'."\n"
.'> Based on the returned Token value, you can construct the addresses of the transcoded subtitle files. The format is: oss://${Bucket}/${Object}-${Token}_${Index}.ts, where oss://${Bucket}/${Object} is the Subtitle URI specified in the input parameters, ${Token} is the returned parameter, and ${Index} is the sequence number of the subtitle file.', 'type' => 'string', 'example' => 'affe0c6042f09722fec95a21b8b******', 'title' => ''],
'URI' => ['description' => 'The OSS URI of the subtitle Media Playlist.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object/output-subtitle.m3u8', 'title' => ''],
'Language' => ['description' => 'The language of the subtitle stream.'."\n"
.'> The language is obtained from the subtitle stream information of the source video specified by SourceURI. If the source video does not contain language information, an empty value is returned.', 'type' => 'string', 'example' => 'eng', 'title' => ''],
'Index' => ['description' => 'The sequence number of the subtitle stream, starting from 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFF*****\\",\\n \\"Duration\\": 1082,\\n \\"Token\\": \\"92376fbb-171f-4259-913f-705f7ee0****\\",\\n \\"MasterURI\\": \\"oss://test-bucket/test-object/master.m3u8\\",\\n \\"VideoPlaylist\\": [\\n {\\n \\"Token\\": \\"affe0c6042f09722fec95a21b8b******\\",\\n \\"URI\\": \\"oss://test-bucket/test-object/output-video.m3u8\\",\\n \\"Resolution\\": \\"640x480\\",\\n \\"FrameRate\\": \\"25/1\\"\\n }\\n ],\\n \\"AudioPlaylist\\": [\\n {\\n \\"Token\\": \\"affe0c6042f09722fec95a21b8b******\\",\\n \\"URI\\": \\"oss://test-bucket/test-object/output-audio.m3u8\\",\\n \\"Channels\\": 1\\n }\\n ],\\n \\"SubtitlePlaylist\\": [\\n {\\n \\"Token\\": \\"affe0c6042f09722fec95a21b8b******\\",\\n \\"URI\\": \\"oss://test-bucket/test-object/output-subtitle.m3u8\\",\\n \\"Language\\": \\"eng\\",\\n \\"Index\\": 1\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Generate a just-in-time transcoding playlist',
'description' => '- **Before you use this operation, make sure that you understand the billing of Intelligent Media Management (IMM) and its [pricing](~~88317~~).**'."\n"
.'- Before you invoke this operation, make sure that an active project exists in the current region. For more information, see [Project management](~~478152~~).'."\n"
.'- By default, this operation processes only one video, audio, or subtitle stream. You can configure the number of video, audio, and subtitle streams to process.'."\n"
.'The Video, Audio, and Subtitle parameters under Targets cannot all be empty. An empty value indicates that the corresponding processing is disabled. For example, if Video is empty, video processing is disabled and the output TS files do not contain video streams.> '."\n"
.'- The minimum duration of the source video is approximately 0.x seconds, which varies depending on the output frame rate.'."\n"
.'- This operation supports generating both Media Playlists and Master Playlists. Pay attention to the metric descriptions in this document.'."\n"
.'- This is a synchronous operation. Synchronous or asynchronous transcoding is triggered only during playback or pre-transcoding. You can set the [Notification](~~2743997~~) parameter to receive transcoding task results through message notifications.'."\n"
.'- For more information about this feature, see [Just-in-time transcoding](~~477192~~).'."\n"
.'- OSS data processing also provides a playlist generation feature, but it only supports generating Media Playlists with simplified parameters. For details, see [Generate a playlist](~~2709281~~) in OSS data processing.',
'changeSet' => [
['createdAt' => '2024-03-26T10:10:41.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-04-04T06:11:11.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateVideoPlaylist'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GenerateVideoPlaylist',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'GenerateWebofficeToken' => [
'summary' => 'Retrieves the preview and editing credentials for a document.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '161499',
'abilityTreeNodes' => ['FEATUREimm4TQO1Z'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The OSS URI of the document to preview or edit.'."\n"
."\n"
.'The OSS URI follows the format `oss://${Bucket}/${Object}`, where `Bucket` is the name of an OSS bucket in the same region as the current project, and `Object` is the full path of the file including the file name extension.', 'type' => 'string', 'required' => true, 'example' => 'oss://test-bucket/test-object.docx'],
],
[
'name' => 'Filename',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The file name, which must include the file name extension. The default value is the last segment of the **SourceURI** parameter.'."\n"
."\n"
.'Supported file name extensions (PDF supports preview only):'."\n"
."\n"
.'- Word documents: doc, docx, txt, dot, wps, wpt, dotx, docm, dotm, and rtf'."\n"
.'- PowerPoint documents: ppt, pptx, pptm, ppsx, ppsm, pps, potx, potm, dpt, and dps'."\n"
.'- Excel documents: et, xls, xlt, xlsx, xlsm, xltx, xltm, and csv'."\n"
.'- PDF documents: pdf.', 'type' => 'string', 'required' => false, 'example' => 'test-Object.pptx'],
],
[
'name' => 'CachePreview',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether to enable cached preview.'."\n"
."\n"
.'- true: When enabled, the document preview no longer updates collaborative editing content. This is suitable for preview-only scenarios.'."\n"
.'- false: When disabled, collaborative preview is used by default, which synchronizes collaborative editing content during preview.'."\n"
."\n"
.'>Cached preview and non-cached preview have different unit prices. For more information, see the billing item description.'."\n"
.' >Cached preview does not support document content search or printing. '."\n"
.'Cached preview does not support updating cached content. .', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'Referer',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The OSS hotlink protection referer. Intelligent Media Management (IMM) needs to retrieve the source file from OSS. If hotlink protection is configured for OSS, IMM must pass the corresponding header to OSS to retrieve the source file.'."\n"
.'> Set this parameter if the bucket that stores the document has a referer configured.', 'type' => 'string', 'required' => false, 'example' => '*'],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The custom user data. This parameter takes effect only when the Notification parameter is specified with MNS configurations. The data is returned in asynchronous message notifications for you to associate and process message notifications within your system. Maximum length: 2,048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
.' "id": "test-id",'."\n"
.' "name": "test-name"'."\n"
.'}'],
],
[
'name' => 'PreviewPages',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of pages that can be previewed. By default, no limit is imposed. The maximum value is 5,000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The password to open the document.'."\n"
.'> Set this parameter if you want to preview or edit a password-protected document.', 'type' => 'string', 'required' => false, 'example' => '123456'],
],
[
'name' => 'ExternalUploaded',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether uploading a file with the same name to OSS is expected behavior. Valid values:'."\n"
."\n"
.'- true: Uploading a file with the same name to OSS is expected behavior. The uploaded document overwrites the original document and generates a new version. After this parameter is set to true, you must first close the document that is being edited, wait about 5 minutes, and then reopen it to load the new document. The upload takes effect only when the document is closed. If the document is open, new saves overwrite the uploaded file.'."\n"
.'- false (default): Uploading a file with the same name to OSS is not expected behavior. The operation returns an error.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'NotifyTopicName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Sends event notifications to you as MNS messages. This parameter specifies the MNS topic for asynchronous message notifications.', 'type' => 'string', 'required' => false, 'example' => 'test-topic'],
],
[
'name' => 'Hidecmb',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether to hide the toolbar. This parameter is supported in document preview mode. Valid values:'."\n"
."\n"
.'- false (default): The toolbar is not hidden.'."\n"
."\n"
.'- true: The toolbar is hidden.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'Permission',
'in' => 'query',
'style' => 'json',
'schema' => ['title' => '', 'description' => 'The user permission information in JSON format.'."\n"
."\n"
.'User permissions include the following options:'."\n"
."\n"
.'Each option is of the Boolean type. The default value is false. Valid values: true and false.'."\n"
."\n"
.'- Readonly (optional): Preview mode.'."\n"
."\n"
.'- Rename (optional): The permission to rename a file. Only message notification is provided. The rename event is sent to MNS.'."\n"
."\n"
.'- History (optional): The permission to view historical versions.'."\n"
."\n"
.'- Copy (optional): The copy permission.'."\n"
."\n"
.'- Export (optional): The permission to export to PDF.'."\n"
."\n"
.'- Print (optional): The print permission.'."\n"
."\n\n"
.'> PDF supports only the preview feature. You must set the Readonly parameter to true.'."\n"
.'>'."\n"
."\n"
.'> PDF files do not support export.'."\n"
.'> '."\n"
."\n"
.'> To use the versioning feature, you must first enable versioning in OSS and then set the History parameter to true.'."\n"
.'>'."\n"
.'>Printing is not supported in cached preview.> '."\n"
.'>Historical versions can be viewed in edit mode but not in preview mode.> .', '$ref' => '#/components/schemas/WebofficePermission', 'required' => false, 'example' => ''],
],
[
'name' => 'User',
'in' => 'query',
'style' => 'json',
'schema' => ['title' => '', 'description' => 'The user information. You can pass in user information from the business side, and the WebOffice page displays this information.'."\n"
."\n"
.'The system distinguishes different users by User.Id. User.Name is used only for frontend display. If User.Id is not specified, the backend automatically generates a random ID. Users with different IDs are treated as different principals and cannot modify or delete each other\'s comments.'."\n"
."\n"
.'The default format is: Unknown_RandomString. If User.Id is not specified, the user information is displayed as "Unknown" by default.', '$ref' => '#/components/schemas/WebofficeUser', 'required' => false, 'example' => ''],
],
[
'name' => 'Watermark',
'in' => 'query',
'style' => 'json',
'schema' => ['title' => '', 'description' => 'The watermark information. The watermark is generated on the frontend and is not written to the source document. Different parameters passed for the same document produce different watermarks.', '$ref' => '#/components/schemas/WebofficeWatermark', 'required' => false, 'example' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have specific requirements.**'."\n"
."\n"
.'The China authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The notification configuration. Currently, only MNS is supported. For the format of asynchronous notification messages, see [WebOffice message notification format](~~2743999~~).'."\n"
."\n"
.'> Message notifications are sent when a file is saved or renamed.', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The Weboffice access credentials.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1759315A-CB33-0A75-A72B-62D7********'],
'WebofficeURL' => ['title' => '', 'description' => 'The Weboffice entry URL for previewing or editing documents online.'."\n"
.'> This URL cannot be opened directly in a browser. You must use it together with the Weboffice JS-SDK and the access credential (AccessToken) to preview or edit documents. For more information, see [Getting Started](~~468066~~).', 'type' => 'string', 'example' => 'https://office-cn-shanghai.imm.aliyuncs.com/office/s/dd221b2cdb44fb66e9070d1d70a8b9bbb6d6fff7?_w_tokentype=1'],
'AccessToken' => ['title' => '', 'description' => 'The Weboffice access credential.', 'type' => 'string', 'example' => '2d73dd5d87524c5e8a194c3eb5********'],
'RefreshToken' => ['title' => '', 'description' => 'The Weboffice refresh credential.', 'type' => 'string', 'example' => 'e374995ec532432bb678074d36********'],
'AccessTokenExpiredTime' => ['title' => '', 'description' => 'The expiration time of the access credential. The credential expires in 30 minutes. Format: YYYY-MM-DDTHH:mm:ss.', 'type' => 'string', 'example' => '2021-08-30T13:13:11.347146982Z'],
'RefreshTokenExpiredTime' => ['title' => '', 'description' => 'The expiration time of the refresh credential. The credential expires in 1 day. Format: YYYY-MM-DDTHH:mm:ss.', 'type' => 'string', 'example' => '2021-08-31T12:43:11.347146982Z'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1759315A-CB33-0A75-A72B-62D7********\\",\\n \\"WebofficeURL\\": \\"https://office-cn-shanghai.imm.aliyuncs.com/office/s/dd221b2cdb44fb66e9070d1d70a8b9bbb6d6fff7?_w_tokentype=1\\",\\n \\"AccessToken\\": \\"2d73dd5d87524c5e8a194c3eb5********\\",\\n \\"RefreshToken\\": \\"e374995ec532432bb678074d36********\\",\\n \\"AccessTokenExpiredTime\\": \\"2021-08-30T13:13:11.347146982Z\\",\\n \\"RefreshTokenExpiredTime\\": \\"2021-08-31T12:43:11.347146982Z\\"\\n}","type":"json"}]',
'title' => 'Retrieve weboffice credentials',
'description' => '- **Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management. For more information, see [Pricing](~~477042~~)**.'."\n"
."\n"
.'- Do not perform cross-border access on OSS files. For example, if a file is stored in a bucket in the Singapore region, do not initiate preview, read, or download requests from the Chinese mainland. In such scenarios, the network link quality is significantly affected by the cross-border network environment, which may cause increased access latency, preview failures, download interruptions, or unstable connections. Network stability and access experience cannot be guaranteed. Make sure that the access point and the bucket are in the same region to avoid uncertainties caused by cross-border access.'."\n"
.'- The access credential expires in 30 minutes, and the refresh credential expires in 1 day.'."\n"
.'- The returned expiration time is in UTC, which is 8 hours behind UTC+8.'."\n"
.'- Supported input file formats:'."\n"
.' - Word documents: doc, docx, txt, dot, wps, wpt, dotx, docm, dotm, and rtf.'."\n"
.' - Presentation documents (PPT): ppt, pptx, pptm, ppsx, ppsm, pps, potx, potm, dpt, and dps.'."\n"
.' - Excel documents: et, xls, xlt, xlsx, xlsm, xltx, xltm, and csv.'."\n"
.' - PDF documents: pdf.'."\n"
.'- The maximum supported file size is 200 MB.'."\n"
.'- The maximum supported number of document pages is 5,000.'."\n"
.'- For projects created before December 1, 2023, billing is based on the number of document opens. Currently, billing is based on the number of API calls. To switch to the new billing mode, create a new project. Note that each API call can be used by only one user. If the call is reused, only the last user can access the document normally, and the access permissions of other users are revoked.'."\n"
."\n"
.'- Activate Message Service (MNS) in the same region as Intelligent Media Management, create a topic and a queue, and configure a subscription. You can pass in the MNS topic name by using the NotifyTopicName parameter to receive message notifications about file saves. For more information about the MNS SDK, see [Receive and delete messages](~~32449~~).'."\n"
.'For an example of the JSON format of the Message field in file save message notifications, see [WebOffice message notification format](~~2743999~~).'."\n"
."\n"
.'> To use the versioning feature, you must first enable versioning in OSS and then set the History parameter to true.'."\n"
.'>.',
'requestParamsDescription' => '#### Typical scenario examples'."\n"
."\n"
.'The following examples describe some typical scenarios based on the parameter structure:'."\n"
.'##### Preview a read-only file (required for previewing PDF files)'."\n"
."\n"
.'Document preview mode. The document can only be previewed and cannot be edited:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.pdf",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "PreviewPages" : "5",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
."\n"
.'```'."\n"
.'##### Preview a file with an uppercase file name extension'."\n"
."\n"
.'To preview a file with an uppercase file name extension, set the Filename parameter with a lowercase extension:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.DOCX",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "PreviewPages" : "5",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
."\n"
.'```'."\n"
.'##### Preview only the first 5 pages of a document'."\n"
."\n"
.'The document has 10 pages in total. Only the first 5 pages are displayed:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.docx",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "PreviewPages" : "5",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
."\n"
.'```'."\n"
.'##### Set a password for document preview'."\n"
."\n"
.'Set a password for document preview, or directly open a password-protected source file without requiring a password:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.docx",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "Password" : "123456",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
.'```'."\n"
.'##### Add a watermark to document preview'."\n"
."\n"
.'Add a watermark when previewing a document:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.docx",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "Watermark" : "{\'Type\':\'1\',\'Value\':\'水印值\',\'Font\':\'bold 20px Serif\'}",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
.'```'."\n"
.'##### Hide the toolbar during document preview'."\n"
."\n"
.'Hide the toolbar when previewing a document:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.docx",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "Hidecmb" : "true",'."\n"
.' "Permission" : "{\'Readonly\':\'true\'}"'."\n"
.'}'."\n"
.'```'."\n"
.'##### Edit a document online with permissions to view historical versions, copy, print, and export to PDF'."\n"
."\n"
.'Edit a document online with permissions to view historical versions, copy, print, and export to PDF:'."\n"
."\n"
.'```json'."\n"
.' {'."\n"
.' "ProjectName" : "test-project",'."\n"
.' "SourceURI" : "oss://test-bucket/test-object.docx",'."\n"
.' "Filename" : "test-object.docx",'."\n"
.' "Permission" : "{\'Readonly\':\'false\',\'History\':\'true\',\'Copy\':\'true\',\'Print\':\'true\',\'Export\':\'true\'}"'."\n"
.'}'."\n"
.'```.',
'responseParamsDescription' => '**Common errors**.'."\n"
."\n"
.'The project specified by ProjectName is not found. Go to the IMM console and check whether the project exists in the region.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "ResourceNotFound",'."\n"
.' "Message": "The specified resource acs:imm::xxx:project/xxx is not found"'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The User parameter is required. Check whether this parameter is specified.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "InvalidArgument.User",'."\n"
.' "Message": "The parameter User is required but not provided"'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The User parameter is invalid. Check whether the parameter value is in valid JSON format.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "InvalidJSON parsing error, User",'."\n"
.' "Message": "Specified parameter JSON parsing error, User is not valid."'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The Permission parameter is invalid. Check whether the parameter value is in valid JSON format.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "InvalidJSON parsing error, Permission",'."\n"
.' "Message": "Specified parameter JSON parsing error, Permission is not valid."'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The Watermark parameter is invalid. Check whether the parameter value is in valid JSON format.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "InvalidJSON parsing error, Watermark",'."\n"
.' "Message": "Specified parameter JSON parsing error, Watermark is not valid."'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The PreviewPages parameter format is invalid. Check the PreviewPages parameter value.'."\n"
.'``` '."\n"
.'{'."\n"
.' "Code": "InvalidPreviewPages",'."\n"
.' "Message": "Specified parameter PreviewPages is not valid."'."\n"
.'}'."\n"
.'```.'."\n"
."\n"
.'The OSS file specified by SourceURI does not exist. Check whether the file exists in the bucket.'."\n"
.'```'."\n"
.'{'."\n"
.' "Code": "ResourceNotFound",'."\n"
.' "Message": "The specified resource oss://xx is not found"'."\n"
.'}'."\n"
.'```.',
'extraInfo' => '### Related documentation '."\n"
.' - For more information about OSS versioning, see [Overview of versioning](~~109695~~).'."\n"
.' - For more information about OSS hotlink protection, see [Use hotlink protection to prevent unauthorized traffic](~~31869~~).',
'changeSet' => [
['createdAt' => '2023-08-30T08:32:41.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateWebofficeToken'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GenerateWebofficeToken',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'GetBatch' => [
'summary' => 'Queries the information about a batch processing task.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '131105',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The ID of the batch processing task. For more information about how to obtain the ID, see [CreateBatch](~~606694~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'Batch' => ['description' => 'The information about the batch processing task.'."\n", '$ref' => '#/components/schemas/DataIngestion', 'title' => '', 'example' => ''],
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Batch\\": {\\n \\"Id\\": \\"trigger-9f72636a-0f0c-4baf-ae78-38b27bfe****\\",\\n \\"Input\\": {\\n \\"OSS\\": {\\n \\"Bucket\\": \\"test-bucket\\",\\n \\"Prefix\\": \\"test-object\\",\\n \\"MatchExpressions\\": [\\n \\"key prefix (abc)\\"\\n ]\\n }\\n },\\n \\"Actions\\": [\\n {\\n \\"Name\\": \\"doc/convert\\",\\n \\"Parameters\\": [\\n \\"pages=3\\"\\n ],\\n \\"FastFailPolicy\\": {\\n \\"Action\\": \\"abort\\"\\n }\\n }\\n ],\\n \\"Notification\\": {\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"Topic\\": \\"topic1\\",\\n \\"MNS\\": {\\n \\"TopicName\\": \\"topic1\\",\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\"\\n },\\n \\"RocketMQ\\": {\\n \\"Endpoint\\": \\"http://11111111111.mqrest.cn-hangzhou.aliyuncs.com\\",\\n \\"TopicName\\": \\"topic1\\",\\n \\"InstanceId\\": \\"MQ_INST_11111111111_BYcNy2Nc\\"\\n }\\n },\\n \\"Statistic\\": {\\n \\"SubmitSuccess\\": 10,\\n \\"SubmitFailure\\": 1,\\n \\"SkipFiles\\": 0\\n },\\n \\"State\\": \\"Succeeded\\",\\n \\"Marker\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"UpdateTime\\": \\"2021-12-18T07:40:29Z\\",\\n \\"Tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Error\\": \\"api returns error: SDKError: StatusCode: 404 Code: ResourceNotFound\\",\\n \\"Phase\\": \\"IncrementalScanning\\",\\n \\"ServiceRole\\": \\"AliyunIMMBatchTriggerRole\\"\\n },\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\"\\n}","type":"json"}]',
'title' => 'GetBatch',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBatch'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'GetBinding' => [
'summary' => 'Queries the binding relationship between a specific dataset and an Object Storage Service (OSS) bucket.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '33029',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.', 'type' => 'string', 'required' => false, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'URI',
'in' => 'query',
'schema' => ['description' => 'The URI of the OSS bucket to which you bind the dataset.'."\n"
."\n"
.'Specify the value in the oss\\://${Bucket} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The returned data.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AEFCD467-C928-4A36-951A-6EB5A592****'],
'Binding' => ['description' => 'The details of the binding.', '$ref' => '#/components/schemas/Binding', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AEFCD467-C928-4A36-951A-6EB5A592****\\",\\n \\"Binding\\": {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"URI\\": \\"oss://examplebucket\\",\\n \\"State\\": \\"Running\\",\\n \\"Phase\\": \\"FullScanning\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Reason\\": \\"pause usage\\"\\n }\\n}","type":"json"}]',
'title' => 'GetBinding',
'description' => '- **Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).**'."\n"
."\n"
.'- Make sure that the binding relationship that you want to query exists. For information about how to create a binding relationship, see [CreateBinding](~~478202~~).',
'changeSet' => [
['createdAt' => '2024-09-03T10:58:54.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBinding'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'GetDataset' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
[
'name' => 'WithStatistics',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to enable real-time retrieval of file statistics. Default value: false.'."\n"
."\n"
.'- If you set the value to true, FileCount and TotalFileSize in the response return true and valid values.'."\n"
."\n"
.'- If you set the value to false, FileCount and TotalFileSize in the response return invalid values or 0.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6D74B3A9-5AC0-49F9-914D-E01589D3****', 'title' => ''],
'Dataset' => ['description' => 'The dataset.', '$ref' => '#/components/schemas/Dataset', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
],
],
'title' => 'GetDataset',
'summary' => 'Queries a dataset.',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- The GetDataset operation supports real-time retrieval of file statistics. You can specify WithStatistics to enable real-time retrieval of file statistics.',
'changeSet' => [
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataset'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'GetDecodeBlindWatermarkResult' => [
'summary' => 'Retrieves the result of a blind watermark extraction task for an image.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'abilityTreeCode' => '204408',
'abilityTreeNodes' => ['FEATUREimmSCVT08'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => [
'description' => 'The task type.',
'enumValueTitles' => ['DecodeBlindWatermark' => 'DecodeBlindWatermark'],
'type' => 'string',
'required' => true,
'example' => 'DecodeBlindWatermark',
'title' => '',
],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => 'The task ID. You can obtain the task ID from the response parameters of the blind watermark extraction task creation operation.', 'type' => 'string', 'required' => true, 'example' => 'DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The watermark extraction result.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '93126E40-0296-4129-95E3-AFAC709372E5'],
'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'test-project', 'title' => ''],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '2C2-1I0EG57VR37J4rQ8oKG6C9*****', 'title' => ''],
'Status' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'Succeeded', 'title' => ''],
'Code' => ['description' => 'The task error code.', 'type' => 'string', 'example' => 'ResourceNotFound', 'title' => ''],
'Message' => ['description' => 'The task error message.', 'type' => 'string', 'example' => 'The specified resource project is not found.', 'title' => ''],
'StartTime' => ['description' => 'The time when the task started. The time is in the ISO 8601 UTC timestamp format with millisecond precision.', 'type' => 'string', 'example' => '2024-03-03T09:44:31.029Z', 'title' => ''],
'EndTime' => ['description' => 'The time when the task ended. The time is in the ISO 8601 UTC timestamp format with millisecond precision.', 'type' => 'string', 'example' => '2024-03-03T09:45:56.87Z', 'title' => ''],
'UserData' => ['description' => 'The custom information.', 'type' => 'string', 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
'TaskType' => ['description' => 'The task type.', 'type' => 'string', 'example' => 'DecodeBlindWatermark', 'title' => ''],
'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574****', 'title' => ''],
'Content' => ['description' => 'The watermark content.', 'type' => 'string', 'example' => '阿里云版权所有', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"93126E40-0296-4129-95E3-AFAC709372E5\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"EventId\\": \\"2C2-1I0EG57VR37J4rQ8oKG6C9*****\\",\\n \\"Status\\": \\"Succeeded\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource project is not found.\\",\\n \\"StartTime\\": \\"2024-03-03T09:44:31.029Z\\",\\n \\"EndTime\\": \\"2024-03-03T09:45:56.87Z\\",\\n \\"UserData\\": \\"{\\\\\\"ID\\\\\\": \\\\\\"user1\\\\\\",\\\\\\"Name\\\\\\": \\\\\\"test-user1\\\\\\",\\\\\\"Avatar\\\\\\": \\\\\\"http://example.com?id=user1\\\\\\"}\\",\\n \\"TaskType\\": \\"DecodeBlindWatermark\\",\\n \\"TaskId\\": \\"DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574****\\",\\n \\"Content\\": \\"阿里云版权所有\\"\\n}","type":"json"}]',
'title' => 'Get blind watermark extraction task result',
'description' => '- Before you call this operation, make sure that you have created a project in Intelligent Media Management (IMM). For more information, see [Create a project](~~478153~~).'."\n"
.'- Before you call this operation, make sure that you have created a blind watermark extraction task for an image and obtained the `TaskId` of the task.',
'changeSet' => [
['createdAt' => '2024-04-19T07:28:03.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDecodeBlindWatermarkResult'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GetDecodeBlindWatermarkResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetFigureCluster' => [
'summary' => 'Obtains basic information about face clustering, including the creation time, number of images, and cover.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '103841',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The project name.[](~~CreateProject~~)', 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset name.[](~~CreateDataset~~)', 'type' => 'string', 'required' => true, 'example' => 'dataset001', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the face clustering task. You can obtain the ID from the face clustering information returned after you call the [QueryFigureClusters](~~QueryFigureClusters~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'Cluster-1f2e1a2c-d5ee-4bc5-84f6-fef94ea****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
'FigureCluster' => ['description' => 'The information about the face cluster.', '$ref' => '#/components/schemas/FigureCluster', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'GetFigureCluster',
'description' => '- **Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).**'."\n"
."\n"
.'- Before you call this operation, make sure that a face clustering task is created to group all faces in a dataset. For information about how to create a face clustering task, see [CreateFigureClusteringTask](~~CreateFigureClusteringTask~~). For information about how to create a dataset, see [CreateDataset](~~CreateDataset~~).',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFigureCluster'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\",\\n \\"FigureCluster\\": {\\n \\"OwnerId\\": \\"102321002****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"ObjectType\\": \\"figure-cluster\\",\\n \\"ObjectId\\": \\"Cluster-ae6e3472-999e-410b-b54e-cd5dba****\\",\\n \\"UpdateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"CreateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"Name\\": \\"abc\\",\\n \\"Gender\\": \\"female\\",\\n \\"FaceCount\\": 3,\\n \\"ImageCount\\": 5,\\n \\"VideoCount\\": 3,\\n \\"AverageAge\\": 26,\\n \\"MinAge\\": 12,\\n \\"MaxAge\\": 44,\\n \\"Cover\\": {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n },\\n \\"CustomId\\": \\"abc\\",\\n \\"CustomLabels\\": {\\n \\"Bucket\\": \\"examplebucket\\"\\n },\\n \\"MetaLockVersion\\": 0\\n }\\n}","type":"json"}]',
],
'GetFileMeta' => [
'summary' => 'Queries metadata of a file whose metadata is indexed into the dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '32848',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'URI',
'in' => 'query',
'schema' => [
'description' => 'The URI of the file. Make sure that the file is indexed\\*\\*\\*\\*.'."\n"
."\n"
.'Specify the OSS URI in the oss\\://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n"
."\n"
.'Specify the URI of the file in Photo and Drive Service in the pds\\://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision} format.',
'enumValueTitles' => [],
'type' => 'string',
'required' => true,
'example' => 'oss://test-bucket/test-object',
'title' => '',
],
],
[
'name' => 'WithFields',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The metadata fields that you want to include in the response. You can use this parameter to reduce the size of the response.'."\n"
."\n"
.'If you do not specify this parameter or leave this parameter empty, the operation returns all metadata fields of the file.',
'type' => 'array',
'items' => ['description' => 'The metadata fields that you want to include in the response. If this parameter is omitted or left empty, all available metadata fields are returned.', 'type' => 'string', 'required' => false, 'example' => 'Size', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The data structure returned.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7F84C6D9-5AC0-49F9-914D-F02678E3****'],
'Files' => [
'title' => 'File list.',
'description' => 'The metadata returned.',
'type' => 'array',
'items' => ['description' => 'The structure of the metadata. The returned metadata may not include all attributes of the object, and it varies depending on the object and the [workflow template](~~466304~~) used for indexing the metadata of the object.', '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
],
'title' => 'GetFileMeta',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
."\n"
.'- The sample response is provided for reference only. The metadata type and content in your response may differ based on factors such as the [workflow template configurations](~~466304~~). For any inquiries, join the DingTalk chat group (ID: 31690030817) and share your questions with us.',
'changeSet' => [
['createdAt' => '2024-07-30T05:45:56.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F84C6D9-5AC0-49F9-914D-F02678E3****\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
],
'GetImageModerationResult' => [
'summary' => 'Retrieves an image content moderation task.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '173754',
'abilityTreeNodes' => ['FEATUREimmRIZXZT'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'required' => true, 'example' => 'ImageModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'ImageModeration-ff207203-3f93-4645-a041-7b8f0f******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The image moderation result.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E6A120B1-BEB3-0F63-A7C2-0783B6******'],
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'test-project'],
'EventId' => ['title' => '', 'description' => 'The event ID.', 'type' => 'string', 'example' => '1B6-1XBMX3BixLMILvXVGtlkr******'],
'Status' => ['title' => '', 'description' => 'The running status of the task. Valid values:'."\n"
."\n"
.'- Running: The task is running.'."\n"
.'- Succeeded: The task is completed successfully.'."\n"
.'- Failed: The task failed.', 'type' => 'string', 'example' => 'Succeeded'],
'Code' => ['title' => '', 'description' => 'The error code of the task.', 'type' => 'string', 'example' => 'ResourceNotFound'],
'Message' => ['title' => '', 'description' => 'The error message of the task.', 'type' => 'string', 'example' => 'The specified resource TaskId is not found.'],
'StartTime' => ['title' => '', 'description' => 'The start time of the task. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2023-04-03T09:44:31.029Z'],
'EndTime' => ['title' => '', 'description' => 'The end time of the task. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2023-04-03T09:44:32Z'],
'UserData' => ['title' => '', 'description' => 'The custom user data.', 'type' => 'string', 'example' => '{'."\n"
.' "fileId": "123"'."\n"
.'}'],
'TaskType' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'example' => 'ImageModeration'],
'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'ImageModeration-ff207203-3f93-4645-a041-7b8f0f******'],
'ModerationResult' => [
'description' => 'The content moderation result.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The storage location of the OSS file. The address follows the format oss://${bucketname}/${objectname}, where bucketname is the name of an OSS bucket in the same region as the current project, and objectname is the file path.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'Suggestion' => ['description' => 'The recommended action. Valid values:'."\n"
."\n"
.'- pass: The image is normal. No further action is required.'."\n"
."\n"
.'- review: The moderation result is uncertain. Manual review is required.'."\n"
."\n"
.'- block: The image violates content policies. Further action is recommended, such as deleting or restricting the image.', 'type' => 'string', 'example' => 'block', 'title' => ''],
'Categories' => [
'description' => 'The list of categories.',
'type' => 'array',
'items' => ['description' => 'The category.', 'type' => 'string', 'example' => 'porn', 'title' => ''],
'title' => '',
'example' => '',
],
'Frames' => [
'description' => 'The frame information for video or animated image moderation.',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => 'The total number of frames that were moderated.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''],
'BlockFrames' => [
'description' => 'The frames that violate content policies.',
'type' => 'array',
'items' => [
'description' => 'The information about a frame that violates content policies.',
'type' => 'object',
'properties' => [
'Rate' => ['description' => 'The confidence level of the violation.', 'type' => 'number', 'format' => 'double', 'example' => '30', 'title' => ''],
'Offset' => ['description' => 'The offset of the frame.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
'Label' => ['description' => 'The label of the violation.', 'type' => 'string', 'example' => '{'."\n"
.' "test": "val"'."\n"
.'}', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E6A120B1-BEB3-0F63-A7C2-0783B6******\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"EventId\\": \\"1B6-1XBMX3BixLMILvXVGtlkr******\\",\\n \\"Status\\": \\"Succeeded\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource TaskId is not found.\\",\\n \\"StartTime\\": \\"2023-04-03T09:44:31.029Z\\",\\n \\"EndTime\\": \\"2023-04-03T09:44:32Z\\",\\n \\"UserData\\": \\"{\\\\n \\\\\\"fileId\\\\\\": \\\\\\"123\\\\\\"\\\\n}\\",\\n \\"TaskType\\": \\"ImageModeration\\",\\n \\"TaskId\\": \\"ImageModeration-ff207203-3f93-4645-a041-7b8f0f******\\",\\n \\"ModerationResult\\": {\\n \\"URI\\": \\"oss://test-bucket/test-object\\",\\n \\"Suggestion\\": \\"block\\",\\n \\"Categories\\": [\\n \\"porn\\"\\n ],\\n \\"Frames\\": {\\n \\"TotalCount\\": 30,\\n \\"BlockFrames\\": [\\n {\\n \\"Rate\\": 30,\\n \\"Offset\\": 2,\\n \\"Label\\": \\"{\\\\n \\\\\\"test\\\\\\": \\\\\\"val\\\\\\"\\\\n}\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => 'Retrieve an image content moderation task',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetImageModerationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'GetOSSBucketAttachment' => [
'summary' => 'Retrieves the project name of a project that is bound to a specified OSS bucket in the same region.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '135040',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'OSSBucket',
'in' => 'query',
'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'examplebucket', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
'ProjectName' => ['description' => 'The name of the bound project.', 'type' => 'string', 'example' => 'immtest', 'title' => ''],
'Description' => ['description' => 'The dataset description.', 'type' => 'string', 'example' => '"数据集"', 'title' => ''],
'CreateTime' => ['description' => 'The time when the dataset was created. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '""2023-12-19T17:29:34.790931971+08:00"', 'title' => ''],
'UpdateTime' => ['description' => 'The time when the dataset was last updated. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '"2023-12-19T17:29:34.790931971+08:00"', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"Description\\": \\"\\\\\\"数据集\\\\\\"\\",\\n \\"CreateTime\\": \\"\\\\\\"\\\\\\"2023-12-19T17:29:34.790931971+08:00\\\\\\"\\",\\n \\"UpdateTime\\": \\"\\\\\\"2023-12-19T17:29:34.790931971+08:00\\\\\\"\\"\\n}","type":"json"}]',
'title' => 'Get OSS bucket binding information',
'description' => '- **Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM) and its [pricing](~~477042~~).**'."\n"
.'- Before you call this operation, make sure that you have called the [AttachOSSBucket](~~478206~~) operation to bind a project to an OSS bucket.',
'changeSet' => [
['createdAt' => '2024-04-19T09:44:00.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-11-07T04:13:15.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-04-18T06:16:09.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOSSBucketAttachment'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetOSSBucketAttachment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetProject' => [
'summary' => 'Queries information about a specified project, including basic information and statistics information related to datasets and files.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '450',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'WithStatistics',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'Specifies whether to collect file statistics. Default value: false, which indicates that file statistics are not collected.'."\n"
."\n"
.'- File statistics are collected. The FileCount and TotalFileSize values in the returned Project struct are valid.'."\n"
."\n"
.'- File statistics are not collected. The FileCount and TotalFileSize values in the returned Project struct may be inaccurate or zero.'."\n"
."\n"
.'>Only files in datasets created before December 20, 2025 can be counted.> ', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '5A022F78-B9A8-4ACC-BB6B-B3597553'],
'Project' => ['description' => 'The project information.', '$ref' => '#/components/schemas/Project', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'Query project information',
'description' => 'Querying project information supports real-time retrieval of file statistics information. You can enable this feature through parameter settings. For details, see the request parameters section.'."\n"
.'>Only files in datasets created before December 20, 2025 can be counted.> ',
'changeSet' => [
['createdAt' => '2024-02-28T03:44:04.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2021-06-15T02:14:20.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A022F78-B9A8-4ACC-BB6B-B3597553\\",\\n \\"Project\\": {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"TemplateId\\": \\"Official:ImageManagement\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Description\\": \\"test project\\",\\n \\"ProjectQueriesPerSecond\\": 100,\\n \\"EngineConcurrency\\": 100,\\n \\"ProjectMaxDatasetCount\\": 1000000000,\\n \\"DatasetMaxBindCount\\": 10,\\n \\"DatasetMaxFileCount\\": 100000000,\\n \\"DatasetMaxEntityCount\\": 10000000000,\\n \\"DatasetMaxRelationCount\\": 100000000000,\\n \\"DatasetMaxTotalFileSize\\": 90000000000000000,\\n \\"DatasetCount\\": 5,\\n \\"FileCount\\": 10,\\n \\"TotalFileSize\\": 100000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'GetStory' => [
'summary' => 'Queries a story.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '102496',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the story.', 'type' => 'string', 'required' => true, 'example' => 'id1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1B3D5E0A-D8B8-4DA0-8127-ED32C851****'],
'Story' => ['description' => 'The information about the story.', '$ref' => '#/components/schemas/Story', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'GetStory',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
."\n"
.'- Before you call this operation, make sure that you have called the [CreateStory](~~478193~~) or [CreateCustomizedStory](~~478196~~) operation to create a story.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStory'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B3D5E0A-D8B8-4DA0-8127-ED32C851****\\",\\n \\"Story\\": {\\n \\"OwnerId\\": \\"102321002****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"ObjectId\\": \\"id1\\",\\n \\"ObjectType\\": \\"story\\",\\n \\"UpdateTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"CreateTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"StoryName\\": \\"name1\\",\\n \\"StoryType\\": \\"PeopleMemory\\",\\n \\"StorySubType\\": \\"ImportantPerson\\",\\n \\"StoryStartTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"StoryEndTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ],\\n \\"Cover\\": {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"CroppingSuggestions\\": [],\\n \\"OCRContents\\": []\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": []\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n },\\n \\"FigureClusterIds\\": [\\n \\"2cb3c51e-b406-4b0c-af1b-897d88e1****\\"\\n ],\\n \\"CustomId\\": \\"test\\",\\n \\"CustomLabels\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'GetTask' => [
'summary' => 'Queries the information about a specified asynchronous task. Intelligent Media Management (IMM) supports various asynchronous data processing capabilities, each with its own task creation operation, such as CreateFigureClusteringTask for creating figure clustering tasks and CreateFileCompressionTask for creating file compression tasks. This operation is a general-purpose operation that allows you to query the details of an asynchronous task by task ID and type.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '106466',
'abilityTreeNodes' => ['FEATUREimmTGV2Z7'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The type of the task. For valid values, see [Task type list](~~2743993~~).', 'type' => 'string', 'required' => true, 'example' => 'FileCompression'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The ID of the task that you want to query. This value is returned when you create the task.', 'type' => 'string', 'required' => true, 'example' => 'FileCompression-2f157087-91df-4fda-8c3e-232407ec*****'],
],
[
'name' => 'RequestDefinition',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to return the original request parameters used to create the task. Valid values:'."\n"
.'- true'."\n"
.'- false (default)'."\n"
."\n"
.'This parameter takes effect only for the following task types:'."\n"
."\n"
.'- MediaConvert'."\n"
.'- VideoLabelClassification'."\n"
.'- FaceClustering'."\n"
.'- FileCompression'."\n"
.'- ArchiveFileInspection'."\n"
.'- FileUncompression'."\n"
.'- PointCloudCompress'."\n"
.'- ImageToPDF'."\n"
.'- StoryCreation'."\n"
.'- LocationDateClustering'."\n"
.'- ImageSplicing'."\n"
.'- FacesSearching.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The details of the specified task.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2C5C1E0F-D8B8-4DA0-8127-EC32C771****'],
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'test-project'],
'EventId' => ['title' => '', 'description' => 'The event ID.', 'type' => 'string', 'example' => '2F6-1Bz99Xi93EnRpNEyLudILJm****'],
'Status' => ['title' => '', 'description' => 'The running status of the task. Valid values:'."\n"
."\n"
.'- Running: The task is running.'."\n"
."\n"
.'- Succeeded: The task is completed.'."\n"
."\n"
.'- Failed: The task failed.', 'type' => 'string', 'example' => 'Running'],
'Code' => ['title' => '', 'description' => 'The error code of the task.', 'type' => 'string', 'example' => 'ResourceNotFound'],
'Message' => ['title' => '', 'description' => 'The error message of the task.', 'type' => 'string', 'example' => 'The specified resource project is not found.'],
'StartTime' => ['title' => '', 'description' => 'The time when the task started. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2021-12-24T03:01:41.662060377Z'],
'EndTime' => ['title' => '', 'description' => 'The time when the task ended. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2021-12-24T03:01:49.480109219Z'],
'UserData' => ['title' => '', 'description' => 'The custom information specified by the user.', 'type' => 'string', 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}'],
'TaskType' => ['title' => '', 'description' => 'The type of the task. For valid values, see [Task type list](~~2743993~~).', 'type' => 'string', 'example' => 'FileCompression'],
'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'c2b277b9-0d30-4882-ad6d-ad661382****'],
'Tags' => ['description' => 'The task tags. These are the tags that the user passed in when creating the task.', 'type' => 'object', 'example' => '{"test": "val1"}', 'title' => ''],
'TaskRequestDefinition' => ['description' => 'The original request parameters used to create the task.', 'type' => 'string', 'example' => '{'."\n"
.' "ProjectName":"test-project",'."\n"
.' "CompressedFormat":"zip",'."\n"
.' "TargetURI":"oss://test-bucket/output/test.zip",'."\n"
.' "Sources":[{"URI":"oss://test-bucket/input/test.jpg"}]'."\n"
.'}', 'title' => ''],
'Progress' => ['description' => 'The task progress. Valid values: 0 to 100. Unit: percent (%).'."\n"
."\n"
.'> - The GetTask operation does not support this parameter.'."\n"
.'> - This parameter is meaningful only when the task status `State` is `Running`.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C5C1E0F-D8B8-4DA0-8127-EC32C771****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"EventId\\": \\"2F6-1Bz99Xi93EnRpNEyLudILJm****\\",\\n \\"Status\\": \\"Running\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource project is not found.\\",\\n \\"StartTime\\": \\"2021-12-24T03:01:41.662060377Z\\",\\n \\"EndTime\\": \\"2021-12-24T03:01:49.480109219Z\\",\\n \\"UserData\\": \\"{\\\\\\"ID\\\\\\": \\\\\\"user1\\\\\\",\\\\\\"Name\\\\\\": \\\\\\"test-user1\\\\\\",\\\\\\"Avatar\\\\\\": \\\\\\"http://example.com?id=user1\\\\\\"}\\",\\n \\"TaskType\\": \\"FileCompression\\",\\n \\"TaskId\\": \\"c2b277b9-0d30-4882-ad6d-ad661382****\\",\\n \\"Tags\\": {\\n \\"test\\": \\"val1\\"\\n },\\n \\"TaskRequestDefinition\\": \\"{\\\\n\\\\t\\\\\\"ProjectName\\\\\\":\\\\\\"test-project\\\\\\",\\\\n\\\\t\\\\\\"CompressedFormat\\\\\\":\\\\\\"zip\\\\\\",\\\\n\\\\t\\\\\\"TargetURI\\\\\\":\\\\\\"oss://test-bucket/output/test.zip\\\\\\",\\\\n\\\\t\\\\\\"Sources\\\\\\":[{\\\\\\"URI\\\\\\":\\\\\\"oss://test-bucket/input/test.jpg\\\\\\"}]\\\\n}\\",\\n \\"Progress\\": 100\\n}","type":"json"}]',
'title' => 'Retrieve task information',
'description' => '**Before you use this operation, make sure that you are familiar with the billing of Intelligent Media Management and its [pricing](~~477042~~).**.',
'changeSet' => [
['createdAt' => '2023-05-11T14:10:13.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2021-12-23T09:25:41.000Z', 'description' => 'OpenAPI offline'],
['createdAt' => '2021-12-23T09:25:41.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'GetTrigger' => [
'summary' => 'Queries the information about a trigger.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '135766',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['title' => 'A short description of struct', 'description' => 'The ID of the trigger. You can obtain the ID from the response parameters of the [CreateTrigger](~~479912~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'Trigger' => ['description' => 'The trigger information.'."\n", '$ref' => '#/components/schemas/DataIngestion', 'title' => '', 'example' => ''],
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '4A7A2D0E-D8B8-4DA0-8127-EB32C6******'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Trigger\\": {\\n \\"Id\\": \\"trigger-9f72636a-0f0c-4baf-ae78-38b27bfe****\\",\\n \\"Input\\": {\\n \\"OSS\\": {\\n \\"Bucket\\": \\"test-bucket\\",\\n \\"Prefix\\": \\"test-object\\",\\n \\"MatchExpressions\\": [\\n \\"key prefix (abc)\\"\\n ]\\n }\\n },\\n \\"Actions\\": [\\n {\\n \\"Name\\": \\"doc/convert\\",\\n \\"Parameters\\": [\\n \\"pages=3\\"\\n ],\\n \\"FastFailPolicy\\": {\\n \\"Action\\": \\"abort\\"\\n }\\n }\\n ],\\n \\"Notification\\": {\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"Topic\\": \\"topic1\\",\\n \\"MNS\\": {\\n \\"TopicName\\": \\"topic1\\",\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\"\\n },\\n \\"RocketMQ\\": {\\n \\"Endpoint\\": \\"http://11111111111.mqrest.cn-hangzhou.aliyuncs.com\\",\\n \\"TopicName\\": \\"topic1\\",\\n \\"InstanceId\\": \\"MQ_INST_11111111111_BYcNy2Nc\\"\\n }\\n },\\n \\"Statistic\\": {\\n \\"SubmitSuccess\\": 10,\\n \\"SubmitFailure\\": 1,\\n \\"SkipFiles\\": 0\\n },\\n \\"State\\": \\"Succeeded\\",\\n \\"Marker\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"UpdateTime\\": \\"2021-12-18T07:40:29Z\\",\\n \\"Tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Error\\": \\"api returns error: SDKError: StatusCode: 404 Code: ResourceNotFound\\",\\n \\"Phase\\": \\"IncrementalScanning\\",\\n \\"ServiceRole\\": \\"AliyunIMMBatchTriggerRole\\"\\n },\\n \\"RequestId\\": \\"4A7A2D0E-D8B8-4DA0-8127-EB32C6******\\"\\n}","type":"json"}]',
'title' => 'GetTrigger',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'GetVideoLabelClassificationResult' => [
'summary' => 'Retrieves the result of a video label detection task.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '157767',
'abilityTreeNodes' => ['FEATUREimmQZSDER'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [CreateProject](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'required' => true, 'example' => 'VideoLabelClassification'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task ID. For information about how to obtain the task ID, see the response parameters of [CreateVideoLabelClassificationTask](~~478223~~).', 'type' => 'string', 'required' => true, 'example' => 'VideoLabelClassification-2f157087-91df-4fda-8c3e-232407ec****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The video label detection result.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7F84C6D9-5AC0-49F9-914D-F02678E3****'],
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'immtest'],
'EventId' => ['title' => '', 'description' => 'The event ID.', 'type' => 'string', 'example' => '2F6-1Bz99Xi93EnRpNEyLudILJm****'],
'Status' => ['title' => '', 'description' => 'The task status.', 'type' => 'string', 'example' => 'Succeeded'],
'Code' => ['title' => '', 'description' => 'The task error code.', 'type' => 'string', 'example' => 'ResourceNotFound'],
'Message' => ['title' => '', 'description' => 'The task error message.', 'type' => 'string', 'example' => 'The specified resource project is not found.'],
'StartTime' => ['title' => '', 'description' => 'The time when the task started. The time is in the ISO 8601 UTC timestamp format with millisecond-level precision.', 'type' => 'string', 'example' => '2021-12-24T03:00:38.892462383Z'],
'EndTime' => ['title' => '', 'description' => 'The time when the task ended. The time is in the ISO 8601 UTC timestamp format with millisecond-level precision.', 'type' => 'string', 'example' => '2021-12-24T03:00:42.134971294Z'],
'UserData' => ['title' => '', 'description' => 'The user-defined information.', 'type' => 'string', 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}'],
'TaskType' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'example' => 'VideoLabelClassification'],
'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'VideoLabelClassification-2f157087-91df-4fda-8c3e-232407ec****'],
'Labels' => [
'title' => '',
'description' => 'The list of labels.',
'type' => 'array',
'items' => ['description' => 'The label information.', '$ref' => '#/components/schemas/Label', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F84C6D9-5AC0-49F9-914D-F02678E3****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"EventId\\": \\"2F6-1Bz99Xi93EnRpNEyLudILJm****\\",\\n \\"Status\\": \\"Succeeded\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource project is not found.\\",\\n \\"StartTime\\": \\"2021-12-24T03:00:38.892462383Z\\",\\n \\"EndTime\\": \\"2021-12-24T03:00:42.134971294Z\\",\\n \\"UserData\\": \\"{\\\\\\"ID\\\\\\": \\\\\\"user1\\\\\\",\\\\\\"Name\\\\\\": \\\\\\"test-user1\\\\\\",\\\\\\"Avatar\\\\\\": \\\\\\"http://example.com?id=user1\\\\\\"}\\",\\n \\"TaskType\\": \\"VideoLabelClassification\\",\\n \\"TaskId\\": \\"VideoLabelClassification-2f157087-91df-4fda-8c3e-232407ec****\\",\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Get video label detection task',
'description' => '- Before you call this operation, make sure that you have created a project ([Project](~~478273~~)) in Intelligent Media Management. For more information, see [CreateProject](~~478153~~).'."\n"
.'- Before you call this operation, make sure that you have created a [video label detection task](~~478223~~) and obtained the `TaskId` of the task.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetVideoLabelClassificationResult'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetVideoLabelClassificationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'GetVideoModerationResult' => [
'summary' => 'Retrieves a video content moderation task.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '173750',
'abilityTreeNodes' => ['FEATUREimmO3TV2W'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'TaskType',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'required' => true, 'example' => 'VideoModeration'],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475******'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The video moderation result.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475******'],
'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'test-project'],
'EventId' => ['title' => '', 'description' => 'The event ID.', 'type' => 'string', 'example' => '05C-1XBQvsG2Tn5kBx2dUWo43******'],
'Status' => ['title' => '', 'description' => 'The task status. Valid values:'."\n"
."\n"
.'- Running: The task is running.'."\n"
.'- Succeeded: The task succeeded.'."\n"
.'- Failed: The task failed.', 'type' => 'string', 'example' => 'Succeeded'],
'Code' => ['title' => '', 'description' => 'The task error code.', 'type' => 'string', 'example' => 'ResourceNotFound'],
'Message' => ['title' => '', 'description' => 'The task error message.', 'type' => 'string', 'example' => 'The specified resource TaskId is not found.'],
'StartTime' => ['title' => '', 'description' => 'The time when the task started. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2023-04-03T10:20:41.432Z'],
'EndTime' => ['title' => '', 'description' => 'The time when the task ended. The value is a UTC timestamp in ISO 8601 format with millisecond precision.', 'type' => 'string', 'example' => '2023-04-03T10:20:56.87Z'],
'UserData' => ['title' => '', 'description' => 'The custom user data.', 'type' => 'string', 'example' => '{'."\n"
.' "id": "test-id",'."\n"
.' "name": "test-name"'."\n"
.'}'],
'TaskType' => ['title' => '', 'description' => 'The task type.', 'type' => 'string', 'example' => 'VideoModeration'],
'TaskId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'VideoModeration-d0f0df1d-531d-4ab4-b353-e7f4750******'],
'ModerationResult' => [
'description' => 'The content moderation details.',
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The file URI. The storage address of the OSS file. The address follows the format `oss://${bucketname}/${objectname}`, where `bucketname` is the name of an OSS bucket in the same region as the current project, and `objectname` is the file path.', 'type' => 'string', 'example' => 'oss://test-bucket/test-object', 'title' => ''],
'Suggestion' => ['description' => 'The moderation result suggestion. Valid values:'."\n"
."\n"
.'- **block**: Violation detected.'."\n"
.'- **review**: Suspected violation.'."\n"
.'- **pass**: Passed.', 'type' => 'string', 'example' => 'block', 'title' => ''],
'Categories' => [
'description' => 'The category list.',
'type' => 'array',
'items' => ['description' => 'The category information.', 'type' => 'string', 'example' => 'porn', 'title' => ''],
'title' => '',
'example' => '',
],
'Frames' => [
'description' => 'The frame-related information for video and animated image moderation.',
'type' => 'object',
'properties' => [
'TotalCount' => ['description' => 'The total number of frames inspected.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
'BlockFrames' => [
'description' => 'The frames that contain violations.',
'type' => 'array',
'items' => [
'description' => 'The information about a frame that contains a violation.',
'type' => 'object',
'properties' => [
'Rate' => ['description' => 'The confidence score of the violation.', 'type' => 'number', 'format' => 'double', 'example' => '10', 'title' => ''],
'Offset' => ['description' => 'The offset of the frame.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'Label' => ['description' => 'The violation label.', 'type' => 'string', 'example' => '{"teat":"val"}', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"VideoModeration-d0f0df1d-531d-4ab4-b353-e7f475******\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"EventId\\": \\"05C-1XBQvsG2Tn5kBx2dUWo43******\\",\\n \\"Status\\": \\"Succeeded\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource TaskId is not found.\\",\\n \\"StartTime\\": \\"2023-04-03T10:20:41.432Z\\",\\n \\"EndTime\\": \\"2023-04-03T10:20:56.87Z\\",\\n \\"UserData\\": \\"{\\\\n \\\\\\"id\\\\\\": \\\\\\"test-id\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"test-name\\\\\\"\\\\n}\\",\\n \\"TaskType\\": \\"VideoModeration\\",\\n \\"TaskId\\": \\"VideoModeration-d0f0df1d-531d-4ab4-b353-e7f4750******\\",\\n \\"ModerationResult\\": {\\n \\"URI\\": \\"oss://test-bucket/test-object\\",\\n \\"Suggestion\\": \\"block\\",\\n \\"Categories\\": [\\n \\"porn\\"\\n ],\\n \\"Frames\\": {\\n \\"TotalCount\\": 12,\\n \\"BlockFrames\\": [\\n {\\n \\"Rate\\": 10,\\n \\"Offset\\": 1,\\n \\"Label\\": \\"{\\\\\\"teat\\\\\\":\\\\\\"val\\\\\\"}\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => 'Retrieve a video content moderation task',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetVideoModerationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'IndexFileMeta' => [
'summary' => 'Performs data processing on input files for tasks such as label detection, face detection, and location detection. This operation extracts object metadata and creates an index, which lets you retrieve data from a dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '32774',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. To get the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. To get the dataset name, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'File',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The file to be indexed, in JSON format. For more information, see the struct definition.', 'required' => true, '$ref' => '#/components/schemas/InputFile', 'title' => '', 'example' => ''],
],
[
'name' => 'UserData',
'in' => 'query',
'schema' => ['description' => 'Custom information that is returned in the asynchronous notification message. This helps you associate the notification with your services. The maximum length is 2048 bytes.', 'type' => 'string', 'required' => false, 'example' => '{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}', 'title' => ''],
],
[
'name' => 'Notification',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The message notification configuration. For more information, see Notification. For the format of the asynchronous notification message, see the Metadata Indexing section in [Asynchronous notification message formats](~~2743997~~).', '$ref' => '#/components/schemas/Notification', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
'EventId' => ['description' => 'The event ID.', 'type' => 'string', 'example' => '30F-1D8FxFzDXKJH9YQdve4CjR****', 'title' => ''],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'imm::2020-09-30::GetFileMeta', 'callbackInterval' => 10000, 'maxCallbackTimes' => 3],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\",\\n \\"EventId\\": \\"30F-1D8FxFzDXKJH9YQdve4CjR****\\"\\n}","type":"json"}]',
'title' => 'IndexFileMeta',
'description' => '- **Make sure you understand the billing methods and [pricing](~~477042~~) of Intelligent Media Management before you use this API.**'."\n"
."\n"
.'- For a list of supported data processing operations for indexing object metadata, see [Workflow templates and operators](~~466304~~).'."\n"
."\n"
.'- The total number and size of files that can be indexed are limited. For more information, see the Dataset limits section in [Limits](~~475569~~). For information about how to create a dataset, see the parameter descriptions.'."\n"
."\n"
.'- For a list of regions where you can index object metadata, see the \'Features supported by region, Datasets and indexes\' section in [Limits](~~475569~~).'."\n"
."\n"
.'- After you index object metadata, you can retrieve data using [Simple query](~~478175~~). For information about other retrieval features, see [Query and statistics](~~2402363~~). You can also create face groups using [Create a face clustering task](~~478180~~). For information about other clustering features, see [Intelligent management](~~2402365~~).'."\n"
."\n"
.'> * This is an asynchronous operation. After you submit a request, the file is processed. The processing time can range from several seconds to several minutes or longer, depending on the [workflow template and operators](~~466304~~) and file content. After the processing is complete, the metadata is stored in the dataset. You can use the [message subscription](~~603317~~) feature to receive a notification when the task is complete.',
'changeSet' => [
['createdAt' => '2024-04-15T08:38:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-04-23T08:07:38.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-03-27T09:02:44.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-09T10:57:42.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-08-16T06:44:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IndexFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:IndexFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'ListAttachedOSSBuckets' => [
'summary' => 'List bound attachments',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '185053',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '项目名称', 'description' => 'Project name, for more information on how to obtain it, see [Create Project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of tasks in the returned result list. The value range is (0, 200], with a default value of 100.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'Pagination token.'."\n"
."\n"
.'When the total number of files exceeds the set MaxResults, this token is used for pagination. It returns the list of file information in lexicographical order starting from NextToken.'."\n"
."\n"
.'> When calling this interface for the first time in a single query, set this value to empty.', 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '响应结构体',
'description' => 'Response structure.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9847E7D0-A9A3-0053-84C6-BA16FF******'],
'NextToken' => ['description' => 'Pagination token. When the total number of tasks in the list exceeds the set MaxResults, this token is used for pagination. This parameter has a value only when not all matching task lists are returned.'."\n"
."\n"
.'Use this value as NextToken in the next call to return the subsequent task list.', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==', 'title' => ''],
'AttachedOSSBuckets' => [
'description' => 'List of bound OSS Buckets.',
'type' => 'array',
'items' => [
'description' => 'Binding relationship information.',
'type' => 'object',
'properties' => [
'OwnerId' => ['description' => 'User ID.', 'type' => 'string', 'example' => '1023***********', 'title' => ''],
'ProjectName' => ['description' => 'Project name.', 'type' => 'string', 'example' => 'test-project', 'title' => ''],
'OSSBucket' => ['description' => 'OSS Bucket name.', 'type' => 'string', 'example' => 'test-bucket', 'title' => ''],
'CreateTime' => ['description' => 'Timestamp of the project creation time, formatted as RFC3339Nano.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00', 'title' => ''],
'UpdateTime' => ['description' => 'Timestamp of the project modification time, formatted as RFC3339Nano.', 'type' => 'string', 'example' => '2021-06-29T14:50:13.011643661+08:00', 'title' => ''],
'Description' => ['description' => 'Description', 'type' => 'string', 'example' => 'test bucket', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9847E7D0-A9A3-0053-84C6-BA16FF******\\",\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==\\",\\n \\"AttachedOSSBuckets\\": [\\n {\\n \\"OwnerId\\": \\"1023***********\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"OSSBucket\\": \\"test-bucket\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Description\\": \\"test bucket\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List OSS Bucket Binding Relationships',
'description' => '- **Please ensure that you fully understand the billing method and [pricing](~~88317~~) of the Intelligent Media Management product before using this interface.**'."\n"
.'- Ensure that you have called [Bind Object Storage Bucket](~~478206~~) to bind the OSS Bucket to the project.',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListAttachedOSSBuckets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'ListBatches' => [
'summary' => 'Queries batch processing tasks. You can query batch processing tasks based on conditions such task tags and status. The results can be sorted.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '131116',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'State',
'in' => 'query',
'schema' => ['description' => 'The task status.'."\n"
."\n"
.'* Ready: The task is newly created and ready.'."\n"
.'* Running: The task is running.'."\n"
.'* Failed: The task failed and cannot be automatically recovered.'."\n"
.'* Suspended: The task is suspended.'."\n"
.'* Succeeded: The task is successful.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Succeed', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['description' => 'The sort field. Valid values:'."\n"
."\n"
.'* CreateTime'."\n"
.'* UpdateTime'."\n", 'type' => 'string', 'required' => false, 'example' => '2020-11-11T06:51:17.5Z', 'title' => ''],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => 'The sort order. Valid values:'."\n"
."\n"
.'* ASC: sorts the results in ascending order. This is the default sort order.'."\n"
.'* DES: sorts the results in descending order.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''],
],
[
'name' => 'TagSelector',
'in' => 'query',
'schema' => ['description' => 'The custom tag. You can use this parameter to query tasks that have the specified tag.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test=val1', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token.'."\n"
."\n"
.'The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter. The next call to the operation returns results lexicographically after the NextToken parameter value.'."\n"
."\n"
.'You do not need to specify this parameter in your initial request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of results to return. Valid values: 0 to 100.'."\n"
."\n"
.'If you do not specify this parameter or set the parameter to 0, the default value of 100 is used.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'Batches' => [
'description' => 'The batch processing tasks.'."\n",
'type' => 'array',
'items' => ['description' => 'The information about the batch processing task.'."\n", '$ref' => '#/components/schemas/DataIngestion', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'The pagination token.'."\n"
."\n"
.'The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter. The next call to the operation returns results lexicographically after the NextToken parameter value.'."\n", 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****', 'title' => ''],
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B7860187****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Batches\\": [\\n {\\n \\"Id\\": \\"trigger-9f72636a-0f0c-4baf-ae78-38b27bfe****\\",\\n \\"Input\\": {\\n \\"OSS\\": {\\n \\"Bucket\\": \\"test-bucket\\",\\n \\"Prefix\\": \\"test-object\\",\\n \\"MatchExpressions\\": [\\n \\"key prefix (abc)\\"\\n ]\\n }\\n },\\n \\"Actions\\": [\\n {\\n \\"Name\\": \\"doc/convert\\",\\n \\"Parameters\\": [\\n \\"pages=3\\"\\n ],\\n \\"FastFailPolicy\\": {\\n \\"Action\\": \\"abort\\"\\n }\\n }\\n ],\\n \\"Notification\\": {\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"Topic\\": \\"topic1\\",\\n \\"MNS\\": {\\n \\"TopicName\\": \\"topic1\\",\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\"\\n },\\n \\"RocketMQ\\": {\\n \\"Endpoint\\": \\"http://11111111111.mqrest.cn-hangzhou.aliyuncs.com\\",\\n \\"TopicName\\": \\"topic1\\",\\n \\"InstanceId\\": \\"MQ_INST_11111111111_BYcNy2Nc\\"\\n }\\n },\\n \\"Statistic\\": {\\n \\"SubmitSuccess\\": 10,\\n \\"SubmitFailure\\": 1,\\n \\"SkipFiles\\": 0\\n },\\n \\"State\\": \\"Succeeded\\",\\n \\"Marker\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"UpdateTime\\": \\"2021-12-18T07:40:29Z\\",\\n \\"Tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Error\\": \\"api returns error: SDKError: StatusCode: 404 Code: ResourceNotFound\\",\\n \\"Phase\\": \\"IncrementalScanning\\",\\n \\"ServiceRole\\": \\"AliyunIMMBatchTriggerRole\\"\\n }\\n ],\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\",\\n \\"RequestId\\": \\"FEDC9B1F-30F2-4C1F-8ED2-B7860187****\\"\\n}","type":"json"}]',
'title' => 'ListBatches',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBatches'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListBatches',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'ListBindings' => [
'summary' => 'Query the list of bindings between datasets and Object Storage Service (OSS) buckets.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '10879',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [CreateProject](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The dataset name. For information about how to obtain the dataset name, see [CreateDataset](~~478160~~).', 'type' => 'string', 'required' => false, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => '- The maximum number of bindings to return. Valid values: 0 to 200.'."\n"
.'- If this parameter is not set or is set to 0, the default value 100 is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => '- The pagination token that is used when the total number of bindings exceeds the MaxResults value.'."\n"
.'- Binding information is returned in alphabetical order starting from the NextToken value.'."\n"
.'- Leave this parameter empty for the first request.', 'type' => 'string', 'required' => false, 'example' => 'immtest:dataset001:examplebucket01', 'title' => ''],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the binding task.', 'type' => 'string', 'example' => 'imm', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response structure.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'EFDFD356-C928-4A36-951A-6EB5A592****'],
'NextToken' => ['description' => '- The pagination token that is used when the total number of bindings exceeds the MaxResults value.'."\n"
.'- Use this value as the NextToken in the next request to return the remaining results.'."\n"
.'- This parameter has a value only when not all bindings are returned.', 'type' => 'string', 'example' => 'immtest:dataset001:examplebucket01', 'title' => ''],
'Bindings' => [
'description' => 'The list of binding information between datasets and OSS buckets.',
'type' => 'array',
'items' => ['description' => 'The information about the binding between a dataset and an OSS bucket.', '$ref' => '#/components/schemas/Binding', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFDFD356-C928-4A36-951A-6EB5A592****\\",\\n \\"NextToken\\": \\"immtest:dataset001:examplebucket01\\",\\n \\"Bindings\\": [\\n {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"URI\\": \\"oss://examplebucket\\",\\n \\"State\\": \\"Running\\",\\n \\"Phase\\": \\"FullScanning\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Reason\\": \\"pause usage\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query the list of bindings',
'description' => '**Before you use this operation, make sure that you are familiar with the billing method and [pricing](~~477042~~) of Intelligent Media Management (IMM).**',
'changeSet' => [
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBindings'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListBindings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'ListDatasets' => [
'summary' => 'Queries a list of datasets. You can query the list by dataset prefix.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of datasets to return. Valid values: 0 to 200.'."\n"
."\n"
.'If this parameter is left empty or set to 0, 100 datasets are returned.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The pagination token.'."\n"
."\n"
.'If the total number of datasets is greater than the value of MaxResults, you must specify this parameter. The list is returned in lexicographic order starting from the value of NextToken.'."\n"
."\n"
.'> The first time you call this operation in a query, set this parameter to null.'."\n", 'type' => 'string', 'required' => false, 'example' => '12345678:immtest:dataset002'],
],
[
'name' => 'Prefix',
'in' => 'query',
'schema' => ['description' => 'The dataset prefix.'."\n", 'type' => 'string', 'required' => false, 'example' => 'dataset', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The data structure returned.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FEEDE356-C928-4A36-951A-6EB5A592****'],
'NextToken' => ['description' => 'The pagination token. If the total number of datasets is greater than the value of MaxResults, you must specify this parameter. This parameter has a value only if not all the datasets that meet the conditions are returned.'."\n"
."\n"
.'Pass this value as the value of NextToken in the next call to query subsequent datasets.'."\n", 'type' => 'string', 'example' => '12345678:immtest:dataset002', 'title' => ''],
'Datasets' => [
'title' => '',
'description' => 'The datasets.'."\n",
'type' => 'array',
'items' => ['description' => 'The dataset details.'."\n"
."\n"
.'> '."\n"
."\n"
.'* The ListDatasets operation does not support file statistics, which may result in inaccuracies in the FileCount and TotalFileSize fields within the Dataset structure. For example, these fields can report a value of 0. To get accurate file statistics, call the [GetDataset](https://www.alibabacloud.com/help/zh/imm/developer-reference/api-imm-2020-09-30-getdataset) operation.'."\n", '$ref' => '#/components/schemas/Dataset', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
],
'title' => 'ListDatasets',
'changeSet' => [
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasets'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListDatasets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/*'],
],
],
],
],
],
'ListProjects' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '763',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'The maximum number of projects to return. Valid values: 0 to 200. If you do not set this parameter or set it to 0, the default value 100 is used.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The pagination token. Set this parameter to the NextToken value returned in the previous API call. Project information is returned in alphabetical order starting from the NextToken position. Leave this parameter empty for the first call.', 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDAx'],
],
[
'name' => 'Prefix',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The prefix used to list projects. The value can be 0 to 128 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'immtest'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The tag information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'maxItems' => 20,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '', 'description' => 'The credential for querying subsequent pages when the total number of expected projects exceeds the specified MaxResults value. This parameter has a value only when not all projects are returned.', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDAx'],
'Projects' => [
'title' => '',
'description' => 'The array of projects. Project information is returned.',
'type' => 'array',
'items' => ['description' => 'The project information.', '$ref' => '#/components/schemas/Project', 'title' => '', 'example' => ''],
'example' => '',
],
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4A7A2D0E-D8B8-4DA0-8127-EB32C660'],
],
'example' => '',
],
],
],
'title' => 'Query all project information',
'summary' => 'Queries information about all projects, including basic information and statistics information related to datasets and files.',
'description' => 'Paging is supported for viewing returned data. When performing a paged query for the first page, set only MaxResults to limit the number of returned entries. The NextToken value in the response serves as the credential for querying subsequent pages. When querying subsequent pages, set the NextToken parameter to the NextToken value obtained from the previous response as the query credential, and set MaxResults to limit the number of returned entries.',
'changeSet' => [
['createdAt' => '2024-05-23T03:29:16.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListProjects',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDAx\\",\\n \\"Projects\\": [\\n {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"TemplateId\\": \\"Official:ImageManagement\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Description\\": \\"test project\\",\\n \\"ProjectQueriesPerSecond\\": 100,\\n \\"EngineConcurrency\\": 100,\\n \\"ProjectMaxDatasetCount\\": 1000000000,\\n \\"DatasetMaxBindCount\\": 10,\\n \\"DatasetMaxFileCount\\": 100000000,\\n \\"DatasetMaxEntityCount\\": 10000000000,\\n \\"DatasetMaxRelationCount\\": 100000000000,\\n \\"DatasetMaxTotalFileSize\\": 90000000000000000,\\n \\"DatasetCount\\": 5,\\n \\"FileCount\\": 10,\\n \\"TotalFileSize\\": 100000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"4A7A2D0E-D8B8-4DA0-8127-EB32C660\\"\\n}","type":"json"}]',
],
'ListRegions' => [
'summary' => 'Get the list of regions',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'abilityTreeCode' => '143479',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
'schema' => [
'description' => 'Language type. The range of values is as follows:'."\n"
.'- zh-CN: Chinese'."\n"
.'- en-US: English'."\n"
.'- ja: Japanese',
'type' => 'string',
'required' => true,
'enumValueTitles' => [],
'example' => 'zh-CN',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '响应结构体',
'description' => 'Response structure',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'RequestId', 'description' => 'Request ID for the interface.', 'type' => 'string', 'example' => '7F7D235C-76FF-4B65-800C-8238AE3F****'],
'Regions' => [
'description' => 'List of Regions.',
'type' => 'array',
'items' => [
'description' => 'Region structure information.',
'enumValueTitles' => [],
'$ref' => '#/components/schemas/RegionType',
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7F7D235C-76FF-4B65-800C-8238AE3F****\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"LocalName\\": \\"华北2(北京)\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List of Regions Supporting IMM Service',
'changeSet' => [
['createdAt' => '2024-04-19T03:54:11.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2022-07-07T06:43:05.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'],
],
],
'ramActions' => [],
],
'ListTasks' => [
'summary' => 'Lists tasks based on specific conditions, such as by time range and by tag.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '106467',
'abilityTreeNodes' => ['FEATUREimmTGV2Z7'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'TaskTypes',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The task types.'."\n",
'type' => 'array',
'items' => ['description' => 'The task type. For more information, see [Task types](~~2743993~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '["OfficeConversion","VideoLabelClassification"]', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['title' => 'NextToken', 'description' => 'The pagination token.'."\n"
."\n"
.'The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter. The next call to the operation returns results lexicographically after the NextToken parameter value.'."\n"
."\n"
.'> Leave this parameter empty in your first call to the operation.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['title' => 'MaxResults', 'description' => 'The maximum number of results to return. Valid value range: (0, 100]. Default value: 100.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'TagSelector',
'in' => 'query',
'schema' => ['description' => 'The custom tags of tasks.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test=val1', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['description' => 'The field used to sort the results by. Valid values:'."\n"
."\n"
.'* TaskId: sorts the results by task ID. This is the default sort field.'."\n"
.'* StartTime: sorts the results by task start time.'."\n"
.'* StartTime: sorts the results by task end time.'."\n", 'type' => 'string', 'required' => false, 'example' => 'TaskId', 'title' => ''],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => [
'description' => 'The sort order. Valid values:'."\n"
."\n"
.'* asc: in ascending order. This is the default value.'."\n"
.'* desc: in descending order.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['asc' => '', 'desc' => ''],
'example' => 'asc',
'title' => '',
],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => [
'description' => 'The task status. Valid values:'."\n"
."\n"
.'* Running: The task is running.'."\n"
.'* Succeeded: The task is successful.'."\n"
.'* Failed: The task failed.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['Succeeded' => '', 'Failed' => '', 'Running' => ''],
'example' => 'Succeeded',
'title' => '',
],
],
[
'name' => 'StartTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The task start time range. You can specify this parameter to filter tasks that start within the specified range.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'EndTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The task end time range. You can specify this parameter to filter tasks that end within the specified range.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'RequestDefinition',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to return request parameters in the initial request to create the task. Default value: False.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The matched tasks.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '9847E7D0-A9A3-0053-84C6-BA16FFFA726E'],
'ProjectName' => ['title' => '', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'example' => 'immtest'],
'NextToken' => ['title' => '', 'description' => 'The pagination token. The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter. This parameter has a value only when not all results are returned.'."\n"
."\n"
.'You can specify the value of the NextToken parameter in the next request to list remaining results.'."\n", 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
'MaxResults' => ['title' => '', 'description' => 'The length of the returned result list.'."\n", 'type' => 'string', 'example' => '1'],
'Tasks' => [
'title' => '',
'description' => 'The tasks.'."\n",
'type' => 'array',
'items' => ['description' => 'The details of the task.'."\n", '$ref' => '#/components/schemas/TaskInfo', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9847E7D0-A9A3-0053-84C6-BA16FFFA726E\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==\\",\\n \\"MaxResults\\": \\"1\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"Running\\",\\n \\"Code\\": \\"ResourceNotFound\\",\\n \\"Message\\": \\"The specified resource project is not found.\\",\\n \\"StartTime\\": \\"2021-12-24T03:01:41.662060377Z\\",\\n \\"EndTime\\": \\"2021-12-24T03:01:49.480109219Z\\",\\n \\"UserData\\": \\"{\\\\\\"ID\\\\\\": \\\\\\"user1\\\\\\",\\\\\\"Name\\\\\\": \\\\\\"test-user1\\\\\\",\\\\\\"Avatar\\\\\\": \\\\\\"http://example.com?id=user1\\\\\\"}\\",\\n \\"TaskType\\": \\"VideoLabelClassification\\",\\n \\"TaskId\\": \\"c2b277b9-0d30-4882-ad6d-ad661382****\\",\\n \\"Tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"TaskRequestDefinition\\": \\"{\\\\n\\\\t\\\\\\"ProjectName\\\\\\":\\\\\\"test-project\\\\\\",\\\\n\\\\t\\\\\\"CompressedFormat\\\\\\":\\\\\\"zip\\\\\\",\\\\n\\\\t\\\\\\"TargetURI\\\\\\":\\\\\\"oss://test-bucket/output/test.zip\\\\\\",\\\\n\\\\t\\\\\\"Sources\\\\\\":[{\\\\\\"URI\\\\\\":\\\\\\"oss://test-bucket/input/test.jpg\\\\\\"}]\\\\n}\\",\\n \\"Progress\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'ListTasks',
'description' => 'Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).'."\n",
'changeSet' => [
['createdAt' => '2023-05-11T14:10:13.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-12-23T09:25:41.000Z', 'description' => 'OpenAPI offline'],
['createdAt' => '2021-12-23T09:25:41.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'ListTriggers' => [
'summary' => 'Queries triggers by tag or status.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '135763',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'State',
'in' => 'query',
'schema' => ['description' => 'The status of the trigger. Valid values:'."\n"
."\n"
.'* Ready: The trigger is ready.'."\n"
.'* Running: The trigger is running.'."\n"
.'* Failed: The trigger failed and cannot be automatically recovered.'."\n"
.'* Suspended: The trigger is suspended.'."\n"
.'* Succeeded: The trigger is complete.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Succeeded', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['description' => 'The sort field. Valid values:'."\n"
."\n"
.'* CreateTime: the point in time when the trigger is created.'."\n"
.'* UpdateTime: the most recent point in time when the trigger is updated.'."\n", 'type' => 'string', 'required' => false, 'example' => '2020-11-11T06:51:17.5Z'."\n", 'title' => ''],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => 'The sort order. Default value: DESC.'."\n"
."\n"
.'* ASC (default): ascending order.'."\n"
.'* DESC: descending order.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ASC', 'title' => ''],
],
[
'name' => 'TagSelector',
'in' => 'query',
'schema' => ['description' => 'The custom tag. You can specify this parameter only if you specified Tags when you called the CreateTrigger operation.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test=val1', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n"
."\n"
.'If the total number of triggers is greater than the value of MaxResults, you must specify NextToken.'."\n"
."\n"
.'You do not need to specify this parameter for the first request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries to return. Valid values: 0 to 100.'."\n"
."\n"
.'Default value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'Triggers' => [
'description' => 'The triggers.'."\n",
'type' => 'array',
'items' => ['description' => 'The trigger.'."\n", '$ref' => '#/components/schemas/DataIngestion', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n"
."\n"
.'If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==', 'title' => ''],
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'F480BFAF-E778-5079-93AD-1E4631******', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Triggers\\": [\\n {\\n \\"Id\\": \\"trigger-9f72636a-0f0c-4baf-ae78-38b27bfe****\\",\\n \\"Input\\": {\\n \\"OSS\\": {\\n \\"Bucket\\": \\"test-bucket\\",\\n \\"Prefix\\": \\"test-object\\",\\n \\"MatchExpressions\\": [\\n \\"key prefix (abc)\\"\\n ]\\n }\\n },\\n \\"Actions\\": [\\n {\\n \\"Name\\": \\"doc/convert\\",\\n \\"Parameters\\": [\\n \\"pages=3\\"\\n ],\\n \\"FastFailPolicy\\": {\\n \\"Action\\": \\"abort\\"\\n }\\n }\\n ],\\n \\"Notification\\": {\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\",\\n \\"Topic\\": \\"topic1\\",\\n \\"MNS\\": {\\n \\"TopicName\\": \\"topic1\\",\\n \\"Endpoint\\": \\"http://1111111111.mns.cn-hangzhou.aliyuncs.com\\"\\n },\\n \\"RocketMQ\\": {\\n \\"Endpoint\\": \\"http://11111111111.mqrest.cn-hangzhou.aliyuncs.com\\",\\n \\"TopicName\\": \\"topic1\\",\\n \\"InstanceId\\": \\"MQ_INST_11111111111_BYcNy2Nc\\"\\n }\\n },\\n \\"Statistic\\": {\\n \\"SubmitSuccess\\": 10,\\n \\"SubmitFailure\\": 1,\\n \\"SkipFiles\\": 0\\n },\\n \\"State\\": \\"Succeeded\\",\\n \\"Marker\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****\\",\\n \\"CreateTime\\": \\"2020-11-10T03:50:28Z\\",\\n \\"UpdateTime\\": \\"2021-12-18T07:40:29Z\\",\\n \\"Tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Error\\": \\"api returns error: SDKError: StatusCode: 404 Code: ResourceNotFound\\",\\n \\"Phase\\": \\"IncrementalScanning\\",\\n \\"ServiceRole\\": \\"AliyunIMMBatchTriggerRole\\"\\n }\\n ],\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==\\",\\n \\"RequestId\\": \\"F480BFAF-E778-5079-93AD-1E4631******\\"\\n}","type":"json"}]',
'title' => 'ListTriggers',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTriggers'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListTriggers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'QueryFigureClusters' => [
'summary' => 'Queries face groups based on given conditions.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '117066',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => [
'description' => 'The sort field. If you leave this parameter empty, the group ID is used as the sort field.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- ImageCount: the number of images.'."\n"
."\n"
.'- VideoCount: the number of videos.'."\n"
."\n"
.'- ProjectName: the name of the project.'."\n"
."\n"
.'- DatasetName: the name of the dataset.'."\n"
."\n"
.'- CreateTime: the point in time when the group is created.'."\n"
."\n"
.'- UpdateTime: the most recent point in time when the group is updated.'."\n"
."\n"
.'- Gender: the gender.'."\n"
."\n"
.'- FaceCount: the number of faces.'."\n"
."\n"
.'- GroupName: the name of the group.',
'enumValueTitles' => ['ImageCount' => '', 'VideoCount' => '', 'ProjectName' => '', 'DatasetName' => '', 'CreateTime' => '', 'UpdateTime' => '', 'Gender' => '', 'FaceCount' => '', 'Name' => ''],
'type' => 'string',
'example' => 'ImageCount',
'title' => '',
'required' => false,
],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => [
'description' => 'The sort order. Default value: asc.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'- asc: ascending order.'."\n"
."\n"
.'- desc: descending order.',
'enumValueTitles' => ['asc' => '', 'desc' => ''],
'type' => 'string',
'example' => 'asc',
'title' => '',
'required' => false,
],
],
[
'name' => 'CustomLabels',
'in' => 'query',
'schema' => ['description' => 'The custom labels, which can be used as query conditions.', 'type' => 'string', 'required' => false, 'example' => 'key=value', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries to return. Valid values: 0 to 100. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.', 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KCkltYWdlQ291bnQQARgBIr0ECgkABAAAAAAAAAAKrwQDKgIAADFTMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjMzMjNhNjY2OTY3NzU3MjY1MmQ2MzZjNzU3Mzc0NjU3MjNhNDM2Yzc1NzM3NDY1NzIyZDYxNjUzOTY0MzQzMzMxNjEyZDM3MzQ2NTY2MmQzNDM5Mzc2MjJkMzg2MjMxMzUyZDM0MzUzOTM1MzYzNzYxMzQ2NDM2MzE2Ni5TMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjM*****', 'title' => ''],
],
[
'name' => 'CreateTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range within which the face group was created.', '$ref' => '#/components/schemas/TimeRange', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'UpdateTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range within which the face group was last updated.', '$ref' => '#/components/schemas/TimeRange', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'WithTotalCount',
'in' => 'query',
'schema' => [
'description' => 'Specifies whether to return the total number of face groups that match the current query conditions. Default value: false.',
'enumValueTitles' => [],
'type' => 'boolean',
'required' => false,
'example' => 'false',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFF****'],
'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'CAESEgoQCg4KCkltYWdlQ291bnQQARgBIr0ECgkABAAAAAAAAAAKrwQDKgIAADFTMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjMzMjNhNjY2OTY3NzU3MjY1MmQ2MzZjNzU3Mzc0NjU3MjNhNDM2Yzc1NzM3NDY1NzIyZDYxNjUzOTY0MzQzMzMxNjEyZDM3MzQ2NTY2MmQzNDM5Mzc2MjJkMzg2MjMxMzUyZDM0MzUzOTM1MzYzNzYxMzQ2NDM2MzE2Ni5TMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjM*****', 'title' => ''],
'FigureClusters' => [
'description' => 'The face groups.',
'type' => 'array',
'items' => ['description' => 'The face group details.', '$ref' => '#/components/schemas/FigureCluster', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'TotalCount' => ['description' => 'The total number of face groups that matches the current query conditions.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'QueryFigureClusters',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that a face clustering task is created to group all faces in a dataset. For information about how to create a face clustering task, see [CreateFigureClusteringTask](~~CreateFigureClusteringTask~~). For information about how to create a dataset, see [CreateDataset](~~CreateDataset~~).',
'changeSet' => [
['createdAt' => '2023-04-27T10:07:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-10-28T03:52:46.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryFigureClusters'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryFigureClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFF****\\",\\n \\"NextToken\\": \\"CAESEgoQCg4KCkltYWdlQ291bnQQARgBIr0ECgkABAAAAAAAAAAKrwQDKgIAADFTMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjMzMjNhNjY2OTY3NzU3MjY1MmQ2MzZjNzU3Mzc0NjU3MjNhNDM2Yzc1NzM3NDY1NzIyZDYxNjUzOTY0MzQzMzMxNjEyZDM3MzQ2NTY2MmQzNDM5Mzc2MjJkMzg2MjMxMzUyZDM0MzUzOTM1MzYzNzYxMzQ2NDM2MzE2Ni5TMzEzMDMyMzMzMjMxMzAzMDMyMzQzNjM3MzczOTMzMzQzYTY5NmQ2ZDJkNjk2ZDYxNjc2NTJkNzQ2NTczNzQyZDY4N2E2NDY1NzYyZDMyMzUzMjM0MzIzOTMzMzczMTJkMzY1NDZhNzk3MzU2Njk3MjM0M2E2OTZkNmQyZDc0NjU3Mzc0MmQ3MzY1NzQyZDYzMzYzNjY0MzY2NjYxMzQyZDM1MzMzODM3MmQzMTMxNjU2NjJkNjI2NTM5MzYyZDM5MzgzMDMzMzk2MjMwMzE2NDYzNjM*****\\",\\n \\"FigureClusters\\": [\\n {\\n \\"OwnerId\\": \\"102321002****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"ObjectType\\": \\"figure-cluster\\",\\n \\"ObjectId\\": \\"Cluster-ae6e3472-999e-410b-b54e-cd5dba****\\",\\n \\"UpdateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"CreateTime\\": \\"2022-01-14T10:10:52.83948013+08:00\\",\\n \\"Name\\": \\"abc\\",\\n \\"Gender\\": \\"female\\",\\n \\"FaceCount\\": 3,\\n \\"ImageCount\\": 5,\\n \\"VideoCount\\": 3,\\n \\"AverageAge\\": 26,\\n \\"MinAge\\": 12,\\n \\"MaxAge\\": 44,\\n \\"Cover\\": {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n },\\n \\"CustomId\\": \\"abc\\",\\n \\"CustomLabels\\": {\\n \\"Bucket\\": \\"examplebucket\\"\\n },\\n \\"MetaLockVersion\\": 0\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]',
],
'QueryLocationDateClusters' => [
'summary' => 'Queries a list of spatiotemporal clusters based on the specified conditions.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '157769',
'abilityTreeNodes' => ['FEATUREimmPECUUL'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For information about how to create a dataset, see [CreateDataset](~~478160~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the cluster that you want to query. Specify this parameter if you want to query a specific spatiotemporal cluster. Otherwise, leave this parameter empty to query spatiotemporal clusters that meet the specified conditions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'location-date-cluster-71dd4f32-9597-4085-a2ab-3a7b0fd0aff9', 'title' => ''],
],
[
'name' => 'Title',
'in' => 'query',
'schema' => ['description' => 'The characters that are included in the titles of spatiotemporal clusters to be queried. Matches are found by using fuzzy matching.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Hangzhou', 'title' => ''],
],
[
'name' => 'Address',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The address information.'."\n", 'required' => false, '$ref' => '#/components/schemas/Address', 'title' => '', 'example' => ''],
],
[
'name' => 'LocationDateClusterLevels',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The container for the administrative division level of the spatiotemporal clusters to be queried.'."\n",
'type' => 'array',
'items' => [
'description' => 'The administrative division level.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'* country'."\n"
.'* province'."\n"
.'* district'."\n"
.'* city'."\n"
.'* township'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['country' => '', ' province' => '', ' district' => '', ' city' => '', 'township' => ''],
'example' => 'province',
'title' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'LocationDateClusterStartTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range during which the earliest photo in a cluster was taken.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'LocationDateClusterEndTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range during which the latest photo in a cluster was taken.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'CreateTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range during which the spatiotemporal clusters were generated.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'UpdateTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range during which the spatiotemporal clusters were updated.'."\n", 'required' => false, '$ref' => '#/components/schemas/TimeRange', 'title' => '', 'example' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MzQNjmY2MzYxNhNjk2ZNjEu****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Valid values: \\[1,100]. Default value: 20.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'CustomLabels',
'in' => 'query',
'schema' => ['description' => 'The custom labels.'."\n", 'type' => 'string', 'required' => false, 'example' => 'key=value', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => [
'description' => 'The field that you use to sort the query results.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'* LocationDateClusterEndTime: by the time at which the latest photo in a cluster was taken.'."\n"
.'* CreateTime: by the creation time of a spatiotemporal cluster.'."\n"
.'* UpdateTime: by the update time of a spatiotemporal cluster.'."\n"
.'* LocationDateClusterStartTime: by the time at which the earliest photo in a cluster was taken. This is the default value.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['LocationDateClusterEndTime' => '', 'CreateTime' => '', 'UpdateTime' => '', 'LocationDateClusterStartTime' => ''],
'example' => 'LocationDateClusterStartTime',
'title' => '',
],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => [
'description' => 'The order that you use to sort the query results.'."\n"
."\n"
.'Valid values:'."\n"
."\n"
.'* asc: ascending order. This is the default value.'."\n"
.'* desc: descending order.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['asc' => '', 'desc' => ''],
'example' => 'asc',
'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '7055FCF7-4D7B-098E-BD4D-DD2932B0****'],
'LocationDateClusters' => [
'description' => 'The list of spatiotemporal clusters.'."\n",
'type' => 'array',
'items' => ['description' => 'The spatiotemporal cluster information.'."\n", '$ref' => '#/components/schemas/LocationDateCluster', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results.'."\n", 'type' => 'string', 'example' => 'MzQNjmY2MzYxNhNjk2ZNjEu****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7055FCF7-4D7B-098E-BD4D-DD2932B0****\\",\\n \\"LocationDateClusters\\": [\\n {\\n \\"Title\\": \\"杭州一日游\\",\\n \\"LocationDateClusterLevel\\": \\"province\\",\\n \\"LocationDateClusterStartTime\\": \\"2022-05-01T00:00:00+08:00\\",\\n \\"LocationDateClusterEndTime\\": \\"2022-05-02T23:59:59.999999999+08:00\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"ObjectId\\": \\"location-date-cluster-14f48cb3-079d-4595-80c4-5735284b****\\",\\n \\"UpdateTime\\": \\"2022-11-16T13:15:05.65746784+08:00\\",\\n \\"CreateTime\\": \\"2022-11-16T13:14:34.882523669+08:00\\",\\n \\"CustomId\\": \\"user-01\\",\\n \\"CustomLabels\\": {\\n \\"User\\": \\"Jane\\"\\n }\\n }\\n ],\\n \\"NextToken\\": \\"MzQNjmY2MzYxNhNjk2ZNjEu****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'QueryLocationDateClusters',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of IMM.****'."\n"
.'* Before you call this operation, make sure that you have called the [CreateLocationDateClusteringTask](~~478188~~) operation to create spatiotemporal clusters in the project.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLocationDateClusters'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryLocationDateClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'QuerySimilarImageClusters' => [
'summary' => 'You can call this operation to query the list of similar image clusters.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '161811',
'abilityTreeNodes' => ['FEATUREimm8BY6HG'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. For more information, see [CreateProject](~~478153~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. For more information, see [Create a dataset](~~478160~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token.'."\n"
."\n"
.'If the total number of clusters is greater than the value of MaxResults, you must specify this parameter. The next call to the operation returns results lexicographically after the NextToken parameter value.'."\n"
."\n"
.'> The first time you call this operation in a query, set this parameter to null.'."\n", 'type' => 'string', 'required' => false, 'example' => 'CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The number of entries per page. Value range: 0 to 100. Default value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
],
[
'name' => 'CustomLabels',
'in' => 'query',
'schema' => ['description' => 'The custom tags, which are used to filter tasks.'."\n", 'type' => 'string', 'required' => false, 'example' => '{"key": "val"}', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => [
'description' => 'The sorting field.'."\n"
."\n"
.'* CreateTime: the time when the clusters were created.'."\n"
.'* UpdateTime: the time when the clusters were updated. This is the default value.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => [],
'example' => 'UpdateTime',
'title' => '',
],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => 'The sorting order. Valid values:'."\n"
."\n"
.'* asc: ascending order.'."\n"
.'* desc: descending order. This is the default value.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asc', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'CA995EFD-083D-4F40-BE8A-BDF75FFF****'."\n"],
'SimilarImageClusters' => [
'description' => 'The list of similar image clusters.'."\n",
'type' => 'array',
'items' => ['description' => 'The information about similar image clusters.'."\n", '$ref' => '#/components/schemas/SimilarImageCluster', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'The pagination token. If the total number of clusters is greater than the value of MaxResults, this token can be used to retrieve the next page. This parameter has a value only if not all the clusters that meet the condition are returned.'."\n"
."\n"
.'Pass this value as the value of NextToken in the next query to return the subsequent clusters.'."\n", 'type' => 'string', 'example' => 'CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA995EFD-083D-4F40-BE8A-BDF75FFF****\\\\n\\",\\n \\"SimilarImageClusters\\": [\\n {\\n \\"ObjectId\\": \\"SimilarImageCluster-748a041e-4ebc-4487-9e74-9c89b1****\\",\\n \\"UpdateTime\\": \\"2023-02-08T09:42:34.354969088+08:00\\",\\n \\"CreateTime\\": \\"2023-02-08T09:42:34.354969088+08:00\\",\\n \\"CustomLabels\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Files\\": [\\n {\\n \\"URI\\": \\"oss://test-bucket/test-object\\",\\n \\"ImageScore\\": 0.709\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****\\"\\n}","type":"json"}]',
'title' => 'QuerySimilarImageClusters',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, you must call the [CreateSimilarImageClusteringTask](~~611302~~) operation to cluster similar images in the dataset.'."\n",
'changeSet' => [
['createdAt' => '2024-04-19T09:44:01.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySimilarImageClusters'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QuerySimilarImageClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'QueryStories' => [
'summary' => 'Queries stories based on the specified conditions.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '102513',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)', 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the story.', 'type' => 'string', 'required' => false, 'example' => 'id1', 'title' => ''],
],
[
'name' => 'StoryName',
'in' => 'query',
'schema' => ['description' => 'The name of the story.', 'type' => 'string', 'required' => false, 'example' => 'name1', 'title' => ''],
],
[
'name' => 'StoryType',
'in' => 'query',
'schema' => ['description' => 'The type of the story. For a list of valid values, see [Story types and subtypes](~~2743998~~).', 'type' => 'string', 'required' => false, 'example' => 'TimeMemory', 'title' => ''],
],
[
'name' => 'StorySubType',
'in' => 'query',
'schema' => ['description' => 'The subtype of the story. For a list of valid values, see [Story types and subtypes](~~2743998~~).', 'type' => 'string', 'required' => false, 'example' => 'SeasonHighlights', 'title' => ''],
],
[
'name' => 'FigureClusterIds',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The IDs of the face clusters.',
'type' => 'array',
'items' => ['description' => 'The ID of the face cluster.', 'type' => 'string', 'required' => false, 'example' => 'Cluster-773d9c7e-3fd4-480c-a24b-30a82****', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'CreateTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range in which stories were created.', '$ref' => '#/components/schemas/TimeRange', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'StoryStartTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range for the creation time of the first photo or video in the story.', '$ref' => '#/components/schemas/TimeRange', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'StoryEndTimeRange',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The time range for the creation time of the last photo or video in the story.', '$ref' => '#/components/schemas/TimeRange', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'NextToken',
'in' => 'query',
'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. If you do not specify this token in the next request, results are returned from the beginning.', 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpw****', 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 100. Default value: 100.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'CustomLabels',
'in' => 'query',
'schema' => ['description' => 'The custom labels in key-value pairs.', 'type' => 'string', 'required' => false, 'example' => 'key=value', 'title' => ''],
],
[
'name' => 'WithEmptyStories',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to return empty stories. Valid values:'."\n"
."\n"
.'- true (The default value)'."\n"
."\n"
.'- false', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['description' => 'The sort field. Valid values:'."\n"
."\n"
.'- CreateTime: sorts by story creation time.'."\n"
."\n"
.'- StoryName: sorts by story name.'."\n"
."\n"
.'- StoryStartTime: sorts by story start time.'."\n"
."\n"
.'- StoryEndTime: sorts by story end time.', 'type' => 'string', 'required' => false, 'example' => 'CreateTime', 'title' => ''],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['description' => 'The sort order. Valid values:'."\n"
."\n"
.'- asc: in ascending order.'."\n"
."\n"
.'- desc: in descending order.', 'type' => 'string', 'required' => false, 'example' => 'asc', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2C5C1E0F-D8B8-4DA0-8127-EC32C771****'],
'Stories' => [
'description' => 'The stories.',
'type' => 'array',
'items' => ['description' => 'The information about the story.', '$ref' => '#/components/schemas/Story', 'title' => '', 'example' => ''],
'title' => '',
'example' => '',
],
'NextToken' => ['description' => 'The pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.', 'type' => 'string', 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3Qx****', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'QueryStories',
'description' => '- Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).\\*\\*\\*\\*'."\n"
."\n"
.'- Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
."\n"
.'- Before you call this operation, make sure that you have called the [CreateStory](~~478193~~) or [CreateCustomizedStory](~~478196~~) operation to create a story.',
'changeSet' => [
['createdAt' => '2022-02-24T06:44:23.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryStories'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryStories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C5C1E0F-D8B8-4DA0-8127-EC32C771****\\",\\n \\"Stories\\": [\\n {\\n \\"OwnerId\\": \\"102321002****\\",\\n \\"ProjectName\\": \\"immtest\\",\\n \\"DatasetName\\": \\"dataset001\\",\\n \\"ObjectId\\": \\"id1\\",\\n \\"ObjectType\\": \\"story\\",\\n \\"UpdateTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"CreateTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"StoryName\\": \\"name1\\",\\n \\"StoryType\\": \\"PeopleMemory\\",\\n \\"StorySubType\\": \\"ImportantPerson\\",\\n \\"StoryStartTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"StoryEndTime\\": \\"2022-01-14T10:17:18.102700407+08:00\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ],\\n \\"Cover\\": {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"CroppingSuggestions\\": [],\\n \\"OCRContents\\": []\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": []\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n },\\n \\"FigureClusterIds\\": [\\n \\"2cb3c51e-b406-4b0c-af1b-897d88e1****\\"\\n ],\\n \\"CustomId\\": \\"test\\",\\n \\"CustomLabels\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3Qx****\\"\\n}","type":"json"}]',
],
'RefreshWebofficeToken' => [
'summary' => 'Refreshes a Weboffice access token. A Weboffice access token is valid for 30 minutes. After it expires, you can no longer access Weboffice. To continue accessing Weboffice, call this operation to refresh the Weboffice access token and obtain a new token that is also valid for 30 minutes.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'abilityTreeCode' => '39679',
'abilityTreeNodes' => ['FEATUREimm4TQO1Z'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'AccessToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The Weboffice access token. You can obtain the token by calling the [GenerateWebofficeToken](~~478226~~) or [RefreshWebofficeToken](~~478227~~) operation.', 'type' => 'string', 'required' => true, 'example' => '99d1b8b478b641c1b3372f5bd6********'],
],
[
'name' => 'RefreshToken',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The Weboffice refresh token. You can obtain the token by calling the [GenerateWebofficeToken](~~478226~~) or [RefreshWebofficeToken](~~478227~~) operation.', 'type' => 'string', 'required' => true, 'example' => 'a730ae0d7c6a487d87c661d199********'],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**Leave this parameter empty unless you have special requirements.**'."\n"
."\n"
.'The China authorization configuration. This parameter is optional. For more information, see [Use chained authorization to access resources of other entities](~~465340~~).', '$ref' => '#/components/schemas/CredentialConfig', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The Weboffice access token.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '501339F9-4B70-0CE2-AB8C-866C********'],
'RefreshToken' => ['title' => '', 'description' => 'The Weboffice refresh token.', 'type' => 'string', 'example' => '72a52ab3702a4123ab5594671a********'],
'AccessToken' => ['title' => '', 'description' => 'The Weboffice access token.', 'type' => 'string', 'example' => '4996466c690a4902846ce00f96********'],
'RefreshTokenExpiredTime' => ['title' => '', 'description' => 'The expiration time of the refresh token. The refresh token expires in 1 day. Format: ISO 8601 UTC timestamp with millisecond precision.', 'type' => 'string', 'example' => '2021-09-01T12:37:28.950065359Z'],
'AccessTokenExpiredTime' => ['title' => '', 'description' => 'The expiration time of the access token. The access token expires in 30 minutes. Format: ISO 8601 UTC timestamp with millisecond precision.', 'type' => 'string', 'example' => '2021-08-31T13:07:28.950065359Z'],
],
'example' => '',
],
],
500 => [],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"501339F9-4B70-0CE2-AB8C-866C********\\",\\n \\"RefreshToken\\": \\"72a52ab3702a4123ab5594671a********\\",\\n \\"AccessToken\\": \\"4996466c690a4902846ce00f96********\\",\\n \\"RefreshTokenExpiredTime\\": \\"2021-09-01T12:37:28.950065359Z\\",\\n \\"AccessTokenExpiredTime\\": \\"2021-08-31T13:07:28.950065359Z\\"\\n}","type":"json"}]',
'title' => 'Refresh a weboffice token',
'description' => '**Make sure that you are familiar with the billing method and [pricing](~~477042~~) of Intelligent Media Management (IMM) before you invoke this operation.**'."\n"
.'- For billing details, refer to [WebOffice billing](~~2639703~~).'."\n"
.'- The access token expires in 30 minutes. Open the preview before the access token expires. After the token expires, previewing is no longer available.'."\n"
.'- The refresh token expires in 1 day. Invoke the refresh operation before the refresh token expires. After the token expires, it becomes invalid.'."\n"
.'- The returned expiration time is in UTC, which is 8 hours behind UTC+8.'."\n"
.'> The access token is used for actual preview session access. The refresh token simplifies the parameter settings required for refreshing tokens. You can use the refresh token to directly obtain a new token with the previously configured settings.'."\n"
.'>',
'changeSet' => [
['createdAt' => '2024-04-19T09:43:55.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-08-30T08:32:40.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshWebofficeToken'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:RefreshWebofficeToken',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
],
'RemoveStoryFiles' => [
'summary' => 'Deletes files from a story.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '142653',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['title' => 'A short description of struct', 'description' => 'The name of the project.'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest'],
],
[
'name' => 'DatasetName',
'in' => 'formData',
'schema' => ['description' => 'The name of the dataset.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testdataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the story.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testid', 'title' => ''],
],
[
'name' => 'Files',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The files that you want to delete.'."\n",
'type' => 'array',
'items' => [
'description' => 'The file that you want to delete.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the Object Storage Service (OSS) bucket where you store the files that you want to delete.'."\n"
."\n"
.'Specify the value in the oss://${Bucket}/${Object} format. `${Bucket}` specifies the name of the OSS bucket that resides in the same region as the current project. `${Object}` specifies the complete path to the files that have an extension.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'RemoveStoryFiles',
'changeSet' => [
['createdAt' => '2022-07-07T07:23:26.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveStoryFiles'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:RemoveStoryFiles',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'ResumeBatch' => [
'summary' => 'Resumes a batch processing task that is in the Suspended or Failed state.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '131172',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the batch processing task. You can obtain the ID of the batch processing task from the response of the [CreateBatch](~~606694~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D2C628B8-35DF-473C-8A41-757F30******'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2C628B8-35DF-473C-8A41-757F30******\\"\\n}","type":"json"}]',
'title' => 'ResumeBatch',
'description' => 'You can resume a batch processing task only when the task is in the Suspended or Failed state. A batch processing task continues to provide services after you resume the task.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeBatch'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:ResumeBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'ResumeTrigger' => [
'summary' => 'Resumes a trigger that is in the Suspended or Failed state.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '135767',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the trigger. You can obtain the ID from the response of the [CreateTrigger](~~479912~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'FEDC9B1F-30F2-4C1F-8ED2-B7860187****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEDC9B1F-30F2-4C1F-8ED2-B7860187****\\"\\n}","type":"json"}]',
'title' => 'ResumeTrigger',
'description' => 'You can resume only a trigger that is in the Suspended or Failed state. After you resume a trigger, the trigger continues to provide services as expected.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:ResumeTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'SearchImageFigureCluster' => [
'summary' => 'Queries face clusters that contain a specific face in an image. Each face cluster contains information such as bounding boxes and similarity.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'chargeType' => 'free',
'abilityTreeCode' => '160046',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => 'The OSS URI of the image.'."\n"
."\n"
.'Specify the OSS URI in the `oss://${Bucket}/${Object}` format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
[
'name' => 'CredentialConfig',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => '**If you have no special requirements, leave this parameter empty.**'."\n"
."\n"
.'The authorization chain settings. For more information, see [Use authorization chains to access resources of other entities](~~465340~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/CredentialConfig', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'C2734912-E6D5-052C-AC67-6A9FD02*****'],
'Clusters' => [
'description' => 'The face clusters.'."\n",
'type' => 'array',
'items' => [
'description' => 'The face cluster details.'."\n",
'type' => 'object',
'properties' => [
'Boundary' => ['description' => 'The bounding box of the face.'."\n", '$ref' => '#/components/schemas/Boundary', 'title' => '', 'example' => ''],
'ClusterId' => ['description' => 'The ID of the face cluster that contains faces similar to the face within the bounding box.'."\n", 'type' => 'string', 'example' => 'Cluster-ca730577-06b1-42c7-a25b-8f2c7******', 'title' => ''],
'Similarity' => ['description' => 'The similarity between the face within the bounding box and the face cluster. Valid value: 0 to 1.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '0.87413794', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C2734912-E6D5-052C-AC67-6A9FD02*****\\",\\n \\"Clusters\\": [\\n {\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"ClusterId\\": \\"Cluster-ca730577-06b1-42c7-a25b-8f2c7******\\",\\n \\"Similarity\\": 0.87413794\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'SearchImageFigureCluster',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~88317~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have created a face clustering task by calling the [CreateFigureClusteringTask](~~478180~~) operation to cluster all faces in the dataset.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageFigureCluster'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SearchImageFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'SemanticQuery' => [
'summary' => 'Queries metadata in a dataset by inputting natural language.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '103885',
'abilityTreeNodes' => ['FEATUREimmDN11M0'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'This parameter is no longer available.', 'type' => 'string', 'example' => 'Reserved. Not supported yet.', 'required' => false, 'title' => ''],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'The maximum number of entries to return. Valid values: 1 to 1000.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'],
],
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'test-dataset'],
],
[
'name' => 'Query',
'in' => 'query',
'schema' => ['description' => 'The content of the query that you input.', 'type' => 'string', 'example' => 'Scenery of Hangzhou in April 2021', 'required' => false, 'title' => ''],
],
[
'name' => 'WithFields',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => '> Either this parameter or the SourceURI parameter must be specified.'."\n"
."\n"
.'The content of the query that you input.',
'type' => 'array',
'items' => ['description' => 'The field that you want to include in the response. Including only necessary metadata fields can help reduce the size of the response.'."\n"
."\n"
.'If you do not specify this parameter or set the value to null, all existing metadata fields are returned.', 'type' => 'string', 'required' => false, 'example' => '["URI", "Filename"]', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'MediaTypes',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The types of the media that you want to query. Default value:'."\n"
."\n"
.'\\["image"]',
'type' => 'array',
'items' => ['description' => 'The type of the medium that you want to query. Set the value to'."\n"
."\n"
.'image.', 'type' => 'string', 'required' => false, 'example' => '["image"]', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'SourceURI',
'in' => 'query',
'schema' => ['description' => '> Either this parameter or the Query parameter must be specified. This parameter is valid only for image searches on datasets configured with a search-by-image workflow.'."\n"
."\n"
.'URI of the source data for retrieval.'."\n"
.'The URI must be in the oss\\://${Bucket}/${Object} format. ${Bucket} specifies the name of the OSS bucket that is in the same region as the current project. ${Object} specifies the full path of the file that contains the file name extension.'."\n"
."\n"
.'Contact us if you need to configure a workflow template.', 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '2C5C1E0F-D8B8-4DA0-8127-EC32C771****'],
'Files' => [
'title' => '',
'description' => 'The files.',
'type' => 'array',
'items' => ['description' => 'The file information.', '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'example' => '',
],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2C5C1E0F-D8B8-4DA0-8127-EC32C771****\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"座椅\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ]\\n}","type":"json"}]',
'title' => 'SemanticQuery',
'description' => '### 注意事项'."\n"
."\n"
.'- **请确保在使用该接口前,已充分了解智能媒体管理产品的收费方式和[价格](~~477042~~)**。该接口每次请求,会产生语义理解费用和查询费用两种计费项各一次。'."\n"
."\n"
.'- 调用该接口前,请确保您已通过绑定方式( [CreateBinding](~~478202~~) )或者主动索引( [IndexFileMeta](~~478166~~) 或者 [BatchIndexFileMeta](~~478167~~) )方式将文件索引到数据集(Dataset)中。'."\n"
."\n"
.'- 返回结果仅为示例,根据[工作流模板配置](~~466304~~)不同,获取到的文件元数据信息的类别和包含的内容均有可能与示例不同。如果有疑问,请加入钉钉群进行反馈,钉钉群号请参见[联系我们](~~84454~~)。'."\n"
."\n"
.'### 使用限制'."\n"
."\n"
.'- 每次查询最多返回 100 个文件信息。'."\n"
."\n"
.'- 不支持翻页查询。'."\n"
."\n"
.'- 自然语言理解不保证完全准确。'."\n"
."\n"
.'- 该功能在美国(硅谷),美国(弗吉尼亚)地域下不支持。'."\n"
."\n"
.'### 使用方式'."\n"
."\n"
.'使用自然语言关键词对数据集内的文件进行搜索查询。目前支持理解的关键信息包括标签(Labels.LabelName)、时间(ProduceTime)和地点(Address.AddressLine)等。例如,以`2023 年杭州的风景`为条件进行查询,会被智能拆分为如下三个条件,并查找出同时满足这些条件的文件:'."\n"
."\n"
.'- ProduceTime:2023 年 1 月 1 日零点起到 2023 年 12 月 31 日结束止'."\n"
."\n"
.'- Address.AddressLine:包含`杭州`关键词'."\n"
."\n"
.'- Labels.LabelName:包含`风景`标签'."\n"
."\n"
.'配合[工作流模板配置](~~466304~~),当模板中包含`ImageEmbeddingExtraction`算子时,该搜索请求会提供基于图片内容的搜索,即您输入的`Query`内容会同时被理解为图片内包含的内容,从而实现对图片的智能检索。',
'changeSet' => [
['createdAt' => '2025-09-20T12:43:01.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2024-09-05T08:43:16.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2024-09-04T03:24:59.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-11-20T06:58:49.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2023-09-04T06:34:40.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-12-13T05:33:41.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-12-23T09:22:48.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SemanticQuery'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SemanticQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'translator' => 'manual',
],
'SimpleQuery' => [
'summary' => 'Queries files in a dataset by performing a simple query operation. The operation supports logical expressions.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '4489',
'abilityTreeNodes' => ['FEATUREimmDN11M0'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => 'The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter.'."\n"
."\n"
.'The next call to the operation returns results lexicographically after the NextToken parameter value.'."\n"
."\n"
.'You do not need to specify this parameter in your initial request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
],
[
'name' => 'MaxResults',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['title' => '', 'description' => '* If the Aggregations parameter is not specified, this parameter specifies the maximum number of files that can be returned. Valid values: 1 to 100.'."\n"
.'* If the Aggregations parameter is specified, this parameter specifies the maximum number of aggregation groups that can be returned. Valid values: 0 to 2000.'."\n"
.'* If you do not specify this parameter or set the parameter to 0, the default value of 100 is used.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset'],
],
[
'name' => 'Query',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The query conditions.'."\n", 'required' => false, '$ref' => '#/components/schemas/SimpleQuery', 'title' => '', 'example' => ''],
],
[
'name' => 'Sort',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The sort fields. For more information, see [Supported fields and operators](~~2743991~~).'."\n"
."\n"
.'> '."\n"
."\n"
.'* If you specify multiple sort fields, separate them with commas (,), as in Size,Filename.'."\n"
."\n"
.'* You can specify up to five sort fields.'."\n"
."\n"
.'* The order of the sort fields determines their precedence in the sorting process.', 'type' => 'string', 'required' => false, 'example' => 'Size,Filename'],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The sort order. Valid values:'."\n"
."\n"
.'* asc: sorts the results in ascending order.'."\n"
.'* desc: sorts the results in descending order. This is the default value.'."\n"
."\n"
.'* You can specify multiple sort orders that are separated by commas. Example: asc,desc.'."\n"
."\n"
.'* The number of elements in the Order parameter must be less than or equal to the number of elements in the Sort parameter. For example, if the value of the Sort parameter is Size,Filename, you can set the Order parameter to desc,asc.'."\n"
."\n"
.'* If the number of sort orders is less than the number of sort fields, the sort fields for which no sorting orders are explicitly specified use the asc order by default. For example, if you set Sort to Size,Filename and Order to asc, the Filename field defaults to the value of asc.', 'type' => 'string', 'required' => false, 'example' => 'asc,desc'],
],
[
'name' => 'Aggregations',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The aggregations.'."\n"
."\n"
.'> If you perform an aggregate query, the aggregation returned in the response contains only statistical results, not the actual metadata.'."\n",
'type' => 'array',
'items' => [
'description' => 'The structure of the aggregation.'."\n",
'type' => 'object',
'properties' => [
'Field' => ['title' => '', 'description' => 'The name of the field. For more information about supported fields, see [Supported fields and operators](~~2743991~~).', 'type' => 'string', 'required' => false, 'example' => 'Size'],
'Operation' => [
'title' => '',
'description' => 'The operator.'."\n"
."\n"
.'Enumerated values:'."\n"
."\n"
.'* average: calculates the average number.'."\n"
.'* min: finds the minimum value.'."\n"
.'* max: finds the maximum value.'."\n"
.'* count: counts the number of results.'."\n"
.'* distinct: counts the number of distinct results.'."\n"
.'* sum: calculates the sum of all matching results..'."\n"
.'* group: counts the number of results by group. The results are sorted by the count number in descending order.'."\n",
'type' => 'string',
'required' => false,
'enumValueTitles' => ['average' => '', 'min' => '', 'max' => '', 'count' => '', 'distinct' => '', 'sum' => '', 'group' => ''],
'example' => 'sum',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'example' => '',
],
],
[
'name' => 'WithFields',
'in' => 'query',
'style' => 'json',
'schema' => [
'title' => '',
'description' => 'The fields that you want to include in the response. You can use this parameter to reduce the size of the response.'."\n"
."\n"
.'If you do not specify this parameter or leave this parameter empty, the operation returns all metadata fields.'."\n",
'type' => 'array',
'items' => ['description' => 'The name of the field. Fields in the [File](~~478261~~) structure are supported.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Filename', 'title' => ''],
'required' => false,
'example' => '',
],
],
[
'name' => 'WithoutTotalHits',
'in' => 'query',
'allowEmptyValue' => true,
'schema' => ['description' => 'Specifies whether to return the total number of hits. Valid values:'."\n"
."\n"
.'* true'."\n"
.'* false'."\n", 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The data structure returned.'."\n",
'type' => 'object',
'properties' => [
'NextToken' => ['title' => '', 'description' => 'The pagination token is used in the next request to retrieve a new page of results if the total number of results exceeds the value of the MaxResults parameter.'."\n"
."\n"
.'It can be used in the next request to retrieve a new page of results.'."\n"
."\n"
.'If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw=='],
'RequestId' => ['title' => '', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '2C5C1E0F-D8B8-4DA0-8127-EC32C771****'],
'Files' => [
'title' => '',
'description' => 'The files. This parameter is returned only when the value of the Aggregations request parameter is empty.'."\n",
'type' => 'array',
'items' => ['description' => 'The data structure for file information.'."\n", '$ref' => '#/components/schemas/File', 'title' => '', 'example' => ''],
'example' => '',
],
'Aggregations' => [
'title' => '',
'description' => 'The aggregations. This parameter is returned only when the value of the Aggregations request parameter is not empty.'."\n",
'type' => 'array',
'items' => [
'description' => 'The structure of the aggregation.'."\n",
'type' => 'object',
'properties' => [
'Field' => ['title' => '', 'description' => 'The name of the field.'."\n", 'type' => 'string', 'example' => 'Size'],
'Operation' => ['title' => '', 'description' => 'The operator.'."\n", 'type' => 'string', 'example' => 'sum'],
'Value' => ['description' => 'The statistical result.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '200', 'title' => ''],
'Groups' => [
'title' => '',
'description' => 'The grouped aggregations. This parameter is returned only when the group operator is specified in the Aggregations request parameter.'."\n",
'type' => 'array',
'items' => [
'description' => 'The grouped aggregation.'."\n",
'type' => 'object',
'properties' => [
'Value' => ['title' => '', 'description' => 'The value for the grouped aggregation.'."\n", 'type' => 'string', 'example' => '100'],
'Count' => ['title' => '', 'description' => 'The number of results in the grouped aggregation.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'title' => '',
'example' => '',
],
'example' => '',
],
'TotalHits' => ['description' => 'The number of total hits.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'example' => '',
],
],
],
'title' => 'SimpleQuery',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have indexed file metadata into the dataset automatically by calling the [CreateBinding](~~478202~~) operation or manually by calling the [IndexFileMeta](~~478166~~) or [BatchIndexFileMeta](~~478167~~) operation.'."\n"
.'* The sample response is provided for reference only. The metadata type and content in your response may differ based on factors such as the [workflow template configurations](~~466304~~). For any inquiries, join the DingTalk chat group (ID: 31690030817) and share your questions with us.'."\n"
."\n"
.'**Limits**'."\n"
."\n"
.'* Each query returns information about up to 100 files.'."\n"
.'* Each query returns up to 2,000 aggregations.'."\n"
.'* A subquery supports up to 100 conditions.'."\n"
.'* A subquery can have a maximum nesting depth of 5 levels.'."\n"
."\n"
.'**Example query conditions**'."\n"
."\n"
.'* Retrieve JPEG images larger than 1,000 pixels:'."\n"
."\n"
.''."\n"
."\n"
.' {'."\n"
.' "SubQueries":['."\n"
.' {'."\n"
.' "Field":"ContentType",'."\n"
.' "Value": "image/jpeg",'."\n"
.' "Operation":"eq"'."\n"
.' }, '."\n"
.' {'."\n"
.' "Field":"ImageWidth",'."\n"
.' "Value":"1000",'."\n"
.' "Operation":"gt"'."\n"
.' }'."\n"
.' ],'."\n"
.' "Operation":"and"'."\n"
.' }'."\n"
."\n"
.'* Search `oss://examplebucket/path/` for objects that have the `TV` or `Stereo` label and are larger than 10 MB in size:'."\n"
."\n"
.'> This query requires matching files to have the `TV` or `Stereo` label. The two labels are specified as separate objects in the `Labels` fields.'."\n"
."\n"
.'```'."\n"
.'{'."\n"
.' "SubQueries": ['."\n"
.' {'."\n"
.' "Field": "URI",'."\n"
.' "Value": "oss://examplebucket/path/",'."\n"
.' "Operation": "prefix"'."\n"
.' },'."\n"
.' {'."\n"
.' "Field": "Size",'."\n"
.' "Value": "1048576",'."\n"
.' "Operation": "gt"'."\n"
.' },'."\n"
.' {'."\n"
.' "SubQueries": ['."\n"
.' {'."\n"
.' "Field": "Labels.LabelName",'."\n"
.' "Value": "TV",'."\n"
.' "Operation": "eq"'."\n"
.' },'."\n"
.' {'."\n"
.' "Field": "Labels.LabelName",'."\n"
.' "Value": "Stereo",'."\n"
.' "Operation": "eq"'."\n"
.' }'."\n"
.' ],'."\n"
.' "Operation": "or"'."\n"
.' }'."\n"
.' ],'."\n"
.' "Operation": "and"'."\n"
.'}'."\n"
.' '."\n"
.'```'."\n"
."\n"
.'* Exclude images that contain a face of a male over the age of 36:'."\n"
."\n"
.'> In this example query, an image will be excluded from the query results if it contains a face of a male over the age of 36. This query is different from excluding an image that contains a male face or a face of a person over the age of 36. In this query, you need to use the `nested` operator to specify that the conditions are met on the same element.'."\n"
."\n"
.' {'."\n"
.' "Operation": "not",'."\n"
.' "SubQueries": [{'."\n"
.' "Operation": "nested",'."\n"
.' "SubQueries": [{'."\n"
.' "Operation": "and",'."\n"
.' "SubQueries": [{'."\n"
.' "Field": "Figures.Age",'."\n"
.' "Operation": "gt",'."\n"
.' "Value": "36"'."\n"
.' }, {'."\n"
.' "Field": "Figures.Gender",'."\n"
.' "Operation": "eq",'."\n"
.' "Value": "male"'."\n"
.' }]'."\n"
.' }]'."\n"
.' }]'."\n"
.' }'."\n"
."\n"
.'* Query JPEG images that have both custom labels and system labels:'."\n"
."\n"
.''."\n"
."\n"
.' {'."\n"
.' "SubQueries":['."\n"
.' {'."\n"
.' "Field":"ContentType",'."\n"
.' "Value": "image/jpeg",'."\n"
.' "Operation":"eq"'."\n"
.' }, '."\n"
.' {'."\n"
.' "Field":"CustomLabels.test",'."\n"
.' "Operation":"exist"'."\n"
.' }, '."\n"
.' {'."\n"
.' "Field":"Labels.LabelName",'."\n"
.' "Operation":"exist"'."\n"
.' }'."\n"
.' ],'."\n"
.' "Operation":"and"'."\n"
.' }'."\n"
."\n"
.'You can also perform aggregate operations to collect and analyze different data based on the specified conditions. For example, you can calculate the sum, count, average value, or maximum value of all files that meet the query conditions. You can also calculate the size distribution of images that meet the query conditions.',
'changeSet' => [
['createdAt' => '2023-11-22T06:30:59.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-09-04T06:34:39.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-01-25T02:53:46.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-01-25T02:53:46.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-01-25T02:53:46.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-06-15T02:14:20.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SimpleQuery'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SimpleQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==\\",\\n \\"RequestId\\": \\"2C5C1E0F-D8B8-4DA0-8127-EC32C771****\\",\\n \\"Files\\": [\\n {\\n \\"OwnerId\\": \\"102321002467****\\",\\n \\"ProjectName\\": \\"test-project\\",\\n \\"DatasetName\\": \\"test-dataset\\",\\n \\"ObjectType\\": \\"file\\",\\n \\"ObjectId\\": \\"75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"URI\\": \\"oss://test-bucket/test-object.jpg\\",\\n \\"OSSURI\\": \\"oss://examplebucket/sampleobject.jpg\\",\\n \\"Filename\\": \\"sampleobject.jpg\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ContentType\\": \\"image/jpeg\\",\\n \\"Size\\": 1000,\\n \\"FileHash\\": \\"1d9c280a7c4f67f7ef873e28449dbe17\\",\\n \\"FileModifiedTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileCreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"FileAccessTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"ProduceTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"LatLong\\": \\"30.134390,120.074997\\",\\n \\"Timezone\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Addresses\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"AddressLine\\": \\"中国浙江省杭州市余杭区文一西路969号\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江省\\",\\n \\"City\\": \\"杭州市\\",\\n \\"District\\": \\"余杭区\\",\\n \\"Township\\": \\"文一西路\\"\\n }\\n ],\\n \\"TravelClusterId\\": \\"-\\",\\n \\"Orientation\\": 0,\\n \\"Figures\\": [\\n {\\n \\"FigureId\\": \\"868a9e74-cde5-4c7a-9013-28bb984****\\",\\n \\"FigureConfidence\\": 1,\\n \\"FigureClusterId\\": \\"Cluster-dbe72fec-b84c-4ab6-885b-3678e64****\\",\\n \\"FigureClusterConfidence\\": 1,\\n \\"FigureType\\": \\"face\\",\\n \\"Age\\": 29,\\n \\"AgeSD\\": 5,\\n \\"Gender\\": \\"female\\",\\n \\"GenderConfidence\\": 1,\\n \\"Emotion\\": \\"happiness\\",\\n \\"EmotionConfidence\\": 0.70784568786621,\\n \\"FaceQuality\\": 0.960875928401947,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n },\\n \\"Mouth\\": \\"close\\",\\n \\"MouthConfidence\\": 1,\\n \\"Beard\\": \\"none\\",\\n \\"BeardConfidence\\": 1,\\n \\"Hat\\": \\"none\\",\\n \\"HatConfidence\\": 1,\\n \\"Mask\\": \\"none\\",\\n \\"MaskConfidence\\": 1,\\n \\"Glasses\\": \\"none\\",\\n \\"GlassesConfidence\\": 0.8,\\n \\"Sharpness\\": 0.7,\\n \\"Attractive\\": 0.96,\\n \\"HeadPose\\": {\\n \\"Pitch\\": 18.385589599609375,\\n \\"Roll\\": 4.204030513763428,\\n \\"Yaw\\": 2.4945924282073975\\n }\\n }\\n ],\\n \\"FigureCount\\": 10,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"test\\",\\n \\"ImageWidth\\": 270,\\n \\"ImageHeight\\": 500,\\n \\"EXIF\\": \\"{\\\\\\"Compression\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"6\\\\\\"},\\\\\\"DateTime\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"2020:08:19 17:11:11\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877,\\n \\"Boundary\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 300,\\n \\"Left\\": 10,\\n \\"Top\\": 30,\\n \\"Polygon\\": [\\n {\\n \\"X\\": 10,\\n \\"Y\\": 10\\n }\\n ]\\n }\\n }\\n ],\\n \\"VideoWidth\\": 1080,\\n \\"VideoHeight\\": 1920,\\n \\"VideoStreams\\": [\\n {\\n \\"Index\\": 0,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1373627/83160000\\",\\n \\"CodecTagString\\": \\"avc1\\",\\n \\"CodecTag\\": \\"0x31637661\\",\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"HasBFrames\\": 2,\\n \\"SampleAspectRatio\\": \\"1:1\\",\\n \\"DisplayAspectRatio\\": \\"16:9\\",\\n \\"PixelFormat\\": \\"yuv420p\\",\\n \\"Level\\": 40,\\n \\"FrameRate\\": \\"25/1\\",\\n \\"AverageFrameRate\\": \\"25/1\\",\\n \\"TimeBase\\": \\"1/12800\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 22.88,\\n \\"Bitrate\\": 5407765,\\n \\"FrameCount\\": 572,\\n \\"Rotate\\": \\"90\\",\\n \\"BitDepth\\": 8,\\n \\"ColorSpace\\": \\"bt709\\",\\n \\"ColorRange\\": \\"tv\\",\\n \\"ColorTransfer\\": \\"bt709\\",\\n \\"ColorPrimaries\\": \\"bt709\\"\\n }\\n ],\\n \\"Subtitles\\": [\\n {\\n \\"Index\\": 2,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"mov_text\\",\\n \\"CodecLongName\\": \\"MOV text\\",\\n \\"CodecTagString\\": \\"tx3g\\",\\n \\"CodecTag\\": \\"0x67337874\\",\\n \\"StartTime\\": 0,\\n \\"Duration\\": 71.378,\\n \\"Bitrate\\": 74,\\n \\"Content\\": \\"欢迎\\",\\n \\"Width\\": 600,\\n \\"Height\\": 30\\n }\\n ],\\n \\"AudioStreams\\": [\\n {\\n \\"Index\\": 1,\\n \\"Language\\": \\"en\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"TimeBase\\": \\"1/48000\\",\\n \\"StartTime\\": 0.0235,\\n \\"Duration\\": 3.690667,\\n \\"Bitrate\\": 320087,\\n \\"FrameCount\\": 173,\\n \\"Lyric\\": \\"test\\",\\n \\"SampleFormat\\": \\"fltp\\",\\n \\"SampleRate\\": 48000,\\n \\"Channels\\": 2,\\n \\"ChannelLayout\\": \\"stereo\\"\\n }\\n ],\\n \\"Artist\\": \\"Jane\\",\\n \\"AlbumArtist\\": \\"Jane\\",\\n \\"AudioCovers\\": [\\n {\\n \\"ImageWidth\\": 500,\\n \\"ImageHeight\\": 820,\\n \\"EXIF\\": \\"{\\\\\\"FileSize\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"29304\\\\\\"},\\\\\\"Format\\\\\\":{\\\\\\"value\\\\\\":\\\\\\"jpg\\\\\\"}}\\",\\n \\"ImageScore\\": {\\n \\"OverallQualityScore\\": 0.736\\n },\\n \\"CroppingSuggestions\\": [\\n {\\n \\"AspectRatio\\": \\"2:3\\",\\n \\"Confidence\\": 0.742\\n }\\n ],\\n \\"OCRContents\\": [\\n {\\n \\"Language\\": \\"zh-hans\\",\\n \\"Contents\\": \\"欢迎使用智能媒体管理\\",\\n \\"Confidence\\": 0.8254936695098877\\n }\\n ]\\n }\\n ],\\n \\"Composer\\": \\"Jane\\",\\n \\"Performer\\": \\"Jane\\",\\n \\"Language\\": \\"eng\\",\\n \\"Album\\": \\"FirstAlbum\\",\\n \\"PageCount\\": 5,\\n \\"ETag\\": \\"\\\\\\"1D9C280A7C4F67F7EF873E28449****\\\\\\"\\",\\n \\"CacheControl\\": \\"no-cache\\",\\n \\"ContentDisposition\\": \\"attachment; filename =test.jpg\\",\\n \\"ContentEncoding\\": \\"UTF-8\\",\\n \\"ContentLanguage\\": \\"zh-CN\\",\\n \\"AccessControlAllowOrigin\\": \\"https://aliyundoc.com\\",\\n \\"AccessControlRequestMethod\\": \\"PUT\\",\\n \\"ServerSideEncryptionCustomerAlgorithm\\": \\"SM4\\",\\n \\"ServerSideEncryption\\": \\"AES256\\",\\n \\"ServerSideDataEncryption\\": \\"SM4\\",\\n \\"ServerSideEncryptionKeyId\\": \\"9468da86-3509-4f8d-a61e-6eab1eac****\\",\\n \\"OSSStorageClass\\": \\"Standard\\",\\n \\"OSSCRC64\\": \\"559890638950338001\\",\\n \\"ObjectACL\\": \\"default\\",\\n \\"ContentMd5\\": \\"HZwoCnxPZ/fvhz4oRJ2+Fw==\\",\\n \\"OSSUserMeta\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSTaggingCount\\": 2,\\n \\"OSSTagging\\": {\\n \\"key\\": \\"val\\"\\n },\\n \\"OSSExpiration\\": \\"2120-01-01T12:00:00.000Z\\",\\n \\"OSSVersionId\\": \\"CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****\\",\\n \\"OSSDeleteMarker\\": \\"CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****\\",\\n \\"OSSObjectType\\": \\"Normal\\",\\n \\"CustomId\\": \\"\\\\t\\\\nmember-image-id-0001\\",\\n \\"CustomLabels\\": {\\n \\"MemberName\\": \\"Tim\\",\\n \\"Enabled\\": \\"True\\",\\n \\"ItemCount\\": \\"10\\"\\n },\\n \\"StreamCount\\": 1,\\n \\"ProgramCount\\": 1,\\n \\"FormatName\\": \\"mov\\",\\n \\"FormatLongName\\": \\"QuickTime / MOV\\",\\n \\"StartTime\\": 0,\\n \\"Bitrate\\": 13091201,\\n \\"Duration\\": 15.263,\\n \\"SemanticTypes\\": [\\n \\"content\\"\\n ],\\n \\"Elements\\": [\\n {\\n \\"ElementContents\\": [\\n {\\n \\"Type\\": \\"text\\",\\n \\"Content\\": \\"文本片段\\",\\n \\"URL\\": \\"http://aliyun.com\\",\\n \\"TimeRange\\": [\\n 500\\n ]\\n }\\n ],\\n \\"ObjectId\\": \\"id1\\",\\n \\"ElementType\\": \\"title - 标题; image - 图片 ; table - 表格 ; narrative-text - 正文\\",\\n \\"SemanticSimilarity\\": 0.8,\\n \\"ElementRelations\\": [\\n {\\n \\"Type\\": \\"child,parent\\",\\n \\"ObjectId\\": \\"id1\\"\\n }\\n ]\\n }\\n ],\\n \\"SceneElements\\": [\\n {\\n \\"TimeRange\\": [\\n 100\\n ],\\n \\"FrameTimes\\": [\\n 30\\n ],\\n \\"VideoStreamIndex\\": 0,\\n \\"Labels\\": [\\n {\\n \\"Language\\": \\"zh-Hans\\",\\n \\"LabelName\\": \\"椅子\\",\\n \\"LabelLevel\\": 2,\\n \\"LabelConfidence\\": 0.95,\\n \\"ParentLabelName\\": \\"家具\\",\\n \\"CentricScore\\": 0.877,\\n \\"LabelAlias\\": \\"\\",\\n \\"Clips\\": [\\n {\\n \\"TimeRange\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"OCRTexts\\": \\"阿里云IMM\\",\\n \\"Reason\\": \\"[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****\\",\\n \\"ObjectStatus\\": \\"Indexed\\",\\n \\"Insights\\": {\\n \\"Video\\": {\\n \\"Description\\": \\"无。\\",\\n \\"Caption\\": \\"视频中展示了两个不同场景:一个是静止的白色盘子、黑色瓶子和透明玻璃杯,另一个是手拿着标有“YEZOLU”的洗发水瓶在浴室中缓慢上移。\\"\\n },\\n \\"Image\\": {\\n \\"Caption\\": \\"无。\\",\\n \\"Description\\": \\"图片中有一人,穿着深色西装外套,内搭白色衬衫。背景为渐变的浅蓝色至灰色。\\"\\n }\\n }\\n }\\n ],\\n \\"Aggregations\\": [\\n {\\n \\"Field\\": \\"Size\\",\\n \\"Operation\\": \\"sum\\",\\n \\"Value\\": 200,\\n \\"Groups\\": [\\n {\\n \\"Value\\": \\"100\\",\\n \\"Count\\": 5\\n }\\n ]\\n }\\n ],\\n \\"TotalHits\\": 10\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
],
'SuspendBatch' => [
'summary' => 'Suspends a batch processing task.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '131169',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the batch processing task. You can obtain the ID of the batch processing task from the response of the [CreateBatch](~~606694~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'EC564A9A-BA5C-4499-A087-D9B9E76E*****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC564A9A-BA5C-4499-A087-D9B9E76E*****\\"\\n}","type":"json"}]',
'title' => 'SuspendBatch',
'description' => 'You can suspend a batch processing task that is in the Running state. You can call the [ResumeBatch](~~479914~~) operation to resume a batch processing task that is suspended.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendBatch'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:SuspendBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'SuspendTrigger' => [
'summary' => 'Suspends a running trigger.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '135764',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the trigger.[](~~479912~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '0BC1F0C9-8E99-46C6-B502-10DED******'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0BC1F0C9-8E99-46C6-B502-10DED******\\"\\n}","type":"json"}]',
'title' => 'SuspendTrigger',
'description' => 'The operation can be used to suspend a trigger only in the Running state. If you want to resume a suspended trigger, call the [ResumeTrigger](~~479919~~) operation.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:SuspendTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
'UpdateBatch' => [
'summary' => 'Updates information for a batch processing task, such as the data source configuration, data processing configuration, and tags.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '131143',
'abilityTreeNodes' => ['FEATUREimmTATRRB'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The project name. For more information, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the batch processing task. For more information, see [Create a batch processing task](~~606694~~).', 'type' => 'string', 'required' => true, 'example' => 'batch-4eb9223f-3e88-42d3-a578-3f2852******', 'title' => ''],
],
[
'name' => 'Input',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The data source configuration.', 'required' => false, '$ref' => '#/components/schemas/Input', 'title' => '', 'example' => ''],
],
[
'name' => 'Actions',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'A list of data processing templates.',
'type' => 'array',
'items' => [
'description' => 'Template information.',
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The template name.', 'type' => 'string', 'required' => false, 'example' => 'doc/convert', 'title' => ''],
'Parameters' => [
'description' => 'A list of template parameters.',
'type' => 'array',
'items' => ['description' => 'A template parameter.', 'type' => 'string', 'required' => false, 'example' => 'pages=3', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'Custom tags used to search for and filter asynchronous tasks.', 'type' => 'object', 'required' => false, 'example' => '{"key":"val"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CB4D73A3-BAF4-4A9D-A631-15F219AF****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB4D73A3-BAF4-4A9D-A631-15F219AF****\\"\\n}","type":"json"}]',
'title' => 'UpdateBatch',
'description' => '- You can update a batch processing task only when its status is Ready or Failed. The update does not change the current status of the task.'."\n"
."\n"
.'- After the update, an incomplete batch processing task does not automatically resume. To resume the task, call the [ResumeBatch](~~479914~~) operation.',
'changeSet' => [
['createdAt' => '2023-07-05T05:47:23.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBatch'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
],
],
'UpdateDataset' => [
'summary' => 'Updates the information of a dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The dataset name. For information about how to obtain the dataset name, see [Create a dataset](~~478160~~).', 'type' => 'string', 'required' => true, 'example' => 'test-dataset'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The description of the dataset.', 'type' => 'string', 'required' => false, 'example' => 'immtest'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The workflow template ID. For more information, see [Workflow templates and operators](~~466304~~).', 'type' => 'string', 'required' => false, 'example' => 'Official:ImageManagement'],
],
[
'name' => 'DatasetMaxBindCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of bindings for each dataset. Valid values: 1 to 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'DatasetMaxFileCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of files in each dataset. Valid values: 1 to 100000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000'],
],
[
'name' => 'DatasetMaxEntityCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata entities (including data files, file relationships, and clustering groups) in each dataset. The maximum value is 2^63-1.'."\n"
.'>This is a reserved parameter and is not enforced during use.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10000000000'],
],
[
'name' => 'DatasetMaxRelationCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata relationships in each dataset. The maximum value is 2^63-1.'."\n"
.'>This is a reserved parameter and is not enforced during use.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000000'],
],
[
'name' => 'DatasetMaxTotalFileSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum total file size in each dataset. After this limit is exceeded, no more indexes can be added. The maximum value is 2^63-1. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90000000000000000'],
],
[
'name' => 'WorkflowParameters',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'Invalid parameter.',
'type' => 'array',
'items' => ['description' => 'Invalid parameter.', '$ref' => '#/components/schemas/WorkflowParameter', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'deprecated' => true,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '45234D4A-A3E3-4B23-AACA-8D897514****'],
'Dataset' => ['description' => 'The dataset.', '$ref' => '#/components/schemas/Dataset', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'Update a dataset',
'description' => '- **Before you use this operation, make sure that you fully understand the billing of Intelligent Media Management (IMM) and its [pricing](~~477042~~)**.'."\n"
."\n"
.'- Before you update dataset information, make sure that the dataset has been created. To create a dataset, refer to the request parameter descriptions.'."\n"
.'- When you update dataset information, specify only the fields that you want to update. Fields that are not specified remain unchanged.'."\n"
.'- After a dataset is updated, the changes may take up to 5 minutes to take effect.',
'changeSet' => [
['createdAt' => '2025-06-12T08:03:49.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:12.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDataset'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'UpdateFigureCluster' => [
'summary' => 'Updates information about a face cluster, such as the cluster name and labels.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '103839',
'abilityTreeNodes' => ['FEATUREimm3DNGQD'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'FigureCluster',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The information about the cluster.'."\n", 'required' => true, '$ref' => '#/components/schemas/FigureClusterForReq', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5F74C5C9-5AC0-49F9-914D-E01589D3****'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5F74C5C9-5AC0-49F9-914D-E01589D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'UpdateFigureCluster',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have called the [CreateFigureClusteringTask](~~478180~~) operation to cluster all faces in the dataset.'."\n"
.'* The operation updates only the cover image, cluster name, and tags.'."\n"
.'* After the operation is successful, you can call the [GetFigureCluster](~~478182~~) or [BatchGetFigureCluster](~~2248450~~) operation to query the updated cluster.'."\n",
'changeSet' => [
['createdAt' => '2024-01-22T11:04:56.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-01-09T05:44:46.000Z', 'description' => 'Response parameters changed, Response parameters changed'],
['createdAt' => '2022-10-28T03:52:45.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFigureCluster'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'UpdateFileMeta' => [
'summary' => 'Updates the partial metadata of the indexed files in a dataset.',
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'paid',
'abilityTreeCode' => '33172',
'abilityTreeNodes' => ['FEATUREimmSZD9WY'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset. You can obtain the name of the dataset from the response of the [CreateDataset](~~478160~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'File',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The file and its metadata items to be updated. The value must be in the JSON format.'."\n", 'required' => true, '$ref' => '#/components/schemas/InputFile', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6D53E6C9-5AC0-48F9-825F-D02678E3****'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'title' => 'UpdateFileMeta',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* You cannot call this operation to update all metadata. You can update only metadata specified by CustomLabels, CustomId, and Figures. For more information, see the "Request parameters" section of this topic.'."\n",
'changeSet' => [
['createdAt' => '2023-04-23T08:06:47.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-06-15T02:14:00.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFileMeta'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6D53E6C9-5AC0-48F9-825F-D02678E3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
],
'UpdateLocationDateCluster' => [
'summary' => 'Updates a spatiotemporal cluster.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '157778',
'abilityTreeNodes' => ['FEATUREimmPECUUL'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'schema' => ['description' => 'The name of the project.[](~~478153~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'query',
'schema' => ['description' => 'The name of the dataset.[](~~478160~~)'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-dataset', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'query',
'schema' => ['description' => 'The ID of the cluster that you want to update.'."\n", 'type' => 'string', 'required' => true, 'example' => 'location-date-cluster-71dd4f32-9597-4085-a2ab-3a7b0fd0aff9', 'title' => ''],
],
[
'name' => 'Title',
'in' => 'query',
'schema' => ['description' => 'The name of the cluster. The name can be used to search for the cluster. The value can be up to 1,024 bytes in size.'."\n", 'type' => 'string', 'required' => false, 'example' => 'One-day trip in Hangzhou', 'title' => ''],
],
[
'name' => 'CustomId',
'in' => 'query',
'schema' => ['description' => 'The custom ID of the cluster. When the cluster is indexed into the dataset, the custom ID is stored as the data attribute. You can map the custom ID to other data in your business system. For example, you can pass the custom ID to map a URI to an ID. We recommend that you specify a globally unique value. The value can be up to 1,024 bytes in size.'."\n", 'type' => 'string', 'required' => false, 'example' => 'member-id-0001', 'title' => ''],
],
[
'name' => 'CustomLabels',
'in' => 'query',
'style' => 'json',
'schema' => ['description' => 'The custom labels. The parameter stores custom key-value labels, which can be used to filter data. You can specify up to 100 custom labels for a cluster.'."\n", 'type' => 'object', 'required' => false, 'example' => '{'."\n"
.' "UserScore": "5"'."\n"
.'}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '52B017A8-FEF5-0A61-BAEE-234A8AD8****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"52B017A8-FEF5-0A61-BAEE-234A8AD8****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'UpdateLocationDateCluster',
'description' => '* Before you call this operation, make sure that you are familiar with the [billing](~~477042~~) of Intelligent Media Management (IMM).****'."\n"
.'* Before you call this operation, make sure that you have called the [CreateLocationDateClusteringTask](~~478188~~) operation to create spatiotemporal clusters in the project.'."\n",
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLocationDateCluster'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateLocationDateCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'UpdateProject' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '495',
'abilityTreeNodes' => ['FEATUREimmKH590Y'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'query',
'allowEmptyValue' => false,
'schema' => ['title' => '', 'description' => 'The project name. For information about how to obtain the project name, see [Create a project](~~478153~~).', 'type' => 'string', 'required' => true, 'example' => 'test-project'],
],
[
'name' => 'ServiceRole',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The service role that grants Intelligent Media Management (IMM) permissions to access other cloud resources such as Object Storage Service (OSS).'."\n"
."\n"
.'To customize a service role, create a regular service role in the Resource Access Management (RAM) console and grant permissions to the role. For more information, see [Create a regular service role](~~116800~~) and [Grant permissions to a role](~~116147~~).', 'type' => 'string', 'required' => false, 'example' => 'AliyunIMMDefaultRole'],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The project description. The description must be 1 to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'immtest'],
],
[
'name' => 'TemplateId',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The workflow template ID. For more information, see [Workflow templates and operators](~~466304~~).', 'type' => 'string', 'required' => false, 'example' => 'Official:ImageManagement'],
],
[
'name' => 'ProjectMaxDatasetCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of datasets in the project. Valid values: 1 to 1000000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000000000'],
],
[
'name' => 'DatasetMaxBindCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of bindings for each dataset. Valid values: 1 to 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'DatasetMaxFileCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of files in each dataset. Valid values: 1 to 100000000.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000'],
],
[
'name' => 'DatasetMaxEntityCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata entities in each dataset.'."\n"
.'>This is a reserved parameter and is not enforced during use.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10000000000'],
],
[
'name' => 'DatasetMaxRelationCount',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum number of metadata relationships in each dataset.'."\n"
.'>This is a reserved parameter and is not enforced during use.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100000000000'],
],
[
'name' => 'DatasetMaxTotalFileSize',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The maximum total file size in each dataset. After the limit is exceeded, no more indexes can be added. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '90000000000000000'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'description' => 'The list of tags.',
'type' => 'array',
'items' => [
'description' => 'The tag information.',
'type' => 'object',
'properties' => [
'Key' => ['description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''],
'Value' => ['description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => '',
'description' => 'The response struct.',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D33C3574-4093-448E-86E7-15BE2BD3****'],
'Project' => ['description' => 'The project information. Click Project for details.', '$ref' => '#/components/schemas/Project', 'title' => '', 'example' => ''],
],
'example' => '',
],
],
],
'title' => 'Update a project',
'summary' => 'Updates the information of a created project.',
'description' => '- Before updating project information, make sure the project has been created. To create a project, refer to the request parameter descriptions.'."\n"
.'- When updating project information, specify only the fields that you want to update. Fields that are not specified remain unchanged.'."\n"
.'- Project updates do not take effect immediately. Wait up to 5 minutes for the updates to take effect.',
'changeSet' => [
['createdAt' => '2024-05-23T03:29:15.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2024-02-28T03:44:04.000Z', 'description' => 'Response parameters changed, Error codes changed'],
['createdAt' => '2021-06-15T02:14:20.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D33C3574-4093-448E-86E7-15BE2BD3****\\",\\n \\"Project\\": {\\n \\"ProjectName\\": \\"immtest\\",\\n \\"ServiceRole\\": \\"AliyunIMMDefaultRole\\",\\n \\"TemplateId\\": \\"Official:ImageManagement\\",\\n \\"CreateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"UpdateTime\\": \\"2021-06-29T14:50:13.011643661+08:00\\",\\n \\"Description\\": \\"test project\\",\\n \\"ProjectQueriesPerSecond\\": 100,\\n \\"EngineConcurrency\\": 100,\\n \\"ProjectMaxDatasetCount\\": 1000000000,\\n \\"DatasetMaxBindCount\\": 10,\\n \\"DatasetMaxFileCount\\": 100000000,\\n \\"DatasetMaxEntityCount\\": 10000000000,\\n \\"DatasetMaxRelationCount\\": 100000000000,\\n \\"DatasetMaxTotalFileSize\\": 90000000000000000,\\n \\"DatasetCount\\": 5,\\n \\"FileCount\\": 10,\\n \\"TotalFileSize\\": 100000,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'UpdateStory' => [
'summary' => 'Updates the information about a story, such as the story name and cover image.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '123272',
'abilityTreeNodes' => ['FEATUREimmPQ568C'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project.'."\n", 'type' => 'string', 'required' => true, 'example' => 'immtest', 'title' => ''],
],
[
'name' => 'DatasetName',
'in' => 'formData',
'schema' => ['description' => 'The name of the dataset.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testdata', 'title' => ''],
],
[
'name' => 'ObjectId',
'in' => 'formData',
'schema' => ['description' => 'The ID of the story.'."\n", 'type' => 'string', 'required' => true, 'example' => 'testid', 'title' => ''],
],
[
'name' => 'StoryName',
'in' => 'formData',
'schema' => ['description' => 'The name of the story.'."\n", 'type' => 'string', 'required' => false, 'example' => 'newstory', 'title' => ''],
],
[
'name' => 'Cover',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The cover image of the story.'."\n",
'type' => 'object',
'properties' => [
'URI' => ['description' => 'The URI of the cover image.'."\n"
."\n"
.'Specify the OSS URI in the oss://${Bucket}/${Object} format, where `${Bucket}` is the name of the bucket in the same region as the current project and `${Object}` is the path of the object with the extension included.'."\n", 'type' => 'string', 'required' => false, 'example' => 'oss://test-bucket/test-object', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'CustomLabels',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The custom tags. You can specify up to 100 custom tags.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"key": "value"}', 'title' => ''],
],
[
'name' => 'CustomId',
'in' => 'formData',
'schema' => ['description' => 'The custom ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '6E93D6C9-5AC0-49F9-914D-E02678D3****', 'title' => ''],
],
'example' => '',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6E93D6C9-5AC0-49F9-914D-E02678D3****\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'title' => 'UpdateStory',
'changeSet' => [
['createdAt' => '2022-07-07T07:23:00.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateStory'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
],
],
'UpdateTrigger' => [
'summary' => 'Updates information about a trigger, such as the input data source, data processing settings, and tags.',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '135765',
'abilityTreeNodes' => ['FEATUREimmJ1ILHI'],
],
'parameters' => [
[
'name' => 'ProjectName',
'in' => 'formData',
'schema' => ['description' => 'The name of the project. You can obtain the name of the project from the response of the [CreateProject](~~478153~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test-project', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'formData',
'schema' => ['description' => 'The ID of the trigger. You can obtain the ID of the trigger from the response of the [CreateTrigger](~~479912~~) operation.'."\n", 'type' => 'string', 'required' => true, 'example' => 'trigger-9f72636a-0f0c-4baf-ae78-38b27b******', 'title' => ''],
],
[
'name' => 'Input',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The data source configurations.'."\n", 'required' => false, '$ref' => '#/components/schemas/Input', 'title' => '', 'example' => ''],
],
[
'name' => 'Actions',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => 'The processing templates.'."\n",
'type' => 'array',
'items' => [
'description' => 'The processing template.'."\n",
'type' => 'object',
'properties' => [
'Name' => ['description' => 'The template name.'."\n", 'type' => 'string', 'required' => false, 'example' => 'doc/convert', 'title' => ''],
'Parameters' => [
'description' => 'The template parameters.'."\n",
'type' => 'array',
'items' => ['description' => 'The template parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'pages=3', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'example' => '',
],
],
[
'name' => 'Tags',
'in' => 'formData',
'style' => 'json',
'schema' => ['description' => 'The custom tags. You can search for or filter asynchronous tasks by custom tag.'."\n", 'type' => 'object', 'required' => false, 'example' => '{"test": "val1"}', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '5A022F78-B9A8-4ACC-BB6B-B35975******'],
],
'example' => '',
],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5A022F78-B9A8-4ACC-BB6B-B35975******\\"\\n}","type":"json"}]',
'title' => 'UpdateTrigger',
'description' => '* You can update only a trigger that is in the Ready or Failed state. The update operation does not change the trigger status.'."\n"
.'* After you update a trigger, the uncompleted tasks under the original trigger are no longer executed. You can call the [ResumeTrigger](~~479916~~) operation to resume the execution of the trigger.'."\n",
'changeSet' => [
['createdAt' => '2023-07-05T05:47:22.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTrigger'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
],
],
],
'endpoints' => [
['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-shenzhen.aliyuncs.com', 'endpoint' => 'imm.cn-shenzhen.aliyuncs.com', 'vpc' => 'imm-vpc.cn-shenzhen.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'imm.cn-wulanchabu.aliyuncs.com', 'vpc' => 'imm-vpc.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-beijing.aliyuncs.com', 'endpoint' => 'imm.cn-beijing.aliyuncs.com', 'vpc' => 'imm-vpc.cn-beijing.aliyuncs.com'],
['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-chengdu.aliyuncs.com', 'endpoint' => 'imm.cn-chengdu.aliyuncs.com', 'vpc' => 'imm-vpc.cn-chengdu.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-qingdao.aliyuncs.com', 'endpoint' => 'imm.cn-qingdao.aliyuncs.com', 'vpc' => 'imm-vpc.cn-qingdao.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-shanghai.aliyuncs.com', 'endpoint' => 'imm.cn-shanghai.aliyuncs.com', 'vpc' => 'imm-vpc.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-guangzhou.aliyuncs.com', 'endpoint' => 'imm.cn-guangzhou.aliyuncs.com', 'vpc' => 'imm-vpc.cn-guangzhou.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-hongkong.aliyuncs.com', 'endpoint' => 'imm.cn-hongkong.aliyuncs.com', 'vpc' => 'imm-vpc.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.ap-southeast-1.aliyuncs.com', 'endpoint' => 'imm.ap-southeast-1.aliyuncs.com', 'vpc' => 'imm-vpc.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.ap-southeast-2.aliyuncs.com', 'endpoint' => 'imm.ap-southeast-2.aliyuncs.com', 'vpc' => 'imm-vpc.ap-southeast-2.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.ap-southeast-5.aliyuncs.com', 'endpoint' => 'imm.ap-southeast-5.aliyuncs.com', 'vpc' => 'imm-vpc.ap-southeast-5.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'imm.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'imm-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imm.cn-hangzhou.aliyuncs.com', 'endpoint' => 'imm.cn-hangzhou.aliyuncs.com', 'vpc' => 'imm-vpc.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'imm.us-west-1.aliyuncs.com', 'endpoint' => 'imm.us-west-1.aliyuncs.com', 'vpc' => 'imm-vpc.us-west-1.aliyuncs.com'],
['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'imm.us-east-1.aliyuncs.com', 'endpoint' => 'imm.us-east-1.aliyuncs.com', 'vpc' => 'imm-vpc.us-east-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'imm.eu-central-1.aliyuncs.com', 'endpoint' => 'imm.eu-central-1.aliyuncs.com', 'vpc' => 'imm-vpc.eu-central-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'imm.eu-west-1.aliyuncs.com', 'endpoint' => 'imm.eu-west-1.aliyuncs.com', 'vpc' => 'imm-vpc.eu-west-1.aliyuncs.com'],
['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'imm.ap-south-1.aliyuncs.com', 'endpoint' => 'imm.ap-south-1.aliyuncs.com', 'vpc' => 'imm-vpc.ap-south-1.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'imm.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'imm.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'imm-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'AccessDenied', 'message' => 'You are not authorized to operate GenerateWebofficeToken on the specified resources acs:imm:cn-shanghai:111111111111111:project/test.', 'http_code' => 403, 'description' => 'The user is not authorized to use the specified API to perform operations. Check the permissions of the account.'],
['code' => 'AccessDenied', 'message' => 'You are not authorized to operate %s on the specified resources %s.', 'http_code' => 403, 'description' => 'Access rights error, no access rights.'],
['code' => 'ActionNotSupported', 'message' => 'The requested action \'DetectTextAnomaly\' is not supported. Please check.', 'http_code' => 400, 'description' => 'The currently requested operation is not supported.'],
['code' => 'ExecutionTimeout', 'message' => 'Request timed out. Please try again later.', 'http_code' => 408, 'description' => 'Request timed out.'],
['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => ''],
['code' => 'InvalidAction.%s', 'message' => 'The specified action %s is not valid.', 'http_code' => 400, 'description' => 'The operation is illegal.'],
['code' => 'InvalidAction.EncodeBlindWatermark', 'message' => 'The specified action EncodeBlindWatermark is not valid.', 'http_code' => 400, 'description' => 'The operation is illegal.'],
['code' => 'InvalidAdaptiveResolutionDirection', 'message' => 'Specified parameter AdaptiveResolutionDirection is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidAlign', 'message' => 'Specified parameter Align is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'BatchUpdate size exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'BatchIndex size exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'BatchGet size exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'BatchDelete size exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'AspectRatios not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'File format not supported or file size limitation exceeded.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'File does not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'File corrupt.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'FigureCluster not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Empty ProjectName.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Definition should not be empty', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Definition should be yaml format', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Cover.URI is required', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Cover figure not found', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'cluster not found', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'invalid nextToken', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid LiveTranscodingTarget.TranscodeAhead. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid LiveTranscodingTarget.Speed. Reason: the value should be no lesser than 0.5.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid LiveTranscodingTarget.InitialTranscode. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid LiveTranscodingTarget.Duration. Reason: the value should be no lesser than 5.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid LiveTranscodingTarget.Duration. Reason: the value should be no greater than 30.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Index KV count exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Incorrect format of AspectRatios.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'File URI not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'File not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Speed. Reason: the value should be no greater than 2.0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Segment.Format. Reason: the value should be one of [hls dash raw].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Segment.Duration. Reason: the value should be greater than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Container. Reason: the value is required with URI.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target output.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Source.URI. Reason: the value is required.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Source.StartTime. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Source.Duration. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Rotate.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid parameter(s).', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'MaxFileCount must be >= MinFileCount', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Targets info.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.Rotation. Reason: the value should be one of [0 90 180 270].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.Refs. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.GOPSize. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.CRF. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.BufferSize. Reason: the value should be greater than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.Bitrate. Reason: the value should be greater than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.BFrames. Reason: the value should be no lesser than 0.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Speed. Reason: the value should be no lesser than 0.5.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'oss://imm-test-co-cn-beijing/zqh/input/Image/mao.jpg has no faces', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Order should be in [asc desc]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'OctreeOption.PointResolution must be in [0, 1].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'OctreeOption.OctreeResolution must be in [0, 1].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'OctreeOption is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'ObjectId should not be empty.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'no access to the bucket', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Message: invalid token', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'MaxResults should be in [1, 100]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'MaxResults exceeded, should be no more than 100.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'TaskType should be VideoLabelClassification.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'TargetURI should match oss uri schema.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Target.URI should match oss or pds uri schema.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Target.ManifestURI should match oss uri schema.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'StoryStartTime should be in RFC3339Nano format.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'StoryEndTime should be in RFC3339Nano format.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'SourceURI should match oss or pds uri schema.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Sources or SourceManifestURI must provide one.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Sort should be in [Name CreateTime UpdateTime]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Sort field not supported.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The parameter ProjectName is required but not provided.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The parameter Name is required but not provided.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The maximum length of AspectRatios is 5.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter TargetURI not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Video and Target.Subtitle should not both be empty.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Type should be in [square diamond hexagon blur pure]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Boundary.ReferPos should be in [topleft topright bottomleft bottomright]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter SourceURI not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter SourceSubtitle.URI should be webvtt format', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter SourceSubtitle.URI should be the parent directory of master URI.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'WithField abc not supported.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'URIs not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'URI1 or URI2 must be assigned.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'URI not indexed', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Type should be in [sync async]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Token should be base64 string.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Token not valid', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The StoryStartTime must be less than StoryEndTime', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The parameter Target.MasterURI is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.Resolution. Reason: the value should be "" or the value should be a resolution format({width}x{height}, width & height should be even and no greater than 4096).', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.PixelFormat. Reason: the value should be "" or the value should be one of [yuv420p yuv422p yuv444p yuv420p10le yuv422p10le yuv444p10le].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.Codec. Reason: the value should be "" or the value should be one of [copy h264 h265].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Filter.Watermarks[0].Type. Reason: the value should be "file" if URI is required.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Filter.Watermarks[0].ReferPos. Reason: the value should be "" or the value should be one of [topright topleft bottomright bottomleft].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Filter.Delogos[0].ReferPos. Reason: the value should be "" or the value should be one of [topright topleft bottomright bottomleft].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Container. Reason: the value should be "" or the value should be one of [mp4 mkv mov asf avi mxf ts flv mp3 aac flac oga ac3 opus amr].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Aggregation "group" with field "CustomLabels.test" is not supported yet.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Boundary.Y is too small (min: 0, actual: \'-20\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Boundary.X is too small (min: 0, actual: \'-20\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Boundary.Width should be greater than 0, actual: \'-100\'.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Boundary.Height should be greater than 0, actual: \'-100\'.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.BlurRadius is too small (min: 1, actual: \'-5\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.BlurRadius is too small (min: 1, actual: \'0\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.BlurRadius is too large (max: 50, actual: \'51\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter SourceURI \'oss://imm-test-co-cn-beijing/zqh/input/Video/not-exists.ts\' is not a valid ts file.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Order should be either "asc" or "desc".', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'Invalid Target.Video.Transcode.ScaleType. Reason: the value should be "" or the value should be one of [crop stretch fill fit].', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.Sigma is too small (min: 1, actual: \'0\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument', 'message' => 'The input parameter Target.MosaicRadius is too small (min: 1, actual: \'-10\'.)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.%s', 'message' => 'The parameter %s is Invalid.', 'http_code' => 400, 'description' => 'The parameter% s is invalid.'],
['code' => 'InvalidArgument.AccessToken', 'message' => 'The AccessToken does not exists', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Align', 'message' => 'The parameter Align is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.CompressedFormat', 'message' => 'The parameter CompressedFormat is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.CompressedFormat', 'message' => 'The parameter CompressedFormat (abcdef) should be one of [zip]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Content', 'message' => 'The parameter Content is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.CreateTaskRequest.ProjectName', 'message' => 'The parameter CreateTaskRequest.ProjectName is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetMaxBindCount', 'message' => 'The parameter DatasetMaxBindCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetMaxEntityCount', 'message' => 'The parameter DatasetMaxEntityCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetMaxFileCount', 'message' => 'The parameter DatasetMaxFileCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetMaxRelationCount', 'message' => 'The parameter DatasetMaxRelationCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetMaxTotalFileSize', 'message' => 'The parameter DatasetMaxTotalFileSize is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetName', 'message' => 'The parameter DatasetName should be a name which matches regex [_a-zA-Z][-_a-zA-Z0-9]*', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetName', 'message' => 'The parameter DatasetName is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DatasetName', 'message' => 'The length of parameter DatasetName exceeded maximum value of 128', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DateOptions.GapDays', 'message' => 'The parameter DateOptions.GapDays is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DateOptions.MaxDays', 'message' => 'The parameter DateOptions.MaxDays is too small (minimum: 1, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.DateOptions.MinDays', 'message' => 'The parameter DateOptions.MinDays is too small (minimum: 1, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Direction', 'message' => 'The parameter Direction (sssss) should be one of [horizontal vertical]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Filename', 'message' => 'Unsupported preview file type [png]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Files', 'message' => 'The parameter Files is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.From', 'message' => 'The parameter From is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ImageDPI', 'message' => 'The parameter ImageDPI (95) should be greater than or equal to 96', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ImageDPI', 'message' => 'The parameter ImageDPI (601) should be less than or equal to 600', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ImageDPI', 'message' => 'The parameter ImageDPI (-1) should be greater than or equal to 96', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ImageFormat', 'message' => 'The parameter ImageFormat (xlsx) should be one of [jpg png webp]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ImageFormat', 'message' => 'The parameter ImageFormat (xlsx) should be one of [jpg jpeg png webp bmp jp2 tiff]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ListRequest.MaxResults', 'message' => 'The parameter ListRequest.MaxResults is too small (minimum: 1, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.LocationOptions.LocationDateClusterLevels[1]', 'message' => 'The parameter LocationOptions.LocationDateClusterLevels[1] (abc) should be one of [country province city district township]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Margin', 'message' => 'The parameter Margin is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MasterURI', 'message' => 'The parameter MasterURI should start with oss://', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MaxFileCount', 'message' => 'The parameter MaxFileCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MaxResults', 'message' => 'The parameter MaxResults is too large (maximum: 200, actual: 201)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MaxResults', 'message' => 'The parameter MaxResults is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MaxSheetColumn', 'message' => 'The parameter MaxSheetColumn (-1) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MaxSheetRow', 'message' => 'The parameter MaxSheetRow (-1) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.MinFileCount', 'message' => 'The parameter MinFileCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ObjectId', 'message' => 'The parameter ObjectId is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Order', 'message' => 'The parameter Order (abcdefaaaa) should be one of [asc desc]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Order', 'message' => 'The parameter Order (abc) should be one of [asc desc]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.OSSBucket', 'message' => 'The parameter OSSBucket is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Padding', 'message' => 'The parameter Padding is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Pages', 'message' => 'The parameter must be in Printer Pages format, e.g. 1,3-5,7', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.PaperSize', 'message' => 'The parameter PaperSize (A8) should be one of [A0 A2 A4]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.PointCloudFields', 'message' => 'The parameter PointCloudFields is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.PreviewPages', 'message' => 'The parameter PreviewPages (-4) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ProjectMaxDatasetCount', 'message' => 'The parameter ProjectMaxDatasetCount is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ProjectName', 'message' => 'The parameter ProjectName should be a name which matches regex [_a-zA-Z][-_a-zA-Z0-9]*', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ProjectName', 'message' => 'The parameter ProjectName is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ProjectName', 'message' => 'The length of parameter ProjectName exceeded maximum value of 128', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Quality', 'message' => 'The parameter Quality is too large (maximum: 100, actual: 101)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Quality', 'message' => 'The parameter Quality (101) should be less than or equal to 100', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Quality', 'message' => 'The parameter Quality (-1) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Quality', 'message' => 'The parameter Quality is too small (minimum: 0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Query', 'message' => 'The parameter Query is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.RefreshToken', 'message' => 'The RefreshToken is different from our record', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ScalePercentage', 'message' => 'The parameter ScalePercentage (201) should be less than 200', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ScalePercentage', 'message' => 'The parameter ScalePercentage (-1) should be greater than or equal to 20', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ScalePercentage', 'message' => 'The parameter ScalePercentage (1) should be greater than or equal to 20', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.ScaleType', 'message' => 'The parameter ScaleType (sssss) should be one of [fit stretch]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Sensitivity', 'message' => 'The parameter Sensitivity is too small (minimum: 0.0, actual: -1)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Sensitivity', 'message' => 'The parameter Sensitivity is too large (maximum: 1.0, actual: 2)', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SheetCount', 'message' => 'The parameter SheetCount (-1) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SheetIndex', 'message' => 'The parameter SheetIndex (-1) should be greater than or equal to 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Sort', 'message' => 'The parameter Sort (abc) should be one of [CreateTime ModifyTime LocationDateClusterStartTime LocationDateClusterEndTime]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Sort', 'message' => 'The parameter Sort is Invalid.', 'http_code' => 400, 'description' => 'The Sort parameter is invalid.'],
['code' => 'InvalidArgument.Sources', 'message' => 'The parameter Sources is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SourceString', 'message' => 'The parameter SourceString is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SourceType', 'message' => 'The parameter SourceType (jpg) should be one of [pdf doc dot wps wpt docx dotx docm dotm txt wpss lrc c cpp h asm s java asp bat bas prg cmd rtf log xml htm html pptx ppt pot potx pps ppsx dps dpt pptm potm ppsm dpss xls xlt et ett xlsx xltx csv xlsb xlsm xltm ets]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SourceType', 'message' => 'The parameter SourceType (aabbcc) should be one of [pdf doc dot wps wpt docx dotx docm dotm txt wpss lrc c cpp h asm s java asp bat bas prg cmd rtf log xml htm html pptx ppt pot potx pps ppsx dps dpt pptm potm ppsm dpss xls xlt et ett xlsx xltx csv xlsb xlsm xltm ets]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SourceURI', 'message' => 'The parameter SourceURI should start with oss://', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SourceURI', 'message' => 'The parameter SourceURI is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.SrcUri', 'message' => 'The source URI is too large or too complex to be converted within the time limit.', 'http_code' => 400, 'description' => 'The source URI is too large or complex to complete the conversion in the given time'],
['code' => 'InvalidArgument.StartPage', 'message' => 'The parameter StartPage (-1) should be greater than 0', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.StoryName', 'message' => 'The parameter StoryName is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.StorySubType', 'message' => 'The parameter StorySubType is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.StoryType', 'message' => 'The parameter StoryType is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Target.URI', 'message' => 'The parameter Target.URI is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.Targets', 'message' => 'The parameter Targets is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetType', 'message' => 'The parameter TargetType is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetType', 'message' => 'The parameter TargetType (xlsx) should be one of [pdf jpg png txt]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetType', 'message' => 'The parameter TargetType (jpeg) should be one of [pdf jpg png txt]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetType', 'message' => 'The parameter TargetType (docx) should be one of [pdf jpg png txt]', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetURI', 'message' => 'The parameter TargetURI should start with oss://', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetURI', 'message' => 'The parameter TargetURI is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TargetURIPrefix', 'message' => 'The parameter TargetURIPrefix is required without TargetURI but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.TaskId', 'message' => 'The parameter TaskId is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.To', 'message' => 'The parameter To is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.URI', 'message' => 'The parameter URI should start with oss://', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.URI', 'message' => 'The parameter URI is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidArgument.User', 'message' => 'The parameter User is required but not provided', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidCompressionLevel', 'message' => 'Specified parameter CompressionLevel is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidCompressMethod', 'message' => 'Specified parameter CompressMethod is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidDatasetMaxEntityCount', 'message' => 'Specified parameter DatasetMaxEntityCount is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidDoVoxelGridDownDownSampling', 'message' => 'Specified parameter DoVoxelGridDownDownSampling is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidDuration', 'message' => 'Specified parameter Duration is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidEndPage', 'message' => 'Specified parameter EndPage is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidExternalUploaded', 'message' => 'Specified parameter ExternalUploaded is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidFirstPage', 'message' => 'Specified parameter FirstPage is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidFitToHeight', 'message' => 'Specified parameter FitToHeight is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidFitToWidth', 'message' => 'Specified parameter FitToWidth is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidFloat', 'message' => 'Specified parameter Float is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidFrameRate', 'message' => 'Specified parameter FrameRate is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidGapDays', 'message' => 'Specified parameter GapDays is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidHidecmb', 'message' => 'Specified parameter Hidecmb is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidHoldLineFeed', 'message' => 'Specified parameter HoldLineFeed is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidImageDPI', 'message' => 'Specified parameter ImageDPI is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidImageUri.NotFound', 'message' => 'The resource ImageUri cannot be found. Please check.', 'http_code' => 400, 'description' => 'Image resource link does not exist, please check.'],
['code' => 'InvalidInitialTranscode', 'message' => 'Specified parameter InitialTranscode is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, Aggregations', 'message' => 'Specified parameter JSON Array parsing error, Aggregations is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, Files', 'message' => 'Specified parameter JSON Array parsing error, Files is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, InitialSegments', 'message' => 'Specified parameter JSON Array parsing error, InitialSegments is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, LocationDateClusterLevels', 'message' => 'Specified parameter JSON Array parsing error, LocationDateClusterLevels is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, PointCloudFields', 'message' => 'Specified parameter JSON Array parsing error, PointCloudFields is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, SelectedFiles', 'message' => 'Specified parameter JSON Array parsing error, SelectedFiles is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, Sources', 'message' => 'Specified parameter JSON Array parsing error, Sources is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, SourceSubtitles', 'message' => 'Specified parameter JSON Array parsing error, SourceSubtitles is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, Targets', 'message' => 'Specified parameter JSON Array parsing error, Targets is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON Array parsing error, WithFields', 'message' => 'Specified parameter JSON Array parsing error, WithFields is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Address', 'message' => 'Specified parameter JSON parsing error, Address is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Audio', 'message' => 'Specified parameter JSON parsing error, Audio is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Cover', 'message' => 'Specified parameter JSON parsing error, Cover is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, CreateTimeRange', 'message' => 'Specified parameter JSON parsing error, CreateTimeRange is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, CustomLabels', 'message' => 'Specified parameter JSON parsing error, CustomLabels is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, DateOptions', 'message' => 'Specified parameter JSON parsing error, DateOptions is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, FigureCluster', 'message' => 'Specified parameter JSON parsing error, FigureCluster is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, KdtreeOption', 'message' => 'Specified parameter JSON parsing error, KdtreeOption is not valid.', 'http_code' => 400, 'description' => 'Parameter KdtreeOption JSON parsing error, not in the correct JSON format.'],
['code' => 'InvalidJSON parsing error, LocationDateClusterStartTimeRange', 'message' => 'Specified parameter JSON parsing error, LocationDateClusterStartTimeRange is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, LocationOptions', 'message' => 'Specified parameter JSON parsing error, LocationOptions is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, OctreeOption', 'message' => 'Specified parameter JSON parsing error, OctreeOption is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Permission', 'message' => 'Specified parameter JSON parsing error, Permission is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Route', 'message' => 'Specified parameter JSON parsing error, Route is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Segment', 'message' => 'Specified parameter JSON parsing error, Segment is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Source', 'message' => 'Specified parameter JSON parsing error, Source is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, StoryEndTimeRange', 'message' => 'Specified parameter JSON parsing error, StoryEndTimeRange is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, StoryStartTimeRange', 'message' => 'Specified parameter JSON parsing error, StoryStartTimeRange is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, SubtitlesItem', 'message' => 'Specified parameter JSON parsing error, SubtitlesItem is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Tags', 'message' => 'Specified parameter JSON parsing error, Tags is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Target', 'message' => 'Specified parameter JSON parsing error, Target is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, TrimPolicy', 'message' => 'Specified parameter JSON parsing error, TrimPolicy is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, UpdateTimeRange', 'message' => 'Specified parameter JSON parsing error, UpdateTimeRange is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, User', 'message' => 'Specified parameter JSON parsing error, User is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Video', 'message' => 'Specified parameter JSON parsing error, Video is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidJSON parsing error, Watermark', 'message' => 'Specified parameter JSON parsing error, Watermark is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidLibraryName', 'message' => 'Specified parameter LibraryName is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidLongPicture', 'message' => 'Specified parameter LongPicture is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidLongText', 'message' => 'Specified parameter LongText is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMargin', 'message' => 'Specified parameter Margin is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxBitrate', 'message' => 'Specified parameter MaxBitrate is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxDays', 'message' => 'Specified parameter MaxDays is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxFileCount', 'message' => 'Specified parameter MaxFileCount is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxResults', 'message' => 'Specified parameter MaxResults is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxSheetColumn', 'message' => 'Specified parameter MaxSheetColumn is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMaxSheetRow', 'message' => 'Specified parameter MaxSheetRow is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMetaLockVersion', 'message' => 'Specified parameter MetaLockVersion is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMinDays', 'message' => 'Specified parameter MinDays is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidMinFileCount', 'message' => 'Specified parameter MinFileCount is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidPadding', 'message' => 'Specified parameter Padding is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidPaperHorizontal', 'message' => 'Specified parameter PaperHorizontal is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidParameter.%s', 'message' => 'The parameter %s is invalid.', 'http_code' => 400, 'description' => 'The parameter% s is invalid.'],
['code' => 'InvalidPointCloudFileFormat', 'message' => 'Specified parameter PointCloudFileFormat is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidPreviewPages', 'message' => 'Specified parameter PreviewPages is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidProject.NotFound', 'message' => 'The resource Project cannot be found. Please check.', 'http_code' => 404, 'description' => 'The project does not exist.'],
['code' => 'InvalidQuality', 'message' => 'Specified parameter Quality is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidQuantizationBits', 'message' => 'Specified parameter QuantizationBits is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidRegion', 'message' => 'The parameter Region is Invalid.', 'http_code' => 400, 'description' => 'The parameter Region is invalid. Please check whether it is correctly filled in'],
['code' => 'InvalidScalePercentage', 'message' => 'Specified parameter ScalePercentage is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSheetCount', 'message' => 'Specified parameter SheetCount is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSheetIndex', 'message' => 'Specified parameter SheetIndex is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidShowComments', 'message' => 'Specified parameter ShowComments is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSourceDuration', 'message' => 'Specified parameter SourceDuration is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSourceStartTime', 'message' => 'Specified parameter SourceStartTime is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidSpeed', 'message' => 'Specified parameter Speed is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidStartPage', 'message' => 'Specified parameter StartPage is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidTopK', 'message' => 'Specified parameter TopK is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidTranscodeAhead', 'message' => 'Specified parameter TranscodeAhead is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'InvalidWithStatistics', 'message' => 'Specified parameter WithStatistics is not valid.', 'http_code' => 400, 'description' => ''],
['code' => 'LimitExceededError', 'message' => 'Message: input quota exceed the max value', 'http_code' => 400, 'description' => ''],
['code' => 'MalformedPOSTRequest', 'message' => 'Invalid json string.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingAccessToken', 'message' => 'AccessToken is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingAdapterName', 'message' => 'AdapterName is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingAdapterType', 'message' => 'AdapterType is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingArgument.%s', 'message' => 'The parameter %s is Missing.', 'http_code' => 400, 'description' => 'Missing request parameter% s.'],
['code' => 'MissingCompressMethod', 'message' => 'CompressMethod is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingContent', 'message' => 'Content is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingCover', 'message' => 'Cover is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingDatasetName', 'message' => 'DatasetName is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingDateOptions', 'message' => 'DateOptions is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingDefinition', 'message' => 'Definition is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingFigureCluster', 'message' => 'FigureCluster is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingFile', 'message' => 'File is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingFiles', 'message' => 'Files is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingFrom', 'message' => 'From is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingGapDays', 'message' => 'GapDays is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingLocationDateClusterLevels', 'message' => 'LocationDateClusterLevels is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingLocationOptions', 'message' => 'LocationOptions is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingName', 'message' => 'Name is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingObjectId', 'message' => 'ObjectId is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingOSSBucket', 'message' => 'OSSBucket is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingPointCloudFields', 'message' => 'PointCloudFields is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingProjectName', 'message' => 'ProjectName is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingQuery', 'message' => 'Query is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingRefreshToken', 'message' => 'RefreshToken is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingRoute', 'message' => 'Route is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingSources', 'message' => 'Sources is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingSourceURI', 'message' => 'SourceURI is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingStoryName', 'message' => 'StoryName is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingStorySubType', 'message' => 'StorySubType is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingStoryType', 'message' => 'StoryType is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTarget', 'message' => 'Target is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTargets', 'message' => 'Targets is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTargetType', 'message' => 'TargetType is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTargetURI', 'message' => 'TargetURI is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTaskId', 'message' => 'TaskId is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTaskType', 'message' => 'TaskType is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingTo', 'message' => 'To is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingType', 'message' => 'Type is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingURI', 'message' => 'URI is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'MissingURIs', 'message' => 'URIs is mandatory for this action.', 'http_code' => 400, 'description' => ''],
['code' => 'OSSAccessError', 'message' => 'OSS access error. Please check your permission.', 'http_code' => 400, 'description' => 'Error accessing OSS. Check the account permissions.'],
['code' => 'QuotaExhausted.CU', 'message' => 'The resource CU has exceeded the limit.', 'http_code' => 429, 'description' => 'The API frequency of the current request exceeds the CU limit set when the Project is created.'],
['code' => 'QuotaExhausted.ProjectCount', 'message' => 'The resource ProjectCount has exceeded the limit. Please refer to document.', 'http_code' => 400, 'description' => 'The number of project resources exceeds the limit.'],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource test-exist-cn-beijing-XU3BoL7PY already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource project already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource imm-test-set-f12de312-921e-11ed-8467-00163e10bd70 already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource binding already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource abcdefaaaa already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceAlreadyExists', 'message' => 'The specified resource already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource 123 is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource imm-doc-test-regression-IiyTXhLz9 is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource imm-doc-test-regression-B6feMmuWc is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource dataset is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource Binding is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource acs:imm::1023210024677934:project/sssdsd is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource acs:imm::1023210024677934:project/abcdefaaaa is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource acs:imm::1023210024677934:project/abcde is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource acs:imm::1023210024677934:project/aabbcc is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource acs:imm::1023210024677934:project/ is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource abcd is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource templateId is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource TaskId is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource sssdsd is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource project is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource OSSBucket is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource oss://imm-test-co-cn-beijing/zqh/input/Image/abcd.jpg is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource oss://imm-test-co-cn-beijing/zqh/input/FaceGroup/Single_Face/A.jpg is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource oss://abcxxx/a.pdf is not found', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource notexistsid is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource imm-doc-test-regression-R9Fj4tz3n is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'ResourceNotFound', 'message' => 'The specified resource test-delete-cn-beijing-B6feMmuWc is not found.', 'http_code' => 404, 'description' => ''],
['code' => 'StatusConflict', 'message' => 'Message: cannot delete when sub resoures exist', 'http_code' => 400, 'description' => ''],
['code' => 'UnsupportedFile', 'message' => 'This file type is not supported, or the file size is too large.', 'http_code' => 400, 'description' => 'The file type is not supported, or the file size is too large.'],
],
'changeSet' => [
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'ContextualAnswer'],
],
'createdAt' => '2025-01-02T06:37:47.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateOfficeConversionTask'],
],
'createdAt' => '2024-11-29T02:27:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateOfficeConversionTask'],
],
'createdAt' => '2024-10-18T06:40:05.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'SemanticQuery'],
],
'createdAt' => '2024-09-05T08:41:51.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'SemanticQuery'],
],
'createdAt' => '2024-09-04T03:24:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateBinding'],
['description' => 'Response parameters changed', 'api' => 'GetBinding'],
],
'createdAt' => '2024-09-03T10:58:49.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchGetFileMeta'],
['description' => 'Request parameters changed', 'api' => 'GetFileMeta'],
],
'createdAt' => '2024-07-30T05:43:07.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateProject'],
['description' => 'Request parameters changed', 'api' => 'ListProjects'],
['description' => 'Request parameters changed', 'api' => 'UpdateProject'],
],
'createdAt' => '2024-05-23T03:29:03.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Error codes changed', 'api' => 'AttachOSSBucket'],
['description' => 'Error codes changed', 'api' => 'CreateBinding'],
['description' => 'Error codes changed', 'api' => 'CreateImageModerationTask'],
],
'createdAt' => '2024-04-19T09:43:22.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'GetDecodeBlindWatermarkResult'],
],
'createdAt' => '2024-04-19T07:25:05.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchIndexFileMeta'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'IndexFileMeta'],
],
'createdAt' => '2024-04-15T08:38:27.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GenerateVideoPlaylist'],
],
'createdAt' => '2024-03-26T10:08:39.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Error codes changed', 'api' => 'DeleteProject'],
],
'createdAt' => '2024-03-01T02:19:23.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed, Error codes changed', 'api' => 'CreateProject'],
['description' => 'Error codes changed', 'api' => 'DeleteProject'],
['description' => 'Error codes changed', 'api' => 'GetProject'],
['description' => 'Response parameters changed, Error codes changed', 'api' => 'UpdateProject'],
],
'createdAt' => '2024-02-28T03:43:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'UpdateFigureCluster'],
],
'createdAt' => '2024-01-22T11:04:51.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'ExtractDocumentText'],
],
'createdAt' => '2023-12-13T05:45:35.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'SimpleQuery'],
],
'createdAt' => '2023-11-22T06:27:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'FuzzyQuery'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'SemanticQuery'],
],
'createdAt' => '2023-11-20T06:58:41.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateFileCompressionTask'],
],
'createdAt' => '2023-11-20T06:17:33.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'AttachOSSBucket'],
['description' => 'Response parameters changed', 'api' => 'GetOSSBucketAttachment'],
],
'createdAt' => '2023-11-07T04:13:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'FuzzyQuery'],
['description' => 'Response parameters changed', 'api' => 'SemanticQuery'],
['description' => 'Response parameters changed', 'api' => 'SimpleQuery'],
],
'createdAt' => '2023-09-04T06:34:33.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GenerateWebofficeToken'],
['description' => 'Response parameters changed', 'api' => 'RefreshWebofficeToken'],
],
'createdAt' => '2023-08-30T08:31:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateArchiveFileInspectionTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFileUncompressionTask'],
],
'createdAt' => '2023-08-30T07:21:44.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateFacesSearchingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateImageModerationTask'],
['description' => 'Request parameters changed', 'api' => 'CreateVideoModerationTask'],
],
'createdAt' => '2023-08-21T03:49:31.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'DeleteBinding'],
],
'createdAt' => '2023-07-20T08:50:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateBatch'],
['description' => 'Request parameters changed', 'api' => 'CreateTrigger'],
],
'createdAt' => '2023-07-05T05:36:37.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateFileCompressionTask'],
],
'createdAt' => '2023-05-12T08:01:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetTask'],
['description' => 'Request parameters changed', 'api' => 'ListTasks'],
],
'createdAt' => '2023-05-11T10:49:37.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateMediaConvertTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'LiveTranscoding'],
],
'createdAt' => '2023-05-09T03:30:45.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'QueryFigureClusters'],
],
'createdAt' => '2023-04-27T10:07:04.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchUpdateFileMeta'],
['description' => 'Response parameters changed', 'api' => 'IndexFileMeta'],
['description' => 'Request parameters changed', 'api' => 'UpdateFileMeta'],
],
'createdAt' => '2023-04-23T08:06:36.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'GenerateVideoPlaylist'],
],
'createdAt' => '2023-04-04T06:11:06.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateArchiveFileInspectionTask'],
['description' => 'Request parameters changed', 'api' => 'CreateCompressPointCloudTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateDetectVideoLabelsTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFacesSearchingTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFigureClusteringTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClustersMergingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFileCompressionTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFileUncompressionTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateImageModerationTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateImageSplicingTask'],
],
'createdAt' => '2023-04-03T02:35:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateMediaConvertTask'],
],
'createdAt' => '2023-04-03T02:29:54.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchIndexFileMeta'],
['description' => 'Request parameters changed', 'api' => 'IndexFileMeta'],
],
'createdAt' => '2023-03-27T08:54:05.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchIndexFileMeta'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateArchiveFileInspectionTask'],
['description' => 'Request parameters changed', 'api' => 'CreateCompressPointCloudTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFacesSearchingTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFigureClusteringTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClustersMergingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFileCompressionTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFileUncompressionTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateImageModerationTask'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateImageSplicingTask'],
],
'createdAt' => '2023-03-09T10:57:24.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed, Response parameters changed', 'api' => 'UpdateFigureCluster'],
],
'createdAt' => '2023-01-09T05:44:36.000Z',
'description' => '修改UpdateFigureCluster。',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'FuzzyQuery'],
['description' => 'Response parameters changed', 'api' => 'SemanticQuery'],
],
'createdAt' => '2022-12-13T05:33:37.000Z',
'description' => '删除冗余参数',
],
[
'apis' => [
['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateStory'],
],
'createdAt' => '2022-11-15T08:49:17.000Z',
'description' => '支持时空故事',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateFileCompressionTask'],
],
'createdAt' => '2022-10-28T04:04:03.000Z',
'description' => '支持在线解压功能',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'GetVideoPlaylist'],
],
'createdAt' => '2022-10-28T04:03:25.000Z',
'description' => '边转边播 API 更新',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'QueryFigureClusters'],
['description' => 'Response parameters changed', 'api' => 'UpdateFigureCluster'],
],
'createdAt' => '2022-10-28T03:53:20.000Z',
'description' => '增强人脸聚类搜索能力',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateDetectVideoLabelsTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClusteringTask'],
],
'createdAt' => '2022-08-16T06:50:28.000Z',
'description' => 'mns endpoint 自动生成',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BatchIndexFileMeta'],
['description' => 'Request parameters changed', 'api' => 'BatchIndexFileMeta'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClustersMergingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClustersMergingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateImageModerationTask'],
['description' => 'Request parameters changed', 'api' => 'CreateImageModerationTask'],
['description' => 'Request parameters changed', 'api' => 'CreateImageSplicingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateImageSplicingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateMediaConvertTask'],
['description' => 'Request parameters changed', 'api' => 'CreateMediaConvertTask'],
],
'createdAt' => '2022-08-16T06:48:03.000Z',
'description' => 'mns endpoint 自动生成',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'CreateCompressPointCloudTask'],
],
'createdAt' => '2022-08-16T02:32:44.000Z',
'description' => '新增云压缩 api',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateImageSplicingTask'],
],
'createdAt' => '2022-07-20T03:19:28.000Z',
'description' => '- Add more APIs.',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'DetectImageBodies'],
],
'createdAt' => '2022-07-19T02:09:41.000Z',
'description' => 'Add DetectImageBodies API.',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'CreateImageSplicingTask'],
],
'createdAt' => '2022-07-19T02:09:27.000Z',
'description' => 'Add CreateImageSplicingTask API.',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetMediaMeta'],
],
'createdAt' => '2022-07-07T07:26:18.000Z',
'description' => '修复媒体接口相关BUG',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'AddStoryFiles'],
['description' => 'OpenAPI offline', 'api' => 'RemoveStoryFiles'],
['description' => 'Request parameters changed', 'api' => 'UpdateStory'],
],
'createdAt' => '2022-07-07T07:23:48.000Z',
'description' => '新增添加、删除故事文件的接口',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'DetectImageCodes'],
],
'createdAt' => '2022-07-07T06:44:44.000Z',
'description' => '新增二维码检测接口',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'ListRegions'],
],
'createdAt' => '2022-07-07T06:43:31.000Z',
'description' => '新增 ListRegions 接口,返回 IMM 当前可用 Region 列表',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateOfficeConversionTask'],
],
'createdAt' => '2022-05-18T06:33:18.000Z',
'description' => '文档转换新增参数',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateDetectVideoLabelsTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClusteringTask'],
['description' => 'Request parameters changed', 'api' => 'CreateFigureClustersMergingTask'],
['description' => 'Request parameters changed', 'api' => 'CreateStory'],
['description' => 'Response parameters changed', 'api' => 'GetTask'],
['description' => 'Request parameters changed', 'api' => 'ListTasks'],
],
'createdAt' => '2022-04-26T03:38:28.000Z',
'description' => '更新 Task 相关接口',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'CreateOfficeConversionTask'],
],
'createdAt' => '2022-04-26T03:33:48.000Z',
'description' => '支持文档转换 API',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'QueryStories'],
],
'createdAt' => '2022-04-26T03:33:25.000Z',
'description' => '故事支持排序',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'CreateMediaConvertTask'],
['description' => 'OpenAPI offline', 'api' => 'GetMediaMeta'],
],
'createdAt' => '2022-04-26T03:30:43.000Z',
'description' => '支持转码服务',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'DetectImageCropping'],
],
'createdAt' => '2022-04-26T03:29:49.000Z',
'description' => '支持 DetectImageCropping',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'GetWebofficeURL'],
],
'createdAt' => '2022-04-26T03:29:41.000Z',
'description' => 'GetWeboffuceURL 支持缓存预览',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'AttachOSSBucket'],
['description' => 'OpenAPI offline', 'api' => 'DetachOSSBucket'],
['description' => 'OpenAPI offline', 'api' => 'GetOSSBucketAttachment'],
],
'createdAt' => '2022-04-19T03:32:43.000Z',
'description' => '添加oss bucket和imm project绑定接口',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'DetectImageFaces'],
['description' => 'OpenAPI offline', 'api' => 'DetectImageScore'],
],
'createdAt' => '2022-04-13T03:48:24.000Z',
'description' => '添加人脸识别接口、图片质量检测接口',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'SimpleQuery'],
],
'createdAt' => '2022-03-28T12:13:29.000Z',
'description' => '修改返回类型为 Double',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'SimpleQuery'],
],
'createdAt' => '2022-03-17T07:58:18.000Z',
'description' => '- Support WithFields for SimpleQuery.',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'SimpleQuery'],
],
'createdAt' => '2022-01-25T02:56:17.000Z',
'description' => '- Use float instead of string on SimpleQuery',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateStory'],
],
'createdAt' => '2021-12-31T07:39:05.000Z',
'description' => '- 修改故事字段',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'CreateDetectVideoLabelsTask'],
['description' => 'OpenAPI offline', 'api' => 'GetDetectVideoLabelsResult'],
['description' => 'OpenAPI offline', 'api' => 'GetTask'],
['description' => 'OpenAPI offline', 'api' => 'ListTasks'],
],
'createdAt' => '2021-12-23T09:26:05.000Z',
'description' => '- 新增任务 API',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'SemanticQuery'],
],
'createdAt' => '2021-12-23T09:23:31.000Z',
'description' => '- 新增语义搜索 API',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'DetectImageLabels'],
],
'createdAt' => '2021-10-20T13:22:41.000Z',
'description' => 'Support DetectImageLabels API.',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'GetWebofficeURL'],
],
'createdAt' => '2021-10-13T09:51:44.000Z',
'description' => '增加 referer 参数,支持 oss 防盗链',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'BatchDeleteFileMeta'],
['description' => 'OpenAPI offline', 'api' => 'BatchGetFileMeta'],
['description' => 'OpenAPI offline', 'api' => 'BatchIndexFileMeta'],
['description' => 'OpenAPI offline', 'api' => 'BatchUpdateFileMeta'],
['description' => 'OpenAPI offline', 'api' => 'CreateBinding'],
['description' => 'OpenAPI offline', 'api' => 'CreateDataset'],
['description' => 'OpenAPI offline', 'api' => 'CreateProject'],
['description' => 'OpenAPI offline', 'api' => 'DeleteDataset'],
['description' => 'OpenAPI offline', 'api' => 'DeleteFileMeta'],
['description' => 'OpenAPI offline', 'api' => 'DeleteProject'],
],
'createdAt' => '2021-06-15T02:15:24.000Z',
'description' => 'IMM 2.0 API 发布。',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageFaces'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateMediaConvertTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBindings'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SimpleQuery'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteStory'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryStories'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFileCompressionTask'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectTextAnomaly'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLocationDateClusteringTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EncodeBlindWatermark'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryFigureClusters'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateStory'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBatch'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLocationDateCluster'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataset'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDataset'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateWebofficeToken'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendBatch'],
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBinding'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateVideoPlaylist'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchUpdateFileMeta'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateOfficeConversionTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchGetFigureCluster'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBatch'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CompareImageFaces'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrigger'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCropping'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStory'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataset'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveStoryFiles'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCompressPointCloudTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOSSBucketAttachment'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddStoryFiles'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTriggers'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'IndexFileMeta'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomizedStory'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateStory'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFacesSearchingTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFigureClustersMergingTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FuzzyQuery'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectMediaMeta'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchIndexFileMeta'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFileMeta'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageToPDFTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLocationDateCluster'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExtractDocumentText'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFileUncompressionTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFileMeta'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCars'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageModerationTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySimilarImageClusters'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachOSSBucket'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrigger'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageLabels'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFigureCluster'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBatch'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLocationDateClusters'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageFigureCluster'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageCodes'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFigureCluster'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SemanticQuery'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageBodies'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBatch'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDataset'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTrigger'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetVideoLabelClassificationResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeTrigger'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageSplicingTask'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasets'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteBinding'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrigger'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshWebofficeToken'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVideoLabelClassificationTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateBinding'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachOSSBucket'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVideoModerationTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteFileMeta'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchGetFileMeta'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFileMeta'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectImageScore'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDecodeBlindWatermarkTask'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFigureClusteringTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SuspendTrigger'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddImageMosaic'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSimilarImageClusteringTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListBatches'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateArchiveFileInspectionTask'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDecodeBlindWatermarkResult'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumeBatch'],
],
],
'ram' => [
'productCode' => 'IMM',
'productName' => 'Intelligent Media Management',
'ramCodes' => ['imm'],
'ramLevel' => 'RESOURCE',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'UpdateTrigger',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'QuerySimilarImageClusters',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QuerySimilarImageClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetBinding',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DeleteDataset',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'ListBindings',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListBindings',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateImageModerationTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageModerationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateBinding',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetOSSBucketAttachment',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetOSSBucketAttachment',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateArchiveFileInspectionTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateArchiveFileInspectionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ContextualRetrieval',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ContextualRetrieval',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetStory',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateBatch',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'DetectImageLabels',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageLabels',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ExtractDocumentText',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ExtractDocumentText',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'GetTask',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ListDatasets',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListDatasets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/*'],
],
],
],
[
'apiName' => 'DetectImageCropping',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCropping',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'SemanticQuery',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SemanticQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DeleteBinding',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteBinding',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'ListBatches',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListBatches',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'EncodeBlindWatermark',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:EncodeBlindWatermark',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'DeleteStory',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'IndexFileMeta',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:IndexFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DeleteFileMeta',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'FuzzyQuery',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:FuzzyQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DeleteBatch',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'CreateImageSplicingTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageSplicingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'UpdateFigureCluster',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'QueryFigureClusters',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryFigureClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetBatch',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'DeleteTrigger',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'ContextualAnswer',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:ContextualAnswer',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'BatchGetFigureCluster',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:BatchGetFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DetectImageScore',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageScore',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'SuspendTrigger',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:SuspendTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'QueryStories',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryStories',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'BatchGetFileMeta',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:BatchGetFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DetachOSSBucket',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DetachOSSBucket',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenerateVideoPlaylist',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GenerateVideoPlaylist',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'SuspendBatch',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:SuspendBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'DetectImageTexts',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageTexts',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'GetDecodeBlindWatermarkResult',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GetDecodeBlindWatermarkResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProjects',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListProjects',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/*'],
],
],
],
[
'apiName' => 'CreateFileUncompressionTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFileUncompressionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'SearchImageFigureCluster',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SearchImageFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CompareImageFaces',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:CompareImageFaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ResumeBatch',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:ResumeBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'DetectImageCodes',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCodes',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateDataset',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetImageModerationResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetImageModerationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'DetectMediaMeta',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectMediaMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'GetFileMeta',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'AddStoryFiles',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:AddStoryFiles',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateImageToPDFTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateImageToPDFTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'GetFigureCluster',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetFigureCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'BatchUpdateFileMeta',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:BatchUpdateFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'UpdateBatch',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateBatch',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
],
],
],
[
'apiName' => 'QueryLocationDateClusters',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:QueryLocationDateClusters',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'AddImageMosaic',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:AddImageMosaic',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateFacesSearchingTask',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:CreateFacesSearchingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateDecodeBlindWatermarkTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateDecodeBlindWatermarkTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'DeleteLocationDateCluster',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteLocationDateCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetProject',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateOfficeConversionTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateOfficeConversionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateMediaConvertTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateMediaConvertTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'SimpleQuery',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:SimpleQuery',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DetectTextAnomaly',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectTextAnomaly',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateCompressPointCloudTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateCompressPointCloudTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateCustomizedStory',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateCustomizedStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'ResumeTrigger',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:ResumeTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'RemoveStoryFiles',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:RemoveStoryFiles',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DetectImageBodies',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageBodies',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'UpdateProject',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'GetVideoModerationResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetVideoModerationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateVideoModerationTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateVideoModerationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateHighlightTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateHighlightTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ListTasks',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListTasks',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'DetectImageCars',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageCars',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'BatchIndexFileMeta',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:BatchIndexFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DeleteProject',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:DeleteProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateTrigger',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'UpdateStory',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetVideoLabelClassificationResult',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetVideoLabelClassificationResult',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'BatchDeleteFileMeta',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imm:BatchDeleteFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'UpdateDataset',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetDataset',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetDataset',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateProject',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateProject',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateSimilarImageClusteringTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateSimilarImageClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GetTrigger',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'imm:GetTrigger',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'AttachOSSBucket',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:AttachOSSBucket',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateFileCompressionTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFileCompressionTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'UpdateFileMeta',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateFileMeta',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateLocationDateClusteringTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateLocationDateClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'ListAttachedOSSBuckets',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListAttachedOSSBuckets',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateFigureClusteringTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFigureClusteringTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'CreateVideoLabelClassificationTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateVideoLabelClassificationTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'RefreshWebofficeToken',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:RefreshWebofficeToken',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'CreateFigureClustersMergingTask',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateFigureClustersMergingTask',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'GenerateWebofficeToken',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:GenerateWebofficeToken',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
[
'apiName' => 'ListTriggers',
'description' => '',
'operationType' => 'list',
'ramAction' => [
'action' => 'imm:ListTriggers',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
],
],
],
[
'apiName' => 'CreateStory',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'imm:CreateStory',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'UpdateLocationDateCluster',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'imm:UpdateLocationDateCluster',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
],
],
],
[
'apiName' => 'DetectImageFaces',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'imm:DetectImageFaces',
'authLevel' => 'resource',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMM', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
],
],
],
],
'resourceTypes' => [
['validationType' => 'always', 'resourceType' => 'Trigger', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*'],
['validationType' => 'always', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}'],
['validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}'],
['validationType' => 'always', 'resourceType' => 'Batch', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*'],
['validationType' => 'always', 'resourceType' => 'Dataset', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/*'],
['validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:imm:{#regionId}:{#accountId}:project/*'],
],
],
];