File

更新时间:
复制 MD 格式

Parameter

Type

Description

Example

object

The file's metadata.

OwnerId

string

The ID of the Alibaba Cloud account.

102321002467****

ProjectName

string

The project name. For more information, see Create a project.

test-project

DatasetName

string

The dataset name. For more information, see Create a dataset.

test-dataset

ObjectType

string

The type of the object. The value is always file.

file

ObjectId

string

The unique ID of the object.

75d5de2c50754e3dadd5c35dbca5f9949369e37eb342a73821f690c94c36c7f7

UpdateTime

string

The time when the metadata was last updated. The time is in the RFC3339Nano format.

2021-06-29T14:50:13.011643661+08:00

CreateTime

string

The time when the metadata was created. The time is in the RFC3339Nano format.

2021-06-29T14:50:13.011643661+08:00

URI

string

The address of the file.

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.

A PDS URI must be in the pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision} format.

oss://test-bucket/test-object.jpg

OSSURI

string

The URI of the OSS file. This parameter is returned only if the URI is a PDS address.

oss://examplebucket/sampleobject.jpg

Filename

string

The name of the file. For an OSS object, this parameter is the ObjectKey.

sampleobject.jpg

MediaType

string

The media type of the file.

image

ContentType

string

The content type of the file (MIME type).

image/jpeg

Size

integer

The size of the file, in bytes.

1000

FileHash

string

The hash of the file.

1d9c280a7c4f67f7ef873e28449dbe17

FileModifiedTime

string

The time when the file was last modified. The time is in the RFC3339Nano format.

2021-06-29T14:50:13.011643661+08:00

FileCreateTime

string

The time when the file was created. The time is in the RFC3339Nano format.

2021-06-29T14:50:13.011643661+08:00

FileAccessTime

string

The time when the file was last accessed. The time is in the RFC3339Nano format.

2021-06-29T14:50:13.011643661+08:00

ProduceTime

string

The time when the photo was taken.

2021-06-29T14:50:13.011643661+08:00

LatLong

string

The GPS latitude and longitude.

30.134390,120.074997

Timezone

string

The timezone.

Note

This feature is not supported.

""

Addresses

array

The address information.

Address

The address information.

TravelClusterId

string

A reserved parameter.

Note

This feature is not supported.

-

Orientation

integer

The rotation value of the image, read from its EXIF data.

This parameter is returned only if this value is available in the EXIF data.

0

Figures

array

A list of figures detected by the AI model.

Figure

The information about the figure.

FigureCount

integer

The number of figures.

10

Labels

array

A list of AI-detected labels for the file.

Label

The information about the file label.

Title

string

The title of the file.

test

ImageWidth

integer

The width of the image, in pixels (px).

270

ImageHeight

integer

The height of the image, in pixels (px).

500

EXIF

string

The original EXIF information of the image, stored as a serialized JSON object. For more information, see Obtain image information.

{"Compression":{"value":"6"},"DateTime":{"value":"2020:08:19 17:11:11"}}

ImageScore ImageScore

The image score information, detected by an AI model.

CroppingSuggestions

array

The cropping suggestions for the image.

Note

This feature is not supported.

CroppingSuggestion

A cropping suggestion for the image.

OCRContents

array

The OCR results.

Note

This feature is not supported.

OCRContents

The OCR results.

VideoWidth

integer

The width of the video, in pixels (px).

1080

VideoHeight

integer

The height of the video, in pixels (px).

1920

VideoStreams

array

A list of video streams.

VideoStream

A video stream.

Subtitles

array

A list of subtitle streams.

SubtitleStream

A subtitle stream.

AudioStreams

array

A list of audio streams.

AudioStream

An audio stream.

Artist

string

The artist.

Jane

AlbumArtist

string

The album artist.

Jane

AudioCovers

array

The cover images for the audio.

Image

A cover image for the audio.

Composer

string

The composer.

Jane

Performer

string

The performer.

Jane

Language

string

The language in BCP 47 format.

eng

Album

string

The album.

FirstAlbum

PageCount

integer

The number of pages.

Note

This feature is not supported.

5

ETag

string

An ETag is generated when an object is created. The ETag identifies the content of an object.

"1D9C280A7C4F67F7EF873E28449****"

CacheControl

string

The web cache behavior that the browser should use when the object is downloaded.

This parameter is returned only if the Cache-Control HTTP header is set for the OSS object. For more information, see Manage object metadata.

no-cache

ContentDisposition

string

The name of the object when it is downloaded.

