Parameter | Type | Description | Example |
---|---|---|---|
object | The file that is used to create or update indexes. For information about how to create indexes, see IndexFileMeta . For information about how to update indexes, see UpdateFileMeta . | ||
URI | string | The URI of the file in which you want to create or update an index in the request. This parameter is required. URIs of the Object Storage Service (OSS) and Photo and Drive Service (PDS) types are supported. The OSS path must be in the oss://${Bucket}/${Object} format. The PDS path must be in the Note
Paths that start with HTTP are not supported.
| oss://examplebucket/sampleobject.jpg |
CustomId | string | The custom ID of the file. This parameter is optional. After you create an index for a file and add the index to a dataset, the index is stored as a part of metadata and is used to associate the dataset with 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. This parameter supports prefix searches and sorting during queries. For more information, see Supported fields and operators. | member-image-id-0001 |
CustomLabels | object | The custom labels of the file. This parameter is optional. A custom label stores custom key names and key-value pairs that you can use to search for specific information during queries. For more information, see Supported fields and operators. | { "MemberName": "Tim", "Enabled": "True", "ItemCount": "10" } |
FileHash | string | The file hash. In most cases, you can leave this parameter empty. This parameter is required only when the URI is a PDS path. | 1d9c280a7c4f67f7ef873e28449dbe17 |
OSSURI | string | The path of the OSS file. In most cases, you can leave this parameter empty. This parameter is required only when the URI is a PDS path. | oss://test-bucket/test-object.jpg |
MediaType | string | The media type of the file. In most cases, you can leave this parameter empty. Valid values:
| image |
ContentType | string | The content type of the file, that is, the Multipurpose Internet Mail Extensions (MIME) type. In most cases, you can leave this parameter empty. | image/jpeg |
Figures | array<object> | The figures that you want to update. This parameter is optional. This parameter is used to remove a face from a face group or modify a face group. For more information, see Face clustering. Note
This parameter takes effect only for the UpdateFileMeta or BatchUpdateFileMeta operation.
| |
Figures | object | The figure. | |
FigureId | string | The figure ID. | 2cb3c51e-b406-4b0c-af1b-897d88e1**** |
FigureClusterId | string | The ID of the face clustering task. The following IDs of special face clustering tasks are reserved:
| Cluster-dbe72fec-b84c-4ab6-885b-3678e64**** |
FigureType | string | The figure type. Set this parameter to | face |
LatLong | string | The GPS latitude and longitude information. | 30.134390,120.074997 |
ProduceTime | string | The time when the image was taken. | 2021-06-29T14:50:13.011643661+08:00 |
Title | string | The file title. | test |
Artist | string | The artist. | Jane |
AlbumArtist | string | The singer. | Jane |
Composer | string | The composer. | Jane |
Performer | string | The player. | Jane |
Album | string | The album. | FirstAlbum |
Labels | array | The intelligent labels. | |
Labels | Label | The intelligent label. | |
Addresses | array | The addresses. | |
Addresses | Address | The address. |