tencent cloud

Smart Media Hosting

Query Tenant Space Capacity

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-07 14:45:20

Description

Query tenant space size.

Request

Request Example

GET /api/v1/space/`{LibraryId}`/`{SpaceId}`/size?access_token=`{AccessToken}`&user_id=`{UserId}`

Request Parameter

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 (-). For retrieval, see Create Tenant Space
String
Yes
AccessToken
Access token. For retrieval, see Generate Access Token
String
Yes
UserId
User identity recognition. When the permission corresponding to the access token is admin permission and user identity recognition during token application is empty, it is used to temporarily assign user identity. For details, see Generate Access Token API
String
No

Request Body

This request does not have a request body.

Response

Response code

Successful retrieval, return HTTP 200 OK.

Response Body

{
"size": "1048576"
}
Response body field description:
Node Name (Keyword)
Description
Type
size
Tenant space size in bytes.
String

Error Codes

This request operation has no special error messages. For common error messages, see Error Codes.

도움말 및 지원

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

피드백