This parameter is returned only if the Content-Disposition HTTP header is set for the OSS object. For more information, see Manage object metadata.

attachment; filename =test.jpg

ContentEncoding

string

The content encoding format of the object when it is downloaded.

This parameter is returned only if the Content-Encoding HTTP header is set for the OSS object. For more information, see Manage object metadata.

UTF-8

ContentLanguage

string

The language of the object content.

This parameter is returned only if the Content-Language HTTP header is set for the OSS object. For more information, see Manage object metadata.

zh-CN

AccessControlAllowOrigin

string

The allowed origins for cross-origin requests.

https://aliyundoc.com

AccessControlRequestMethod

string

The allowed methods for the cross-origin request.

PUT

ServerSideEncryptionCustomerAlgorithm

string

The encryption algorithm used for server-side encryption with customer-provided keys.

SM4

ServerSideEncryption

string

The server-side encryption method.

This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see Server-side encryption.

AES256

ServerSideDataEncryption

string

The encryption algorithm of the object.

This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see Server-side encryption.

SM4

ServerSideEncryptionKeyId

string

The ID of the customer master key (CMK) that is managed by KMS.

This parameter is returned only if server-side encryption is enabled for the bucket. For more information, see Server-side encryption.

9468da86-3509-4f8d-a61e-6eab1eac****

OSSStorageClass

string

The storage class of the OSS object.

Standard

OSSCRC64

string

The CRC-64 value of the object.

559890638950338001

ObjectACL

string

The access control list (ACL) of the OSS object.

default

ContentMd5

string

The MD5 hash of the object content.

HZwoCnxPZ/fvhz4oRJ2+Fw==

OSSUserMeta

object

The user-defined metadata of the OSS object.

This parameter is returned only if user-defined metadata is set for the OSS object. For more information, see Manage object metadata.

{"key": "val"}

OSSTaggingCount

integer

The number of tags on the OSS object.

This parameter is returned only if tags are set for the OSS object. For more information, see Object tagging.

2

OSSTagging

object

The tags of the OSS object.

For more information, see Object tagging.

{"key": "val"}

OSSExpiration

string

The expiration time of the OSS object.

This parameter is returned only if the Expires HTTP header is set for the OSS object. For more information, see Manage object metadata.

2120-01-01T12:00:00.000Z

OSSVersionId

string

The version ID of the OSS object.

This parameter is returned only if versioning is enabled for the bucket. For more information, see Overview of versioning.

CAEQNhiBgMDJgZCA0BYiIDc4MGZjZGI2OTBjOTRmNTE5NmU5NmFhZjhjYmY0****

OSSDeleteMarker

string

The OSS delete marker.

CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****

OSSObjectType

string

The type of the OSS object. A common value is Normal.

Normal

CustomId

string

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.

member-image-id-0001

CustomLabels

object

Custom key-value labels for the file. This parameter is optional and can be used to store business-specific data and to filter queries.

{ "MemberName": "Tim", "Enabled": "True", "ItemCount": "10" }

StreamCount

integer

The number of media streams in the media container.

1

ProgramCount

integer

The number of programs in the media container.

1

FormatName

string

The name of the media format.

mov

FormatLongName

string

The full name of the media format.

QuickTime / MOV

StartTime

number

The start time of the first frame, in seconds.

0.000000

Bitrate

integer

The bitrate, in bit/s.

13091201

Duration

number

The total duration of the video, in seconds.

15.263000

SemanticTypes

array

Indicates why this file was returned when you use the SemanticQuery API to perform a semantic search.

string

The reason the current file is returned when you use the SemanticQuery API to perform a semantic search.

Valid values:

  • content: The semantic meaning of the document's content or image matches the search query.

  • text: The text string in the document or the text in the image matches the search query.

  • datetime: The creation time of the file matches the search query.

  • address: The creation location of the file matches the search query.

  • figure: The name of a figure in the file matches the search query.
    Important More values may be added as the algorithm evolves.

content

Elements

array

A list of document fragments that match the current search content when you use the SemanticQuery API to perform a semantic search.

Element

The information about the document fragment that matches the current search content.

SceneElements

array

A list of scene elements extracted from the video by the AI model during analysis.

SceneElement

The information about the scene element.

OCRTexts

string

The text detected in the image.

阿里云IMM

Reason

string

The reason the file failed to be indexed.

[InternalError] The request has been failed due to some unknown error. status: 500, requestId: CC5ACFBD-BB7A-496D-A9D6-****

ObjectStatus

string

File index status.

Indexed

Insights

Insights

Summary and description of the file.

Note

Currently not supported