| 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 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. The OSS URI must be in the oss://${Bucket}/${Object} format. The URI of a file in Photo and Drive Service must be in the Note
URIs that start with HTTP are not supported.
| oss://examplebucket/sampleobject.jpg |
| CustomId | string | 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. 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. The parameter stores custom key-value labels, which can be used to filter data. 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 parameter specifies a file in Photo and Drive Service. | 1d9c280a7c4f67f7ef873e28449dbe17 |
| OSSURI | string | 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. | oss://test-bucket/test-object.jpg |
| MediaType | string | In most cases, you can leave this parameter empty. The media type of the file. Enumerated values:
| image |
| ContentType | string | In most cases, you can leave this parameter empty. The Multipurpose Internet Mail Extensions (MIME) type of the file. | image/jpeg |
| Figures | array<object> | 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. Note
This parameter takes effect only for the UpdateFileMeta or BatchUpdateFileMeta operation.
| |
| Figures | object | The object that stores the person information. | |
| FigureId | string | The person ID. | 2cb3c51e-b406-4b0c-af1b-897d88e1**** |
| FigureClusterId | string | The ID of the face cluster. The following IDs of special face clusters 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 album artist. | Jane |
| Composer | string | The composer. | Jane |
| Performer | string | The performer. | Jane |
| Album | string | The album. | FirstAlbum |
| Labels | array | The intelligent labels. | |
| Labels | Label | The object that stores information about the intelligent label. | |
| Addresses | array | The addresses. | |
| Addresses | Address | The address information. |