Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
GET /api/v1/inode/`{LibraryId}`/`{SpaceId}`/`{INode}`?access_token=`{AccessToken}`
Request parameters. | Description | Type | Required or Not |
LibraryId | Media Library ID, obtain it 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. For retrieval, see create tenant space. | String | No |
INode | file ID. For retrieval, see view file details | String | Yes |
AccessToken | Access token. For Public Read Media Library or tenant space, this parameter is not specified. Otherwise, you must specify this parameter. For retrieval, see generate access token | String | No |
{"path": [ "folderA", "1.jpg" ],"name": "1.jpg","type": "file","creationTime": "2020-09-22T07:44:45.000Z","modificationTime": "2020-09-22T07:44:45.000Z","contentType": "image/png","size": "1048576","crc64": "123"}
Response Parameters | Description | Type |
path | File directory path | String Array |
name | Directory Name | String |
type | Directory Type: dir: directory or album;file: file, only used for file type media library | String |
creationTime | Directory creation time | String |
modificationTime | The time when the file was last overwritten, or the last time a subdirectory or file was added or removed in the directory | String |
contentType | Media type (returned only for non-directory or non-album) | String |
crc64 | The CRC64-ECMA182 check value of the file, in string format to avoid precision issues (returned only for non-directory or non-album) | String |
size | File directory size (returned only for non-directory or non-album) | String |
フィードバック