tencent cloud

Smart Media Hosting

Retrieve Directory Information

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-07 10:49:09

Introduction

This document provides an API overview and SDK sample code for viewing directories or albums.
API
Operation Description
View directories or albums

SDK API Reference

For specific parameters and method descriptions of all SDK APIs, please see SDK API Reference.

Viewing Directory or Album

Feature Overview

View directory or album info.

Example Code

QCloudSMHGetFileInfoRequest *req = [QCloudSMHGetFileInfoRequest new];
// 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.
req.spaceId = scopeDir.teamInfo.spaceId;
// Organization ID of the space, defaults to the current organization ID
req.spaceOrgId = @"spaceOrgId";
// Organization ID
req.organizationId = @"organizationId";
// User token
req.userToken = @"userToken";
[req setFinishBlock:^(QCloudSMHContentInfo *_Nonnull result, NSError *_Nullable error) {

}];
[[QCloudSMHUserService defaultSMHUserService] getFileInfo:req];


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백