Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
HEAD /api/v1/file/`{LibraryId}`/`{SpaceId}`/`{FilePath}`?access_token=`{AccessToken}`&history_id=`{HistoryId}`&user_id=`{UserId}`
Request parameters. | Description | Type | Required or Not |
LibraryId | Media Library ID, obtained after creating a media library in the media hosting console, see create media library | String | Yes |
SpaceId | Space ID. If the media library is in single-tenant mode, this parameter is fixed as hyphen (`-`); if the media library is in multi-tenant mode, you must specify this parameter. See create tenant space for retrieval. | String | No |
HistoryId | Historical version ID, used to obtain file content of different versions. If not specified, it defaults to the latest version. See view historical versions list for retrieval. | String | No |
FilePath | String | Yes | |
AccessToken | Access token. For Public Read Media Library or tenant space, this parameter is not specified. Otherwise, you must specify this parameter. See generate access token for retrieval. | String | No |
UserId | User identity recognition. When the access token has administrator permissions and the user identity recognition during token application is empty, it is used to temporarily assign a user identity. For details, see Generate Access Token API. | String | No |
Response Parameters | Description | Type |
x-smh-type | File type | String |
x-smh-creation-time | The time when the file upload is complete | String |
x-smh-content-type | media type | String |
x-smh-size | File size. | String |
x-smh-etag | file eTag | String |
x-smh-crc64 | The CRC64-ECMA182 check value of the file is in string format here to avoid digit precision issues. | String |
x-smh-meta-* | custom metadata | String |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan