Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
GET /api/v1/file/`{LibraryId}`/`{SpaceId}`/`{FilePath}`?preview&size=`{Size}`&scale=`{Scale}`&width_size=`{WidthSize}`&height_size=`{HeightSize}`&frame_number=`{FrameNumber}`&access_token=`{AccessToken}`&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 a hyphen (`-`). If the media library is in multi-tenant mode, you must specify this parameter. See Create Tenant Space | String | No |
FilePath | String | Yes | |
Size | Scale size | String | No |
Scale | Scale proportionally by percentage. This parameter is valid only when Size is not specified. | Int | No |
WidthSize | Scale the width. If height is not specified, it will be proportionally scaled. This parameter is valid only when Size and Scale are not specified. | Int | No |
HeightSize | Scale the height. If width is not specified, it will be proportionally scaled. This parameter is valid only when Size and Scale are not specified. | Int | No |
FrameNumber | Number of frames Frame processing for GIFs | Int | No |
AccessToken | Access token. For Public Read Media Library or tenant space, this parameter is not specified, otherwise you must specify this parameter. Please see Generate Access Token | String | No |
UserId | User identity recognition. When the access token has admin privileges and the user identity recognition during token application is empty, it is used to temporarily specify user identity. For details, see Generate Access Token API. | String | No |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan