tencent cloud

Smart Media Hosting

Retrieve Directory Information

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 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];


Ajuda e Suporte

Esta página foi útil?

comentários